PHP Class MetaModels\DcGeneral\Events\Table\RenderSetting\RenderSettingAddAllHandler

Inheritance: extends MetaModels\DcGeneral\Events\Table\AbstractAddAllHandler
Show file Open project: metamodels/core

Protected Properties

Property Type Description
$actionName string The action name to listen on.
$ptable string The parent table name to work on.
$table string The table name to work on.

Protected Methods

Method Description
accepts ( MetaModels\Attribute\IAttribute $attribute ) : boolean Test if the passed attribute is acceptable.
createEmptyDataFor ( MetaModels\Attribute\IAttribute $attribute ) : mixed Create an empty data set for inclusion into the database.

Method Details

accepts() protected method

Test if the passed attribute is acceptable.
protected accepts ( MetaModels\Attribute\IAttribute $attribute ) : boolean
$attribute MetaModels\Attribute\IAttribute The attribute to check.
return boolean

createEmptyDataFor() protected method

Create an empty data set for inclusion into the database.
protected createEmptyDataFor ( MetaModels\Attribute\IAttribute $attribute ) : mixed
$attribute MetaModels\Attribute\IAttribute The attribute to generate the data for.
return mixed

Property Details

$actionName protected static property

The action name to listen on.
protected static string $actionName
return string

$ptable protected static property

The parent table name to work on.
protected static string $ptable
return string

$table protected static property

The table name to work on.
protected static string $table
return string