Example #1
0
 /**
  * Конструктор Singleton
  * @param type $name
  * @param type $directCall
  */
 public function __construct($name = false, $directCall = true)
 {
     // Интернационализируем
     require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'i18n.php';
     if ($directCall) {
         trigger_error(Lang::getString('Auth.errors.noconstructor'), E_USER_ERROR);
     }
     parent::__construct($name);
 }
Example #2
0
    /**
     * Конструктор переписан для интернационализации
     * @param type $name
     */
    public function __construct($name=false) {
	require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'i18n.php';
        parent::__construct($name);
    }
Example #3
0
	public function __construct($name=false) {
		parent::__construct($name);
		$this->bash = new bashcite_model();
	}
Example #4
0
 function __construct($name = false)
 {
     parent::__construct($name);
 }
Example #5
0
 public function __construct($parent,$name=false) {
         parent::__construct($name);
 $this->items = array();
 $this->parent = $parent;
 }