PHP Class FOF30\Factory\Scaffolding\View\ViewErector

Inheritance: implements FOF30\Factory\Scaffolding\View\ErectorInterface
Afficher le fichier Open project: akeeba/fof Class Usage Examples

Protected Properties

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__construct ( Builder $parent, Html $view, $viewName, $viewType )
build ( )
getSection ( ) : string
setSection ( string $section )

Method Details

__construct() public méthode

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

build() public méthode

public build ( )

getSection() public méthode

public getSection ( ) : string
Résultat string

setSection() public méthode

public setSection ( string $section )
$section string

Property Details

$builder protected_oe property

The Builder which called us
protected Builder,FOF30\Factory\Scaffolding\View $builder
Résultat Builder

$section protected_oe property

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
Résultat string

$view protected_oe property

The Controller attached to the view we're building
protected Html,FOF30\View\DataView $view
Résultat FOF30\View\DataView\Html

$viewName protected_oe property

The name of our view
protected string $viewName
Résultat string

$viewType protected_oe property

The type of our view
protected string $viewType
Résultat string