Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:view

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 (4)

Visibility Type Name Default Line
private (untyped) $dir 24
private (untyped) $file 30
private (untyped) $data [] 36
private (untyped) $errors 43

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.txt · Last modified: by admin