public static function getInstance() { if (!self::$instance) { self::$instance = new ClaroBanner(); } return self::$instance; }
public function __construct() { // HACK : force loading translation here to avoid having to rewrite the kernel ! language::load_translation(); $this->header = ClaroHeader::getInstance(); $this->body = ClaroBody::getInstance(); $this->banner = ClaroBanner::getInstance(); $this->footer = ClaroFooter::getInstance(); }