public function __construct($name, $byRef, $scope = self::SCOPE_GLOBAL, $extra = null) { parent::__construct($name); $this->byRef = (bool) $byRef; $this->scope = $scope; $this->extra = $extra; }
public function __construct($id = '') { parent::__construct(); if ($id > 0) { if (!$this->charger_id($id)) { throw new TheliaAdminException("Variable not found", TheliaAdminException::VARIABLE_NOT_FOUND); } } }
public function __construct($nom, $titre, $label, $defaut, $type) { parent::__construct(); $this->nom = $nom; $this->titre = $titre; $this->label = $label; $this->defaut = $defaut; $this->type = $type; $this->charger(); }
/** * */ public function __construct($domain, $section, $variable) { parent::__construct($domain, $section, $variable); }
/** * Construct the Variable object * @param string $key The variable name * @param string $value The variable's value * @param integer $type Integer value of the type (@see Type) */ public function __construct($key, $value, $type) { parent::__construct($value, $type); $this->key = $key; }
/** * VariableProperty class constructor. * * @param Variable $parent Parent Variable instance * @param string $name Property name * @param mixed $value Default Property value (default: null) */ public function __construct(Variable $parent, $name, $value = null) { $this->parent = $parent; parent::__construct($name, $value); }
public function __construct(&$key, $name, &$prior) { parent::__construct($name, $prior); $this->_key =& $key; }
/** * Constructor * * @param string $name Name of variable * @param \DateTime $date Value of variable */ public function __construct($name, \DateTime $date = null) { parent::__construct($name, $date); }
public function __construct($value) { $this->value = $value; parent::__construct(); }