PHP Interface FOF30\Factory\Scaffolding\Controller\ErectorInterface

Show file Open project: akeeba/fof

Public Methods

Method Description
__construct ( Builder $parent, DataController $controller, string $viewName ) Construct the erector object
build ( ) : void Erects a scaffold. It then uses the parent's methods to assign the erected scaffold.
getSection ( ) : string
setSection ( string $section )

Method Details

__construct() public method

Construct the erector object
public __construct ( Builder $parent, DataController $controller, string $viewName )
$parent Builder The parent builder
$controller FOF30\Controller\DataController The controller we're erecting a scaffold against
$viewName string The view name for this controller

build() public method

Erects a scaffold. It then uses the parent's methods to assign the erected scaffold.
public build ( ) : void
return void

getSection() public method

public getSection ( ) : string
return string

setSection() public method

public setSection ( string $section )
$section string