Ejemplo n.º 1
0
 function check()
 {
     if (!parent::check()) {
         return false;
     }
     $this->persistParams(array('fDocumentId'));
     return true;
 }
Ejemplo n.º 2
0
 function check()
 {
     $oConfig =& KTConfig::getSingleton();
     if ($this->oUser->getId() == -2 || $oConfig->get('user_prefs/restrictPreferences', false) && !Permission::userIsSystemAdministrator($this->oUser->getId())) {
         return false;
     }
     $this->aBreadcrumbs = array(array('action' => 'preferences', 'name' => _kt('Preferences')));
     return parent::check();
 }