function footer($refresh = false) { if (!self::$isFooterSet || $refresh) { self::$isFooterSet = true; $footer = new Footer(); return $footer->returnFooterView(); } }