scriptlog:lib:controller:topiccontroller
Table of Contents
TopicController
Layer: Controller · Source: lib/controller/TopicController.php:26 (lines 26–311)
class TopicController extends BaseApp
Docblock Metadata
| Tag | Value |
|---|---|
@category | Class TopicController extends BaseApp |
@author | M.Noermoehammad |
@license | MIT |
@version | 1.0 |
@since | Since Release 1.0 |
Inheritance
| Relation | Type | Meaning |
|---|---|---|
| extends | ''BaseApp'' | parent class/interface |
Constants (0)
None.
Properties (2)
| Visibility | Type | Name | Default | Line |
|---|---|---|---|---|
private | (untyped) | $view | 28 | |
private | (untyped) | $topicService | 30 |
Methods (6)
| Visibility | Method | Summary | Line |
|---|---|---|---|
| public | __construct() | (undocumented) | 32 |
| public | listItems() | listItems | 44 |
| public | insert() | insert | 91 |
| public | update() | update | 160 |
| public | remove() | remove | 252 |
| protected | setView() | setView | 307 |
__construct()
public function __construct(TopicService $topicService)
lines 32–35 (4)
| Parameter | Type | Default | Description |
|---|---|---|---|
$topicService | ''TopicService'' | required | none |
listItems()
public function listItems()
lines 44–81 (38)
listItems
Takes no parameters.
Returns: (none declared)
insert()
public function insert()
lines 91–152 (62)
Takes no parameters.
Returns: (none declared) — void
update()
public function update($id)
lines 160–243 (84)
| Parameter | Type | Default | Description |
|---|---|---|---|
$id | (untyped) | required | none |
Returns: (none declared)
remove()
public function remove($id)
lines 252–299 (48)
| Parameter | Type | Default | Description |
|---|---|---|---|
$id | (untyped) | required | none |
Returns: (none declared)
setView()
protected function setView($viewName)
lines 307–310 (4)
setView
| Parameter | Type | Default | Description |
|---|---|---|---|
$viewName | (untyped) | required | none |
Returns: (none declared)
Imports
| 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'' |
TopicService | ''Scriptlog\Service\TopicService'' |
This page is generated from source by 'tools/gendoc'. Edits will be overwritten.
scriptlog/lib/controller/topiccontroller.txt · Last modified: by admin
