本文整理汇总了PHP中TPL::objFilePathArray方法的典型用法代码示例。如果您正苦于以下问题:PHP TPL::objFilePathArray方法的具体用法?PHP TPL::objFilePathArray怎么用?PHP TPL::objFilePathArray使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TPL
的用法示例。
在下文中一共展示了TPL::objFilePathArray方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct();
// Register this object with the chain;
ChainOfCommand::registerExecutor($this);
// Do the Factory-Singleton method;
if (!TheFactoryMethodOfSingleton::checkHasInstance(__CLASS__)) {
// Set specific TPL object properties;
self::setExeTime(new S(__CLASS__));
self::$objPageTitle = new A();
self::$objPageCSS = new A();
self::$objPageJSS = new A();
self::$objMetaTAG = new A();
self::$objMetaEQV = new A();
self::$objMetaLNK = new A();
self::$objUserAgentCapability = new A();
self::$objPageTitleBackward = new I(0);
self::$objContainerHTML = new I(1);
self::$objTPLLoaded = new B(TRUE);
self::$objRequestIsPHP = new I(1);
self::$objTpEXECounter = new I(0);
// If this is a CSS File, then setupCSSEnvironmentIfCSSFile for it;
self::setupCSSEnvironmentIfCSSFile();
self::setupJSSEnvironmentIfJSSFile();
self::activateDeactiveAjax();
// Output Gzipped content, if that's the case for it;
self::setGzippedOutputRequest(new S('set_header_information'));
// Set document type, UserAgent stats and more ...
if (self::$objRequestIsPHP->toInt() == 1) {
// Set the document type to a default;
self::setDocumentType(new S('xhtml_strict'));
// Set an array of 'f_path' (file path);
self::$objFilePathArray = new A();
self::getUserAgentStats();
}
} else {
// Return the instantiated object;
return TheFactoryMethodOfSingleton::getInstance(__CLASS__);
}
}