PHP Класс FOF30\Factory\Scaffolding\View\ViewErector

Наследование: implements FOF30\Factory\Scaffolding\View\ErectorInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$builder Builder The Builder which called us
$section string Section used to build the namespace prefix. We have to pass it since in CLI scaffolding we need to force the section we're in (ie Site or Admin). {@see \FOF30\Container\Container::getNamespacePrefix() } for valid values
$view FOF30\View\DataView\Html The Controller attached to the view we're building
$viewName string The name of our view
$viewType string The type of our view

Открытые методы

Метод Описание
__construct ( Builder $parent, Html $view, $viewName, $viewType )
build ( )
getSection ( ) : string
setSection ( string $section )

Описание методов

__construct() публичный Метод

public __construct ( Builder $parent, Html $view, $viewName, $viewType )
$parent Builder
$view FOF30\View\DataView\Html

build() публичный Метод

public build ( )

getSection() публичный Метод

public getSection ( ) : string
Результат string

setSection() публичный Метод

public setSection ( string $section )
$section string

Описание свойств

$builder защищенное свойство

The Builder which called us
protected Builder,FOF30\Factory\Scaffolding\View $builder
Результат Builder

$section защищенное свойство

Section used to build the namespace prefix. We have to pass it since in CLI scaffolding we need to force the section we're in (ie Site or Admin). {@see \FOF30\Container\Container::getNamespacePrefix() } for valid values
protected string $section
Результат string

$view защищенное свойство

The Controller attached to the view we're building
protected Html,FOF30\View\DataView $view
Результат FOF30\View\DataView\Html

$viewName защищенное свойство

The name of our view
protected string $viewName
Результат string

$viewType защищенное свойство

The type of our view
protected string $viewType
Результат string