Exemple #1
0
 public static function getInstance(array $config = array())
 {
     if (!self::$instance) {
         self::$instance = new self($config);
     }
     return self::$instance;
 }
Exemple #2
0
 public static function view($config = array())
 {
     return J2ViewHelper::getInstance($config);
 }