Documentation

ViewRecordTrait

Default view for displaying record

Table of Contents

getTemplate()  : HtmlTemplate
Method returns template
getViewParameter()  : mixed
Method sets view's var
viewRecord()  : string
Default view for displaying single record

Methods

getViewParameter()

Method sets view's var

public abstract getViewParameter(string $name[, mixed $default = null ]) : mixed
Parameters
$name : string

var name

$default : mixed = null

default value for unexisting parameter

Return values
mixed

view's variable value

viewRecord()

Default view for displaying single record

public viewRecord() : string
Return values
string

Search results

    Яндекс.Метрика