Layer: Controller · Source: lib/controller/CommentController.php:28 (lines 28–255)
class CommentController extends BaseApp
| Tag | Value |
|---|---|
@category | Class CommentController extends BaseApp |
@author | M.Noermoehammad |
@license | MIT |
@version | 1.0 |
@since | Since Release 1.0 |
| Relation | Type | Meaning |
|---|---|---|
| extends | ''BaseApp'' | parent class/interface |
None.
| Visibility | Type | Name | Default | Line |
|---|---|---|---|---|
private | (untyped) | $view | 36 | |
private | (untyped) | $commentService | 44 |
| Visibility | Method | Summary | Line |
|---|---|---|---|
| public | __construct() | __constructor | 52 |
| public | listItems() | abstract method list items | 61 |
| public | insert() | abstract method insert | 106 |
| public | update() | Abstract method update | 115 |
| public | remove() | Abstract method remove | 205 |
| protected | setView() | (undocumented) | 251 |
public function __construct(CommentService $commentService)
lines 52–55 (4)
| Parameter | Type | Default | Description |
|---|---|---|---|
$commentService | ''CommentService'' | required | none |
public function listItems()
lines 61–100 (40)
Documentation inherited from ''Scriptlog\Core\BaseApp''.
abstract method list items
Takes no parameters.
Returns: (none declared)
public function insert()
lines 106–109 (4)
Documentation inherited from ''Scriptlog\Core\BaseApp''.
abstract method insert
Takes no parameters.
Returns: (none declared)
public function update($id)
lines 115–199 (85)
Documentation inherited from ''Scriptlog\Core\BaseApp''.
Abstract method update
| Parameter | Type | Default | Description |
|---|---|---|---|
$id | (untyped) | required | none |
Returns: (none declared)
public function remove($id)
lines 205–249 (45)
Documentation inherited from ''Scriptlog\Core\BaseApp''.
Abstract method remove
| Parameter | Type | Default | Description |
|---|---|---|---|
$id | (untyped) | required | none |
Returns: (none declared)
protected function setView($viewName)
lines 251–254 (4)
| Parameter | Type | Default | Description |
|---|---|---|---|
$viewName | (untyped) | required | none |
Returns: (none declared)
| Alias | Fully-qualified name |
|---|---|
ActionConst | ''Scriptlog\Core\ActionConst'' |
AppException | ''Scriptlog\Core\AppException'' |
BaseApp | ''Scriptlog\Core\BaseApp'' |
LogError | ''Scriptlog\Core\LogError'' |
Sanitize | ''Scriptlog\Core\Sanitize'' |
View | ''Scriptlog\Core\View'' |
CommentService | ''Scriptlog\Service\CommentService'' |
This page is generated from source by 'tools/gendoc'. Edits will be overwritten.