Property | Type | Description | |
---|---|---|---|
$entityKey | string |
Method | 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. |
Method | 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, |
Method | Description | |
---|---|---|
getListBuilder ( |
Returns a list-builder for media list. |
public cgetAction ( |
||
$request | ||
return |
public deleteAction ( $id ) : |
||
$id | ||
return |
public getAction ( $id, |
||
$id | ||
$request | ||
return |
protected getCollectionManager ( ) : Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface | ||
return | Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface |
protected getCollectionRepository ( ) : Sulu\Bundle\MediaBundle\Entity\CollectionRepositoryInterface | ||
return | Sulu\Bundle\MediaBundle\Entity\CollectionRepositoryInterface |
protected getFieldDescriptors ( string $locale, boolean $all = true ) : Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface[] | ||
$locale | string | |
$all | boolean | |
return | Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface[] |
public getFieldsAction ( |
||
$request | ||
return |
public getSecuredClass ( ) : string | ||
return | string |
public getSecuredObjectId ( |
||
$request | ||
return | string |
protected getSecurityChecker ( ) : Sulu\Component\Security\Authorization\SecurityCheckerInterface | ||
return | Sulu\Component\Security\Authorization\SecurityCheckerInterface |
protected moveEntity ( integer $id, |
||
$id | integer | |
$request | ||
return |
public postAction ( |
||
$request | ||
return |
public postTriggerAction ( integer $id, |
||
$id | integer | |
$request | ||
return |
protected saveEntity ( $id, |
||
$id | ||
$request | ||
return |