Class UploadOperation
Upload a file to the repository's temporary folder.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
- ICanBoogie\Operation
- Icybee\Modules\Files\UploadOperation
Direct known subclasses
Located at vendor/icanboogie-modules/files/lib/operations/upload.php
Methods summary
protected
|
|
protected
array
|
|
public
Operation\Response
|
#
__invoke(
Handles the operation and prints or returns its result. |
protected
boolean
|
|
protected
mixed
|
Methods inherited from ICanBoogie\Operation
__construct()
,
control()
,
control_authentication()
,
control_form()
,
control_method()
,
control_ownership()
,
control_permission()
,
control_record()
,
control_session_token()
,
encode()
,
format_class_name()
,
from()
,
from_module_request()
,
from_request()
,
from_route()
,
get_is_forwarded()
,
get_module()
,
get_request()
,
get_response()
,
lazy_get_form()
,
lazy_get_properties()
,
lazy_get_record()
,
reset()
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
Constants inherited from ICanBoogie\Operation
CONTROL_AUTHENTICATION
,
CONTROL_FORM
,
CONTROL_METHOD
,
CONTROL_OWNERSHIP
,
CONTROL_PERMISSION
,
CONTROL_RECORD
,
CONTROL_SESSION_TOKEN
,
DESTINATION
,
KEY
,
NAME
,
RESTFUL_BASE
,
RESTFUL_BASE_LENGTH
,
SESSION_TOKEN
Properties summary
protected
|
$file |
#
The target file of the operation. |
protected
array
|
$accept |
#
Accepted file types. |
Properties inherited from ICanBoogie\Operation
$destination
,
$form
,
$format
,
$key
,
$method
,
$module
,
$properties
,
$request
,
$response
Magic properties
public read-only
|
$file |
|
#
The uploaded file. |
Magic properties inherited from ICanBoogie\Operation
$is_forwarded
,
$record
,
$request