PHP Class MetaModels\DcGeneral\Events\Table\InputScreen\Subscriber

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

Public Methods

Method Description
getBackendSections ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void Retrieve a list of all backend sections, like "content", "system" etc.
getPanelLayoutWizard ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ManipulateWidgetEvent $event ) : void Calculate the wizard.
getParentTables ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void Returns an array with all valid tables that can be used as parent table.
getRenderModes ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void Retrieve a list of all render modes.
getRenderTypes ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void Populates an array with all valid "rendertype".
modelToLabel ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent $event ) : void Render the html for the input screen.
setParentTableVisibility ( ContaoCommunityAlliance\DcGeneral\Factory\Event\BuildDataDefinitionEvent $event ) : void Set the visibility condition for the widget.

Protected Methods

Method Description
registerEventsInDispatcher ( ) : void Register all listeners to handle creation of a data container.

Method Details

getBackendSections() public method

Retrieve a list of all backend sections, like "content", "system" etc.
public getBackendSections ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent The event.
return void

getPanelLayoutWizard() public method

Calculate the wizard.
public getPanelLayoutWizard ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ManipulateWidgetEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ManipulateWidgetEvent The event.
return void

getParentTables() public method

Excludes the metamodel table itself in ctable mode, as that one would be "selftree" then and not ctable.
public getParentTables ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent The event.
return void

getRenderModes() public method

Retrieve a list of all render modes.
public getRenderModes ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent The event.
return void

getRenderTypes() public method

Populates an array with all valid "rendertype".
public getRenderTypes ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent The event.
return void

modelToLabel() public method

Render the html for the input screen.
public modelToLabel ( ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent The event.
return void

registerEventsInDispatcher() protected method

Register all listeners to handle creation of a data container.
protected registerEventsInDispatcher ( ) : void
return void

setParentTableVisibility() public method

Set the visibility condition for the widget.
public setParentTableVisibility ( ContaoCommunityAlliance\DcGeneral\Factory\Event\BuildDataDefinitionEvent $event ) : void
$event ContaoCommunityAlliance\DcGeneral\Factory\Event\BuildDataDefinitionEvent The event.
return void