onBeforeAdd() protected méthode

Executes before rendering the page for the add task.
protected onBeforeAdd ( )
Exemple #1
0
 /**
  * Executes before rendering the page for the Add task.
  */
 protected function onBeforeAdd()
 {
     // Hide main menu
     \JFactory::getApplication()->input->set('hidemainmenu', true);
     parent::onBeforeAdd();
 }