| 1 | <?php |
||
| 14 | class Edit { |
||
| 15 | |||
| 16 | protected $parent = null, $entity = null; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Constructor |
||
| 20 | */ |
||
| 21 | |||
| 22 | public function __construct(Filemanager\Utils\Entity $entity) { |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Invoker |
||
| 29 | * |
||
| 30 | * @return true|string|array : true on success, otherwise an error code, or an array of type [$param_name, $error_code], |
||
| 31 | * where $param_name is a name of param that has triggered the error, |
||
| 32 | * and $error_code is a language phrase related to the error |
||
| 33 | */ |
||
| 34 | |||
| 35 | public function __invoke(array $post) { |
||
| 53 | } |
||
| 54 | } |
||
| 55 |