Property | Type | Description | |
---|---|---|---|
$_excludeFromExport | |||
$addEntryPoint | string | null | The path of the entry point that acts as a add window. Important for select fields, that allows the user to jump directly to the crud list/edit/add. | |
$apiControllerDefinition | string | This is used in the bundle editor and makes it very easy to modify the behavior of all REST endpoint of an object endpoint (e.g. jarves/object/jarves/node/) Example: @JarvesBundle/Resources/config/crud/node.yml | |
$apiControllerService | string | This service builds basically only the REST APIs, all action methods around ObjectCrud. class jarves.crud.controller.object (Jarves\Controller\ObjectCrudController) >extends jarves.crud.object_crud (Jarves\Admin\ObjectCrud Schema (default): REST -> apiControllerService -> storageService (propel) | |
$attributes | |||
$autoCrud | boolean | If you disable this and have custom entry points defined, you should adjust 'editEntrypoint', 'addEntrypoint', 'listEntryPoint' pointing to your custom entry point, so the system knows what entry point to open when someone wants to edit/add/list you object items. | |
$blacklistSelection | string | Comma separated list of fields which are blacklisted and therefore not selectable through the object API. | |
$browserColumns | |||
$browserInterface | default|custom | ||
$browserInterfaceClass | The javascript class/function to be used as the user interface for object browsing/listing. | ||
$browserOptions | |||
$bundle | |||
$crossRef | boolean | ||
$crudService | string | This service handles a bit more than the pure storageService. For example: ACL, automatic filtering (per language) and event dispatcher. It needs to extend ObjectCrud. Schema (default): Jarves\Objects -> crudService (ObjectCrud) -> storageService (propel) The information stored in this object is also used by apiControllerService and extracts its propertyies to the crud framework in the administration interface. | |
$defaultSelection | string | Comma separated list of fields which are selected per default. | |
$desc | string | ||
$domainDepended | boolean | ||
$editEntryPoint | string | null | The path of the entry point that acts as a edit window. Important for select fields, that allows the user to jump directly to the crud list/edit/add. | |
$excludeFromREST | boolean | When false: you can only manage and see objects of this type using a custom rest api. Note: When disabled crud windows won't work. If you want to adjust the REST API behavior of this object, you should overwrite the 'apiControllerService' property instead. | |
$fieldTemplate | string | ||
$fields | |||
$id | string | The id of the object. | |
$label | string | A label of the object. | |
$labelField | string | Which field (the value of it) shall be used as default label for the object. | |
$labelTemplate | string | ||
$limitDataSets | array | ||
$listEntryPoint | string | null | The path of the entry point that acts as a listing window. Important for select fields, that allows the user to jump directly to the crud list/edit/add. | |
$multiLanguage | boolean | Whether we handle multi languages or not. | |
$nested | boolean | If the object is nested. | |
$nestedRootAsObject | boolean | ||
$nestedRootObject | string | ||
$nestedRootObjectExtraFields | string | ||
$nestedRootObjectField | string | ||
$nestedRootObjectLabelField | string | ||
$publicUrlGenerator | string | example: \MyBundle\ControllerXy::getPublicUrl The function should have this signature: `function($objectKey, array $pk, array $pluginProperties ) | |
$searchable | boolean | Whether this object can be searched in the administration search. | |
$singleItemLabelField | string | (jarves.Field instance) | |
$singleItemSelection | string | array | Extra fields to select for single item. | |
$storageService | string | Schema (default): Jarves\Objects -> crudService (ObjectCrud) -> storageService (propel) Note: the service needs to have shared: false. | |
$table | string | ||
$treeDefaultIcon | string | ||
$treeFields | string | Which fields are selected per default in the nested rest. | |
$treeFixedIcon | boolean | ||
$treeIcon | string | ||
$treeIconMapping | |||
$treeInterface | default|custom | ||
$treeInterfaceClass | string | Javascript class/function for the tree user interface. | |
$treeLabel | string | Which field shall be used as default label for the nested set object. | |
$treeRootFieldFields | string | Comma separated list of field which shall be selected per default in the rest api. | |
$treeRootFieldLabel | string | Which field shall be used as label for the nested root. | |
$treeRootFieldTemplate | string | ||
$treeRootObjectFixedIcon | boolean | ||
$treeRootObjectIconPath | string | ||
$treeTemplate | string | ||
$workspace | boolean | Whether we handle workspaces or not. |
public addRelation ( Jarves\Admin\FieldTypes\RelationDefinitionInterface $relation ) | ||
$relation | Jarves\Admin\FieldTypes\RelationDefinitionInterface |
public bootRunTime ( |
||
$configs |
public getApiControllerDefinition ( ) : string | ||
return | string |
public getFields ( ) : |
||
return | underscored fieldNames as index |
public getFieldsArray ( ) : array | ||
return | array | camelCased fieldNames as index |
public getLabelField ( ) : string | ||
return | string |
public getNestedRootObjectExtraFields ( ) : string | ||
return | string |
public getNestedRootObjectLabelField ( ) : string | ||
return | string |
public getRelation ( $name ) : Jarves\Admin\FieldTypes\RelationDefinitionInterface | ||
$name | ||
return | Jarves\Admin\FieldTypes\RelationDefinitionInterface |
public getRelations ( ) : Jarves\Admin\FieldTypes\RelationDefinitionInterface[] | ||
return | Jarves\Admin\FieldTypes\RelationDefinitionInterface[] |
public getSingleItemSelection ( ) : array | string | ||
return | array | string |
public getTreeIconMapping ( ) : |
||
return |
public getTreeRootObjectFixedIcon ( ) : boolean | ||
return | boolean |
public getTreeRootObjectIconPath ( ) : string | ||
return | string |
public setAddEntryPoint ( null | string $addEntryPoint ) | ||
$addEntryPoint | null | string |
public setApiControllerDefinition ( string $apiControllerDefinition ) | ||
$apiControllerDefinition | string |
public setApiControllerService ( string $apiControllerService ) | ||
$apiControllerService | string |
public setBlacklistSelection ( string $blacklistSelection ) | ||
$blacklistSelection | string |
public setBrowserInterface ( string $browserInterface ) | ||
$browserInterface | string |
public setBrowserInterfaceClass ( $browserInterfaceClass ) | ||
$browserInterfaceClass |
public setBrowserOptions ( array $browserOptions = null ) | ||
$browserOptions | array |
public setDefaultSelection ( string $defaultSelection ) | ||
$defaultSelection | string |
public setDomainDepended ( boolean $domainDepended ) | ||
$domainDepended | boolean |
public setEditEntryPoint ( null | string $editEntryPoint ) | ||
$editEntryPoint | null | string |
public setExcludeFromREST ( boolean $excludeFromREST ) | ||
$excludeFromREST | boolean |
public setFieldTemplate ( string $fieldTemplate ) | ||
$fieldTemplate | string |
public setLabelTemplate ( string $labelTemplate ) | ||
$labelTemplate | string |
public setLimitDataSets ( |
||
$limitDataSets |
public setListEntryPoint ( null | string $listEntryPoint ) | ||
$listEntryPoint | null | string |
public setMultiLanguage ( boolean $multiLanguage ) | ||
$multiLanguage | boolean |
public setNestedRootAsObject ( boolean $nestedRootAsObject ) | ||
$nestedRootAsObject | boolean |
public setNestedRootObject ( string $nestedRootObject ) | ||
$nestedRootObject | string |
public setNestedRootObjectExtraFields ( string $nestedRootObjectExtraFields ) | ||
$nestedRootObjectExtraFields | string |
public setNestedRootObjectField ( string $nestedRootObjectField ) | ||
$nestedRootObjectField | string |
public setNestedRootObjectLabelField ( string $nestedRootObjectLabelField ) | ||
$nestedRootObjectLabelField | string |
public setPublicUrlGenerator ( string $publicUrlGenerator ) | ||
$publicUrlGenerator | string |
public setSingleItemLabelField ( string $fieldLabel ) | ||
$fieldLabel | string |
public setSingleItemSelection ( array | string $fieldFields ) | ||
$fieldFields | array | string |
public setStorageService ( string $storageService ) | ||
$storageService | string |
public setTreeDefaultIcon ( string $treeDefaultIcon ) | ||
$treeDefaultIcon | string |
public setTreeFixedIcon ( boolean $treeFixedIcon ) | ||
$treeFixedIcon | boolean |
public setTreeIconMapping ( |
||
$treeIconMapping |
public setTreeInterface ( string $treeInterface ) | ||
$treeInterface | string |
public setTreeInterfaceClass ( string $treeInterfaceClass ) | ||
$treeInterfaceClass | string |
public setTreeRootFieldFields ( string $treeRootFieldFields ) | ||
$treeRootFieldFields | string |
public setTreeRootFieldLabel ( string $treeRootFieldLabel ) | ||
$treeRootFieldLabel | string |
public setTreeRootFieldTemplate ( string $treeRootFieldTemplate ) | ||
$treeRootFieldTemplate | string |
public setTreeRootObjectFixedIcon ( boolean $treeRootObjectFixedIcon ) | ||
$treeRootObjectFixedIcon | boolean |
public setTreeRootObjectIconPath ( string $treeRootObjectIconPath ) | ||
$treeRootObjectIconPath | string |
public setTreeTemplate ( string $treeTemplate ) | ||
$treeTemplate | string |
protected string $apiControllerDefinition | ||
return | string |
protected string $apiControllerService | ||
return | string |
protected bool $autoCrud | ||
return | boolean |
protected string $blacklistSelection | ||
return | string |
protected Field[],Jarves\Configuration $browserColumns | ||
return |
protected $browserInterfaceClass |
protected Field[],Jarves\Configuration $browserOptions | ||
return |
protected string $crudService | ||
return | string |
protected string $defaultSelection | ||
return | string |
protected bool $excludeFromREST | ||
return | boolean |
protected string $labelField | ||
return | string |
protected bool $multiLanguage | ||
return | boolean |
protected string $nestedRootObjectExtraFields | ||
return | string |
protected string $nestedRootObjectLabelField | ||
return | string |
protected string $publicUrlGenerator | ||
return | string |
protected bool $searchable | ||
return | boolean |
protected string $singleItemLabelField | ||
return | string |
protected string $storageService | ||
return | string |
protected string $treeFields | ||
return | string |
protected TreeIconMapping,Jarves\Configuration $treeIconMapping | ||
return |
protected string $treeInterfaceClass | ||
return | string |
protected string $treeLabel | ||
return | string |
protected string $treeRootFieldFields | ||
return | string |
protected string $treeRootFieldLabel | ||
return | string |
protected bool $treeRootObjectFixedIcon | ||
return | boolean |
protected string $treeRootObjectIconPath | ||
return | string |
protected bool $workspace | ||
return | boolean |