本文整理匯總了PHP中TPL::objMetaTAG方法的典型用法代碼示例。如果您正苦於以下問題:PHP TPL::objMetaTAG方法的具體用法?PHP TPL::objMetaTAG怎麽用?PHP TPL::objMetaTAG使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類TPL
的用法示例。
在下文中一共展示了TPL::objMetaTAG方法的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__);
}
}