Пример #1
0
 public static function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new hrm_Ajax();
     }
     return self::$instance;
 }
Пример #2
0
 function instantiate()
 {
     Hrm_Ajax::getInstance();
     Hrm_Admin::getInstance();
     Hrm_Leave::getInstance();
     Hrm_Employee::getInstance();
 }