コード例 #1
0
ファイル: apiinit.inc.php プロジェクト: vvp24/tsvshop
 function MODxAPI()
 {
     //$this->startSession();
     if (method_exists('DocumentParser', 'DocumentParser')) {
         parent::DocumentParser();
     } else {
         parent::__construct();
     }
     // set some parser options
     $this->minParserPasses = 1;
     // min number of parser recursive loops or passes
     $this->maxParserPasses = 10;
     // max number of parser recursive loops or passes
     $this->dumpSQL = false;
     $this->dumpSnippets = false;
     $this->getSettings();
     // set start time
     $this->tstart = $this->getMicroTime();
     // feed the parser the execution start time
 }