PHP Interface FOF30\Factory\Scaffolding\Layout\ErectorInterface

Show file Open project: akeeba/fof

Public Methods

Method Description
__construct ( Builder $parent, DataModel $model, string $viewName ) Construct the erector object
build ( ) : void Erects a scaffold. It then uses the parent's setXml and setStrings to assign the erected scaffold and the additional language strings to the parent which will decide what to do with that.

Method Details

__construct() public method

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

build() public method

Erects a scaffold. It then uses the parent's setXml and setStrings to assign the erected scaffold and the additional language strings to the parent which will decide what to do with that.
public build ( ) : void
return void