コード例 #1
0
ファイル: footer.lib.php プロジェクト: rhertzog/lcs
 public static function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new ClaroFooter();
     }
     return self::$instance;
 }
コード例 #2
0
ファイル: display.lib.php プロジェクト: rhertzog/lcs
 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();
 }