$request
$request : null|\FAA\Obj\Request
$request : null|\FAA\Obj\Request
$endpoint : \FAA\Obj\Endpoint|null
$response : \FAA\Obj\Response|null
Endpoint(\FAA\Obj\Endpoint $endpoint = null) : \FAA\Obj\Endpoint
Get/Set endpoint
Sets or gets the widget arguments, they contain the endpoint this widget was called at
\FAA\Obj\Endpoint | $endpoint | A system request list |
A system endpoint object
Request(\FAA\Obj\Request $request = null) : \FAA\Obj\Request
The request Sets or gets the widget request object
\FAA\Obj\Request | $request | A system request object |
A system request object
Response() : \FAA\Obj\Response
Response object Gets the widget response
A system response object
ConfigGetRaw(string $name) : \FAA\Obj\Result
Get configuration data as object from setup handler
string | $name | The name of the config file |
handleSubViewList(array $payload)
Handle the list/object loading for sub view of contents
array | $payload | The request payload parent_type string Name of the parent type to manage inside parent string/int The id of the parent content attr string The attribute name to manage type string Type of the content to assign elements array List of elements when type is __multi content int Id when a direct content edit is performed (e.g. in child contents) |
UpdateEntity(string $type, integer $epIndex, boolean $return = false)
Update a single content
Implements the update handler for single contents identified by rest end point argument Does return the values when config option says so
string | $type | The requested content type |
integer | $epIndex | Parse this parameter as id |
boolean | $return |
loadSingleEntity(string $type, integer $epIndex, string $language = null)
load a single content implements the loader for single contents identified by rest end point argument
string | $type | The requested content type |
integer | $epIndex | Parse this parameter as id |
string | $language | Language code to fetch element in |
None found |
loadEntityFormPreset(string $type)
load form preset implements the form preset loader for a certain content type
string | $type | The requested content type |
None found |
fetchEntityListFiltered(string $type)
Fetch filtered list
Implements the server side data tables processing functions Supports freetext search, paging and ordering at the moment
string | $type | The requested content type |
None found |
fetchEntityList(string $type, boolean $raw = false)
Fetch list of entries Use the direct loader method to retrieve a list obf objects
string | $type | Fetch list of elements |
boolean | $raw | Return as raw object and not plain |
None found |
fetchObject(string|integer $id, string $type, string $right = 'view') : \FAA\Obj\Generic\BaseContent|boolean|null
Get a object from storage Load a single content from storage as instance
string|integer | $id | A object id |
string | $type | A object type |
string | $right | A access level to test against |
A base content or null when not found or false when not access
None found |
testChainOfTrust(array $args, integer $offset = 3) : boolean
Test chain Check if the upstream call is valid and the user has access to this node
array | $args | The request url |
integer | $offset | The first component to check |
Chain of trust valid?
None found |