Class Operation
An operation.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
- ICanBoogie\Operation
Direct known subclasses
ICanBoogie\DeleteOperation
,
ICanBoogie\Modules\Thumbnailer\GetOperation
,
Icybee\Modules\Contents\HomeIncludeOperation
,
Icybee\Modules\Dashboard\OrderOperation
,
Icybee\Modules\Editor\ChangeOperation
,
Icybee\Modules\Editor\TabbableNewPaneOperation
,
Icybee\Modules\Files\GetOperation
,
Icybee\Modules\Files\UploadOperation
,
Icybee\Modules\Forms\DefaultsOperation
,
Icybee\Modules\Forms\PostOperation
,
Icybee\Modules\Modules\ActivateOperation
,
Icybee\Modules\Modules\DeactivateOperation
,
ICanBoogie\PingOperation
,
Icybee\Modules\Nodes\ExportOperation
,
Icybee\Modules\Nodes\ImportOperation
,
Icybee\Modules\Nodes\OfflineOperation
,
Icybee\Modules\Nodes\OnlineOperation
,
Icybee\Modules\Pages\CopyOperation
,
Icybee\Modules\Pages\NavigationIncludeOperation
,
Icybee\Modules\Pages\TemplateEditorsOperation
,
Icybee\Modules\Pages\UpdateTreeOperation
,
Icybee\Modules\Sites\StatusOperation
,
Icybee\Modules\Taxonomy\Vocabulary\OrderOperation
,
ICanBoogie\SaveOperation
,
Icybee\Modules\Users\ActivateOperation
,
Icybee\Modules\Users\IsUniqueOperation
,
Icybee\Modules\Users\LoginOperation
,
Icybee\Modules\Users\LogoutOperation
,
Icybee\Modules\Users\NonceLogin\NonceLoginOperation
,
Icybee\Modules\Users\NonceLogin\NonceLoginRequestOperation
,
Icybee\Modules\Users\Roles\PermissionsOperation
,
Icybee\Modules\Users\UnlockLoginOperation
,
Icybee\Operation\ActiveRecord\Lock
,
Icybee\Operation\ActiveRecord\Unlock
,
Icybee\ConfigOperation
,
Icybee\Operation\Module\Blocks
,
Icybee\Operation\Module\QueryOperation
,
Icybee\Operation\Widget\Get
,
Icybee\Installer\InstallOperation
,
Icybee\Installer\Operation
,
Icybee\Modules\Cache\BaseOperation
,
Icybee\Modules\Comments\PatchOperation
,
Icybee\Modules\Comments\PreviewOperation
Indirect known subclasses
Icybee\Installer\DatabaseOperation
,
Icybee\Installer\RequirementsOperation
,
Icybee\Modules\Comments\ConfigOperation
,
Icybee\Modules\Comments\DeleteOperation
,
Icybee\Modules\Comments\SaveOperation
,
Icybee\Modules\Contents\ConfigOperation
,
Icybee\Modules\Contents\HomeExcludeOperation
,
Icybee\Modules\Contents\SaveOperation
,
Icybee\Modules\Files\ConfigOperation
,
Icybee\Modules\Files\DeleteOperation
,
Icybee\Modules\Files\DownloadOperation
,
Icybee\Modules\Files\SaveOperation
,
Icybee\Installer\SiteOperation
,
Icybee\Modules\Images\SaveOperation
,
Icybee\Modules\Images\ThumbnailOperation
,
Icybee\Modules\Images\UploadOperation
,
Icybee\Modules\Members\DeleteOperation
,
Icybee\Modules\Members\SaveOperation
,
Icybee\Modules\Nodes\ConfigOperation
,
Icybee\Modules\Nodes\DeleteOperation
,
Icybee\Modules\Nodes\QueryOperationOperation
,
Icybee\Modules\Nodes\SaveOperation
,
Icybee\Modules\Pages\DeleteOperation
,
Icybee\Installer\UserOperation
,
Icybee\Modules\Pages\ExportOperation
,
Icybee\Modules\Pages\ImportOperation
,
Icybee\Modules\Pages\NavigationExcludeOperation
,
Icybee\Modules\Pages\QueryOperationOperation
,
Icybee\Modules\Pages\SaveOperation
,
Icybee\Modules\Search\ConfigOperation
,
Icybee\Modules\Sites\DeleteOperation
,
Icybee\Modules\Sites\SaveOperation
,
Icybee\Modules\Taxonomy\Terms\DeleteOperation
,
Icybee\Modules\Taxonomy\Terms\SaveOperation
,
Icybee\Modules\Cache\ClearOperation
,
Icybee\Modules\Taxonomy\Vocabulary\DeleteOperation
,
Icybee\Modules\Taxonomy\Vocabulary\SaveOperation
,
Icybee\Modules\Users\ConfigOperation
,
Icybee\Modules\Users\DeactivateOperation
,
Icybee\Modules\Users\DeleteOperation
,
Icybee\Modules\Users\QueryOperationOperation
,
Icybee\Modules\Users\Roles\DeleteOperation
,
Icybee\Modules\Users\Roles\SaveOperation
,
Icybee\Modules\Users\SaveOperation
,
Icybee\Operation\Constructor\Save
,
Icybee\Modules\Cache\ConfigOperation
,
Icybee\Modules\Cache\DisableOperation
,
Icybee\Modules\Cache\EditorOperation
,
Icybee\Modules\Cache\EnableOperation
,
Icybee\Modules\Cache\StatOperation
Methods summary
public static
|
#
from( array $properties = null, array $construct_args = array(), string|null $class_name = null )
Creates a |
protected static
|
|
protected static
|
#
from_route(
Tries to create an |
protected static
|
#
from_module_request(
Creates an |
public static
string
|
|
public static
string
|
#
format_class_name( string $namespace, string $operation_name )
Formats the specified namespace and operation name into an operation class. |
protected
|
|
protected
array
|
|
protected
|
|
protected
|
|
protected
object|null
|
|
protected
array
|
|
protected
|
|
protected
boolean
|
|
public
|
|
public
|
#
__invoke(
Handles the operation and prints or returns its result. |
protected
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
|
|
protected
boolean
|
|
abstract protected
boolean
|
|
abstract protected
mixed
|
Methods inherited from ICanBoogie\Object
resolve_facade_properties()
,
resolve_private_properties()
,
to_array()
,
to_json()
Methods inherited from ICanBoogie\ToArrayRecursive
Methods used from ICanBoogie\ToArrayRecursiveTrait
Methods used from ICanBoogie\PrototypeTrait
__call()
,
__get()
,
__set()
,
__sleep()
,
__wakeup()
,
get_prototype()
,
has_method()
,
has_property()
,
last_chance_get()
,
last_chance_set()
Magic methods summary
Constants summary
string |
DESTINATION
|
'_operation_destination' |
#
Defines the destination of a forwarded operation. |
string |
NAME
|
'_operation_name' |
#
Defines the operation name of a forwarded operation. |
string |
KEY
|
'_operation_key' |
#
Defines the key of the resource targeted by the operation. |
string |
SESSION_TOKEN
|
'_session_token' |
#
Defines the session token to be matched. |
string |
RESTFUL_BASE
|
'/api/' |
|
integer |
RESTFUL_BASE_LENGTH
|
5 |
|
integer |
CONTROL_METHOD
|
101 |
|
integer |
CONTROL_SESSION_TOKEN
|
102 |
|
integer |
CONTROL_AUTHENTICATION
|
103 |
|
integer |
CONTROL_PERMISSION
|
104 |
|
integer |
CONTROL_RECORD
|
105 |
|
integer |
CONTROL_OWNERSHIP
|
106 |
|
integer |
CONTROL_FORM
|
107 |
Properties summary
public
mixed
|
$key | |
public
mixed
|
$destination | |
protected
|
$request |
#
The request triggering the operation. |
public
mixed
|
$response | |
public
mixed
|
$method | |
protected
object
|
$form |
#
The form object of the operation. |
protected
array
|
$properties |
#
The properties for the operation. |
protected
string
|
$format |
#
Output format of the operation response. |
protected
|
$module |
#
Target module for the operation. |
Magic properties
public
|
$record |
|
#
The target active record object of the operation. |
public read-only
|
$request |
|
#
The request. |
public read-only
boolean
|
$is_forwarded |
|
#
|