1 | <?php |
||
10 | class Application extends \samsoncms\Application |
||
11 | { |
||
12 | /** @var string Application name */ |
||
13 | public $name = 'Пользователь'; |
||
14 | |||
15 | /** Application description */ |
||
16 | public $description = 'Пользователи системы'; |
||
17 | |||
18 | /** @var string Application icon */ |
||
19 | public $icon = 'user'; |
||
20 | |||
21 | /** @var string Module identifier */ |
||
22 | protected $id = 'user'; |
||
23 | |||
24 | /** @var string Module identifier */ |
||
25 | protected $entity = '\samson\activerecord\user'; |
||
26 | |||
27 | /** @var string Form class */ |
||
28 | protected $formClassName = '\samsoncms\app\user\form\Form'; |
||
29 | |||
30 | /** Module initialization */ |
||
31 | public function init(array $params = array()) |
||
36 | |||
37 | /** |
||
38 | * New entity creation generic controller action |
||
39 | * @param int $parentID Parent identifier |
||
40 | */ |
||
41 | public function __new($parentID = null) |
||
55 | |||
56 | /** |
||
57 | * Input field saving handler |
||
58 | * @param \samsonframework\orm\Record $object |
||
59 | * @param string $param Field |
||
60 | * @param string $previousValue Previous object field value |
||
61 | * @param string $response Response |
||
62 | */ |
||
63 | public function inputUpdateHandler(& $object, $param, $previousValue, $response = null) |
||
81 | |||
82 | /** |
||
83 | * User entity delete controller action |
||
84 | * @param int $identifier Entity identifier |
||
85 | * @return array Asynchronous response array |
||
86 | */ |
||
87 | public function __async_remove2($identifier) |
||
96 | } |
||
97 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.