예제 #1
0
 /**
  * Process request
  *
  * @return void
  */
 public function processRequest()
 {
     parent::processRequest();
     if (!$this->suppressOutput && !$this->isAJAX()) {
         $viewer = $this->getViewer();
         /*
         $treeKey = 'theme_tweaker_tree_' . md5(LC_START_TIME);
         \XLite\Core\Session::getInstance()->{$treeKey} = $viewer::getJsonTree();
         
         $output = sprintf(
             '<div id="templates_tree_wrapper" style="display: none;" data-tree-key="%s">'
             . '<div id="templates_tree"></div>'
             . '</div>',
             $treeKey
         );
         
         echo $output;
         */
         echo $viewer::getHtmlTree();
     }
 }