本文整理汇总了PHP中TPL::manageLNK方法的典型用法代码示例。如果您正苦于以下问题:PHP TPL::manageLNK方法的具体用法?PHP TPL::manageLNK怎么用?PHP TPL::manageLNK使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TPL
的用法示例。
在下文中一共展示了TPL::manageLNK方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tieInWithFrontend
/**
* Will tie the current object with the frontend object;
*
* This method, given the Frontend object will tie the given object with it. It's a way we can make specific code execute
* upon instantiating those objects in the frontend of the webiste. Almost the same principle we apply on the backend, but
* with a minor twist in it (as we don't automatically do it for the front);
*
* @param $objFrontendObject The frontend object;
* @return mixed God knows what ...
*/
public function tieInWithFrontend(Frontend $objFrontendObject)
{
// Do a CALL to the parent;
parent::tieInWithFrontend($objFrontendObject);
// RSS ...
TPL::manageLNK(new S(ARTICLES_RSS_FEED), new S(Frontend::RSS_ALTERNATE), new S(Frontend::RSS_TYPE), URL::staticURL(new A(array(FRONTEND_SECTION_URL, FRONTEND_FEED_URL)), new A(array(FRONTEND_RSS_XML, __CLASS__))));
}