Méthode | Description | |
---|---|---|
deleteAction ( |
Delete entity | |
disableAction ( |
Disable entity | |
editAction ( |
Edit and Saves attribute | |
enableAction ( |
Enable entity | |
listAction ( integer $page, integer $limit, string $orderByField, string $orderByDirection ) : array | List elements of certain entity type. |
Méthode | Description | |
---|---|---|
evaluateAttributeValues ( Elcodi\Component\Attribute\Entity\Interfaces\AttributeInterface $attribute, array $values = [] ) | Given an attribute and an array of Values, perform database and relation stuff |
public deleteAction ( |
||
$request | Request | |
$entity | mixed | Entity to delete |
$redirectPath | string | Redirect path |
Résultat | Redirect response |
public disableAction ( |
||
$request | Request | |
$entity | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to disable |
Résultat | array | Result |
public editAction ( |
||
$request | Request | |
$form | Symfony\Component\Form\FormInterface | Form |
$attribute | Elcodi\Component\Attribute\Entity\Interfaces\AttributeInterface | Attribute |
$isValid | boolean | Is valid |
Résultat | Redirect response |
public enableAction ( |
||
$request | Request | |
$entity | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to enable |
Résultat | array | Result |
protected evaluateAttributeValues ( Elcodi\Component\Attribute\Entity\Interfaces\AttributeInterface $attribute, array $values = [] ) | ||
$attribute | Elcodi\Component\Attribute\Entity\Interfaces\AttributeInterface | Attribute |
$values | array | Values |