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