예제 #1
0
파일: banner.lib.php 프로젝트: rhertzog/lcs
 public static function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new ClaroBanner();
     }
     return self::$instance;
 }
예제 #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();
 }