コード例 #1
0
ファイル: combiner.php プロジェクト: educakanchay/kanchay
 /**
  * Constructor
  * 
  */
 public function __construct($params, $bBackend = FALSE)
 {
     $this->params = $params;
     $this->bBackend = $bBackend;
     $this->sLnEnd = JchPlatformUtility::lnEnd();
     $this->sTab = JchPlatformUtility::tab();
     self::$bLogErrors = $this->params->get('jsmin_log', 0) ? TRUE : FALSE;
 }
コード例 #2
0
ファイル: parser.php プロジェクト: grlf/eyedock
 /**
  * Constructor
  * 
  * @param JRegistry object $params      Plugin parameters
  * @param string  $sHtml                Page HMTL
  */
 public function __construct($oParams, $sHtml, $oFileRetriever)
 {
     $this->params = $oParams;
     $this->sHtml = $sHtml;
     $this->oFileRetriever = $oFileRetriever;
     $this->sLnEnd = JchPlatformUtility::lnEnd();
     $this->sTab = JchPlatformUtility::tab();
     if (!defined('JCH_TEST_MODE')) {
         $this->sFileHash = serialize($this->params->getOptions()) . JCH_VERSION;
     }
     $this->parseHtml();
 }
コード例 #3
0
ファイル: parser.php プロジェクト: educakanchay/kanchay
 /**
  * Constructor
  * 
  * @param JRegistry object $params      Plugin parameters
  * @param string  $sHtml                Page HMTL
  */
 public function __construct($oParams, $sHtml, $oFileRetriever)
 {
     //                JCH_DEBUG ? JchPlatformProfiler::mark('beforeConstructParser -  plgSystem (JCH Optimize)') : null;
     $this->params = $oParams;
     $this->sHtml = $sHtml;
     $this->oFileRetriever = $oFileRetriever;
     $this->sLnEnd = JchPlatformUtility::lnEnd();
     $this->sTab = JchPlatformUtility::tab();
     if (!defined('JCH_TEST_MODE')) {
         $this->sFileHash = serialize($this->params) . JCH_VERSION;
     }
     //                JCH_DEBUG ? JchPlatformProfiler::mark('afterConstructParser -  plgSystem (JCH Optimize)') : null;
     $this->parseHtml();
 }