Esempio n. 1
0
 /**
  * Инициальзиция переменных, когда объект уже есть
  */
 public function init()
 {
     parent::init();
     $this->success = false;
     $this->_model = new Auth_model();
     $this->_view = new Auth_view();
 }
Esempio n. 2
0
 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
     );
 }
Esempio n. 3
0
    /**
     * Конструктор переписан для интернационализации
     * @param type $name
     */
    public function __construct($name=false) {
	require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'i18n.php';
        parent::__construct($name);
    }
Esempio n. 4
0
 /**
  * Коннструктор
  * @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();
 }
Esempio n. 5
0
	public function __construct($name=false) {
		parent::__construct($name);
		$this->bash = new bashcite_model();
	}
Esempio n. 6
0
 function __construct($name = false)
 {
     parent::__construct($name);
 }
Esempio n. 7
0
 public function __construct($parent,$name=false) {
         parent::__construct($name);
 $this->items = array();
 $this->parent = $parent;
 }