FOF30\View\DataView\Html::onBeforeEdit PHP Метод

onBeforeEdit() защищенный Метод

Executes before rendering the page for the Edit task.
protected onBeforeEdit ( )
    protected function onBeforeEdit()
    {
        // Hide main menu
        \JFactory::getApplication()->input->set('hidemainmenu', true);
        parent::onBeforeEdit();
    }

Usage Example

Пример #1
0
 /**
  * The edit layout, editing a profile's name
  */
 protected function onBeforeEdit()
 {
     parent::onBeforeEdit();
     // Include tooltip support
     JHtml::_('behavior.tooltip');
 }