/** * Gets the url of the current page, with the "ask for print" informations. */ function getPrintableUrl() { include_once COPIX_UTILS_PATH . 'CopixUtils.lib.php'; $urlTab = $GLOBALS['COPIX']['COORD']->vars; foreach ($this->config->_runPrintUrl as $key => $elem) { $urlTab[$key] = $this->config->_runPrintUrl[$key]; } return 'index.php?' . urlParams($urlTab); }
function beforeProcess(&$action) { $objMetier =& new _DAOPluginStat(); $objMetier->tableName = $this->config->tableName; $objMetier->fields = $this->config->fields; include_once COPIX_UTILS_PATH . 'CopixUtils.lib.php'; ksort($_GET); $objMetier->add(urlParams($_GET)); }
/** * Retour de la partie get de l'url..... il y a surement moyen de faire plus simple. * @return array parametre url */ function getUrlParams() { return urlParams(getUrlTab()); }