PHP Class FOF30\Factory\Scaffolding\Controller\ControllerErector

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

Protected Properties

Свойство Type Description
$builder Builder The Builder which called us
$controller FOF30\Controller\DataController The Controller 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

Méthodes publiques

Méthode Description
__construct ( Builder $parent, DataController $controller, $viewName )
build ( )
getSection ( ) : string
setSection ( string $section )

Method Details

__construct() public méthode

public __construct ( Builder $parent, DataController $controller, $viewName )
$parent Builder
$controller FOF30\Controller\DataController

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\Controller $builder
Résultat Builder

$controller protected_oe property

The Controller attached to the view we're building
protected DataController,FOF30\Controller $controller
Résultat FOF30\Controller\DataController

$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

$viewName protected_oe property

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