function ManageCleanupDispatcher() { $this->aIgnore = array('.', '..', 'CVS', '.DS_Store', '.empty', '.htaccess', '.cvsignore', '.svn', '.git'); $oConfig =& KTConfig::getSingleton(); $this->fsPath = $oConfig->get('urls/documentRoot'); return parent::KTAdminDispatcher(); }
function check() { $res = parent::check(); if (!$res) { return false; } $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Automatic Workflow Assignments')); return true; }
function ManageConditionalDispatcher() { parent::KTAdminDispatcher(); global $default; $this->ru = $default->rootUrl; // this is not useful: we _still_ don't chain through the right dispatcher (!) $this->aBreadcrumbs[] = array('url' => KTUtil::ktLink('/admin.php', 'documents'), 'name' => _kt('Document Metadata and Workflow Configuration')); $this->aBreadcrumbs[] = array('url' => KTUtil::ktLink('/admin.php', 'documents/fieldmanagement'), 'name' => _kt('Document Field Management')); }
function check() { $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Manage Mime Types')); return parent::check(); }
function check() { return parent::check(); }
function check() { $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Extractor Information')); return parent::check(); }
function check() { $res = parent::check(); $this->aBreadcrumbs[] = array('name' => _kt('Authentication'), 'url' => $_SERVER['PHP_SELF']); return $res; }
function AdminSplashDispatcher() { $this->aBreadcrumbs = array(array('url' => KTUtil::getRequestScriptName($_SERVER), 'name' => _kt('Administration'))); parent::KTAdminDispatcher(); }
function check() { $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Document Indexing Diagnostics')); return parent::check(); }
function check() { $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Pending Documents Indexing Queue')); return parent::check(); }
function check() { $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Reschedule all documents')); return parent::check(); }
function check() { $res = parent::check(); if (!$res) { return false; } $sQuery = 'SELECT selection_ns FROM ' . KTUtil::getTableName('trigger_selection'); $sQuery .= ' WHERE event_ns = ?'; $aParams = array('ktstandard.workflowassociation.handler'); $res = DBUtil::getOneResultKey(array($sQuery, $aParams), 'selection_ns'); if ($res != 'ktstandard.triggers.workflowassociation.documenttype.handler') { return false; } $this->aBreadcrumbs[] = array('url' => $_SERVER['PHP_SELF'], 'name' => _kt('Workflow Allocation by Document Types')); return true; }