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

Inheritance: extends MetaModels\DcGeneral\Events\Table\AbstractAddAllHandler
Exibir arquivo 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_oe static_oe property

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

$ptable protected_oe static_oe property

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

$table protected_oe static_oe property

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