Свойство | Тип | Описание | |
---|---|---|---|
$entityKey | |||
$entityName |
Метод | Описание | |
---|---|---|
cgetAction ( |
Returns the whole category graph. | |
deleteAction ( $id ) : |
Deletes the category which is assigned to the given id. | |
getAction ( $id, |
Returns the category which is assigned to the given id. | |
getChildrenAction ( mixed $parentId, |
Returns the sub-graph below the category which is assigned to the given parentId. | |
getFieldsAction ( |
Returns all fields that can be used by list. | |
getSecurityContext ( ) | ||
patchAction ( |
Partly updates the category which is assigned to the given id. | |
postAction ( |
Adds a new category. | |
putAction ( $id, |
Updates the category which is assigned to the given id. |
Метод | Описание | |
---|---|---|
getListRepresentation ( |
Returns a category-list-representation for the category graph respective to the request. | |
saveCategory ( |
Creates or updates a category based on the request. |
Метод | Описание | |
---|---|---|
getCategoryManager ( ) : Sulu\Bundle\CategoryBundle\Category\CategoryManagerInterface | Returns the CategoryManager. | |
initializeListBuilder ( $locale ) : |
Initializes and returns a ListBuilder instance which is used when returning a CategoryListRepresentation for the given locale. The returned ListBuilder is initialized with the request-parameters and respective select fields. |
public cgetAction ( |
||
$request | ||
Результат |
public deleteAction ( $id ) : |
||
$id | ||
Результат |
public getAction ( $id, |
||
$id | ||
$request | ||
Результат |
public getChildrenAction ( mixed $parentId, |
||
$parentId | mixed | |
$request | ||
Результат |
public getFieldsAction ( |
||
$request | ||
Результат | mixed |
protected getListRepresentation ( |
||
$request | ||
$locale | ||
$parentId | null | |
$expandIds | array | |
Результат |
public patchAction ( |
||
$request | ||
$id | ||
Результат |
public postAction ( |
||
$request | ||
Результат |
public putAction ( $id, |
||
$id | ||
$request | ||
Результат |
protected saveCategory ( |
||
$request | ||
$id | null | |
$patch | boolean | |
Результат |