1 | <?php |
||
9 | class ElggComment extends \ElggObject { |
||
10 | |||
11 | /** |
||
12 | * Set subtype to comment |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | protected function initializeAttributes() { |
||
21 | |||
22 | /** |
||
23 | * Can a user comment on this object? Always returns false (threaded comments |
||
24 | * not yet supported) |
||
25 | * |
||
26 | * @see \ElggEntity::canComment() |
||
27 | * |
||
28 | * @param int $user_guid User guid (default is logged in user) |
||
29 | * @return bool False |
||
30 | * @since 1.9.0 |
||
31 | */ |
||
32 | public function canComment($user_guid = 0) { |
||
35 | |||
36 | /** |
||
37 | * Update container entity last action on successful save. |
||
38 | * |
||
39 | * @param bool $update_last_action Update the container entity's last_action field |
||
40 | * @return bool|int |
||
41 | */ |
||
42 | public function save($update_last_action = true) { |
||
49 | } |
||
50 |