PHP Класс MetaModels\DcGeneral\Events\Table\AbstractAddAllHandler
This is in use in the render settings and input screen settings.
Показать файл
Открыть проект
Защищенные свойства (Protected)
Открытые методы
Метод |
Описание |
|
__construct ( MetaModels\IMetaModelsServiceContainer $serviceContainer ) |
Create a new instance. |
|
getSubscribedEvents ( ) |
{@inheritDoc} |
|
handleActionEvent ( ContaoCommunityAlliance\DcGeneral\Event\ActionEvent $event ) : void |
Handle the action event. |
|
Защищенные методы
Метод |
Описание |
|
accepts ( MetaModels\Attribute\IAttribute $attribute ) : boolean |
Test if the passed attribute is acceptable. |
|
createEmptyDataFor ( MetaModels\Attribute\IAttribute $attribute ) : array |
Create an empty data set for inclusion into the database. |
|
Приватные методы
Описание методов
__construct()
публичный Метод
public __construct ( MetaModels\IMetaModelsServiceContainer $serviceContainer ) |
$serviceContainer |
MetaModels\IMetaModelsServiceContainer |
The MetaModel service container. |
accepts()
абстрактный защищенный Метод
Test if the passed attribute is acceptable.
abstract protected accepts ( MetaModels\Attribute\IAttribute $attribute ) : boolean |
$attribute |
MetaModels\Attribute\IAttribute |
The attribute to check. |
Результат |
boolean |
|
createEmptyDataFor()
абстрактный защищенный Метод
Create an empty data set for inclusion into the database.
abstract protected createEmptyDataFor ( MetaModels\Attribute\IAttribute $attribute ) : array |
$attribute |
MetaModels\Attribute\IAttribute |
The attribute to generate the data for. |
Результат |
array |
|
getSubscribedEvents()
публичный статический Метод
handleActionEvent()
публичный Метод
public handleActionEvent ( ContaoCommunityAlliance\DcGeneral\Event\ActionEvent $event ) : void |
$event |
ContaoCommunityAlliance\DcGeneral\Event\ActionEvent |
The event to handle. |
Результат |
void |
|
Описание свойств
$actionName защищенное статическое свойство
The action name to listen on.
protected static string $actionName |
Результат |
string |
|
$ptable защищенное статическое свойство
The parent table name to work on.
protected static string $ptable |
Результат |
string |
|
$table защищенное статическое свойство
The table name to work on.
protected static string $table |
Результат |
string |
|