コード例 #1
0
ファイル: Auth.class.php プロジェクト: GGF/baza4
 /**
  * Конструктор 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);
 }
コード例 #2
0
ファイル: adminhere.class.php プロジェクト: GGF/baza4
    /**
     * Конструктор переписан для интернационализации
     * @param type $name
     */
    public function __construct($name=false) {
	require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'i18n.php';
        parent::__construct($name);
    }
コード例 #3
0
ファイル: bashcite.class.php プロジェクト: GGF/baza4
	public function __construct($name=false) {
		parent::__construct($name);
		$this->bash = new bashcite_model();
	}
コード例 #4
0
ファイル: firstlevel.class.php プロジェクト: GGF/baza4
 function __construct($name = false)
 {
     parent::__construct($name);
 }
コード例 #5
0
ファイル: menu.class.php プロジェクト: GGF/baza4
 public function __construct($parent,$name=false) {
         parent::__construct($name);
 $this->items = array();
 $this->parent = $parent;
 }