PHP Класс FOF30\Factory\Scaffolding\Model\ModelErector

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

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

Свойство Тип Описание
$builder FOF30\Factory\Scaffolding\Controller\Builder The Builder which called us
$model FOF30\Controller\DataController The Model attached to the view we're building
$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
$viewName string The name of our view

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

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

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

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

public __construct ( Builder $parent, DataModel $model, $viewName )
$parent Builder
$model FOF30\Model\DataModel

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\Controller $builder
Результат FOF30\Factory\Scaffolding\Controller\Builder

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

The Model attached to the view we're building
protected DataController,FOF30\Controller $model
Результат FOF30\Controller\DataController

$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

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

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