Ejemplo n.º 1
0
 /**
  * get the instance of this class
  * @return	object	the instance
  */
 public static function get_instance()
 {
     if (!self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Ejemplo n.º 2
0
 public static function get_instance()
 {
     if (!Kanban::$instance) {
         Kanban::$instance = new self();
     }
     return Kanban::$instance;
 }