/** * 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) { self::$objFrontend = $objFrontendObject; }