/** * 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); // JSS ... TPL::manageJSS(new FilePath($this->getPathToSkinJSS()->toRelativePath() . $this->getObjectCLASS($objFrontendObject) . JSS_EXTENSION), new S(__CLASS__)); }
/** * 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__)))); }
/** * 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); }