コード例 #1
0
ファイル: Auth.class.php プロジェクト: GGF/baza4
 /**
  * Инициальзиция переменных, когда объект уже есть
  */
 public function init()
 {
     parent::init();
     $this->success = false;
     $this->_model = new Auth_model();
     $this->_view = new Auth_view();
 }
コード例 #2
0
ファイル: UriConstructor.class.php プロジェクト: GGF/baza4
 public function setAct(/* .... */) {
     $lego = lego_abstract::current();
     $params = array($lego->getName());
     $params = array_merge($params, func_get_args());
     return call_user_func_array(
             array($this, "set"),
             $params
     );
 }
コード例 #3
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);
    }
コード例 #4
0
ファイル: lego_abstract.class.php プロジェクト: GGF/baza4
 /**
  * Коннструктор
  * @param string $name
  * Имя лего
  * @return none
  */
 public function __construct($name = false)
 {
     parent::__construct();
     self::$all_legos[] = $this;
     $this->lego_runner = lego_abstract::current();
     self::$runned_legos[] = $this;
     if (!$name) {
         $name = get_class($this);
     }
     $this->name = $name;
     $this->dir = $this->getDir();
     $this->init();
 }
コード例 #5
0
ファイル: bashcite.class.php プロジェクト: GGF/baza4
	public function __construct($name=false) {
		parent::__construct($name);
		$this->bash = new bashcite_model();
	}
コード例 #6
0
ファイル: firstlevel.class.php プロジェクト: GGF/baza4
 function __construct($name = false)
 {
     parent::__construct($name);
 }
コード例 #7
0
ファイル: menu.class.php プロジェクト: GGF/baza4
 public function __construct($parent,$name=false) {
         parent::__construct($name);
 $this->items = array();
 $this->parent = $parent;
 }