Пример #1
0
 /**
  * Before filter, basically initializes the controller by actvating the
  * according navigation entry and other settings.
  *
  * @param String $action Action to execute
  * @param Array $args    Arguments passed for the action (might be empty)
  */
 public function before_filter(&$action, &$args)
 {
     parent::before_filter($action, $args);
     PageLayout::setTitle(_('Dateiverwaltung'));
     PageLayout::setHelpKeyword('Basis.Dateien');
     Navigation::activateItem('/profile/files');
     PageLayout::addSqueezePackage('document');
 }
Пример #2
0
 /**
  * Before filter, basically initializes the controller by actvating the
  * according navigation entry.
  *
  * @param String $action Action to execute
  * @param Array $args    Arguments passed for the action (might be empty)
  */
 public function before_filter(&$action, &$args)
 {
     parent::before_filter($action, $args);
     Navigation::activateItem('/profile/files');
 }