timeStart = microtime(true); $this->tpl_authority = $_SESSION['authority']; // ディスプレイクラス生成 $this->objDisplay = new SC_Display_Ex(); $this->setTplMainpage($this->blocItems['tpl_path']); // トランザクショントークンの検証と生成 $this->setTokenTo(); // ローカルフックポイントを実行. $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); $this->doLocalHookpointBefore($objPlugin); } /** * ブロックファイルに応じて tpl_mainpage を設定する * * @param string $bloc_file ブロックファイル名 * @return void */ function setTplMainpage($bloc_file) { if (SC_Utils_Ex::isAbsoluteRealPath($bloc_file)) { $this->tpl_mainpage = $bloc_file; } else { $this->tpl_mainpage = SC_Helper_PageLayout_Ex::getTemplatePath($this->objDisplay->detectDevice()) . BLOC_DIR . $bloc_file; } $this->setTemplate($this->tpl_mainpage); } /** * デストラクタ * * @return void */ function __destruct() { // 親がリクエスト単位を意図した処理なので、断絶する。 } }