Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:view

This is an old revision of the document!


View

Layer: Core · Source: lib/core/View.php:18 (lines 18–145)


class View

Docblock Metadata

^ Tag ^ Value ^
| ''@category'' | Core Class |
| ''@author'' | M.Noermoehammad |
| ''@license'' | MIT |
| ''@version'' | 1.0 |
| ''@since'' | Since Release 1.0 |

Inheritance

No parent, interface or trait. This is a root type.

Constants (0)

None.

Properties (1)

^ Visibility ^ Type ^ Name ^ Default ^ Line ^
| ''private'' | ''(untyped)'' | ''$data'' | ''[];'' | 36 |

Methods (4)

^ Visibility ^ Method ^ Summary ^ Line ^
| public | ''__construct()'' | Constructor | 53 |
| public | ''set()'' | Set view | 87 |
| public | ''get()'' | Get view | 98 |
| public | ''render()'' | render | 111 |

__construct()

public function __construct($eventPath, $uiPath, $modulePath = null, $file = null)

lines 53–78 (26)

Constructor

^ Parameter ^ Type ^ Default ^ Description ^
| ''$eventPath'' | ''(untyped)'' | //required// | //none// |
| ''$uiPath'' | ''(untyped)'' | //required// | //none// |
| ''$modulePath'' | ''(untyped)'' | ''null'' | //none// |
| ''$file'' | ''(untyped)'' | ''null'' | //none// |

set()

public function set($key, $value)

lines 87–90 (4)

Set view

^ Parameter ^ Type ^ Default ^ Description ^
| ''$key'' | ''(untyped)'' | //required// | //none// |
| ''$value'' | ''(untyped)'' | //required// | //none// |

Returns: (none declared)

get()

public function get($key)

lines 98–101 (4)

Get view

^ Parameter ^ Type ^ Default ^ Description ^
| ''$key'' | ''(untyped)'' | //required// | //none// |

Returns: (none declared)

render()

public function render()

lines 111–144 (34)

output view or content

Takes no parameters.

Returns: (none declared)


This page is generated from source by 'tools/gendoc'. Edits will be overwritten.

scriptlog/lib/core/view.1790413762.txt.gz · Last modified: by admin