1 | <?php |
||
7 | class FormCommentDelete extends Model |
||
8 | { |
||
9 | private $_record; |
||
10 | private $_type; |
||
11 | |||
12 | /** |
||
13 | * FormCommentDelete constructor. Pass active record and type of comment system inside. |
||
14 | * @param object $record |
||
15 | * @param string $type |
||
16 | */ |
||
17 | public function __construct($record, $type) |
||
23 | |||
24 | /** |
||
25 | * Make delete items after submit |
||
26 | */ |
||
27 | public function make() |
||
38 | |||
39 | /** |
||
40 | * Get records to delete as object |
||
41 | * @return object |
||
42 | */ |
||
43 | public function getRecord() |
||
47 | } |