Esempio n. 1
0
 public static function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new ClaroBanner();
     }
     return self::$instance;
 }
Esempio n. 2
0
 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();
 }