示例#1
0
 /**
  * Execution des scripts de la classe
  */
 public function run()
 {
     $header = new magixglobal_model_header();
     $create = new backend_controller_template();
     if (magixcjquery_filter_request::isGet('getlang')) {
     } else {
         if (isset($this->action)) {
             if ($this->action == 'list') {
                 if (isset($this->tab)) {
                     if ($this->tab === 'snippet') {
                         $header->head_expires("Mon, 26 Jul 1997 05:00:00 GMT");
                         $header->head_last_modified(gmdate("D, d M Y H:i:s") . "GMT");
                         $header->pragma();
                         $header->cache_control("nocache");
                         $header->getStatus('200');
                         $header->javascript_header("UTF-8");
                         $this->jsSnippet('snippet');
                     }
                 }
             }
         }
     }
 }