Свойство | Type | Description | |
---|---|---|---|
$entityKey | string |
Méthode | Description | |
---|---|---|
cgetAction ( |
Lists all media. | |
deleteAction ( $id ) : |
Delete a media with the given id. | |
getAction ( $id, |
Shows a single media with the given id. | |
getFieldsAction ( |
returns all fields that can be used by list. | |
getSecuredClass ( ) : string | Returns the class name of the object to check. | |
getSecuredObjectId ( |
Returns the id of the object to check. | |
getSecurityContext ( ) | ||
postAction ( |
Creates a new media. | |
postTriggerAction ( integer $id, |
Trigger an action for given media. Action is specified over get-action parameter. | |
putAction ( integer $id, |
Edits the existing media with the given id. |
Méthode | Description | |
---|---|---|
getCollectionManager ( ) : Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface | ||
getCollectionRepository ( ) : Sulu\Bundle\MediaBundle\Entity\CollectionRepositoryInterface | ||
getFieldDescriptors ( string $locale, boolean $all = true ) : Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface[] | Returns field-descriptors for media. | |
getSecurityChecker ( ) : Sulu\Component\Security\Authorization\SecurityCheckerInterface | ||
moveEntity ( integer $id, |
Move an entity to another collection. | |
saveEntity ( $id, |
Méthode | Description | |
---|---|---|
getListBuilder ( |
Returns a list-builder for media list. |
public cgetAction ( |
||
$request | ||
Résultat |
public deleteAction ( $id ) : |
||
$id | ||
Résultat |
public getAction ( $id, |
||
$id | ||
$request | ||
Résultat |
protected getCollectionManager ( ) : Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface | ||
Résultat | Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface |
protected getCollectionRepository ( ) : Sulu\Bundle\MediaBundle\Entity\CollectionRepositoryInterface | ||
Résultat | Sulu\Bundle\MediaBundle\Entity\CollectionRepositoryInterface |
protected getFieldDescriptors ( string $locale, boolean $all = true ) : Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface[] | ||
$locale | string | |
$all | boolean | |
Résultat | Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface[] |
public getFieldsAction ( |
||
$request | ||
Résultat |
public getSecuredClass ( ) : string | ||
Résultat | string |
public getSecuredObjectId ( |
||
$request | ||
Résultat | string |
protected getSecurityChecker ( ) : Sulu\Component\Security\Authorization\SecurityCheckerInterface | ||
Résultat | Sulu\Component\Security\Authorization\SecurityCheckerInterface |
protected moveEntity ( integer $id, |
||
$id | integer | |
$request | ||
Résultat |
public postAction ( |
||
$request | ||
Résultat |
public postTriggerAction ( integer $id, |
||
$id | integer | |
$request | ||
Résultat |
protected saveEntity ( $id, |
||
$id | ||
$request | ||
Résultat |