/** * Initializes feature. * * @param string $title feature title * @param string $description feature description (3-liner) * @param string $file feature filename * @param integer $line definition line */ public function __construct($title = null, $description = null, $file = null, $line = 0) { parent::__construct($line); $this->title = $title; $this->description = $description; $this->file = $file; }
/** * Sets the text for this node. * * @param string $text */ public function __construct($text) { // remove double spaces $text = mb_ereg_replace('\\s+', ' ', $text); $this->text = $text; $this->tag = new Tag('text'); parent::__construct(); }
public function __construct($id = null) { parent::__construct(); $this->module = "conference"; if ($id) { $this->data->id = $id; } }
/** Creates an element. * @param string $name the HTML tag of this element. * @param array $attributes the attributes of this element. * @param Element|string $children child nodes for the element. String values will be added as * {@link TextNode}s. */ public function __construct($name, $attributes = array(), ...$children) { // Do not pass children, the parent does not convert them to the correct type if necessary. parent::__construct(); $this->name = $name; $this->attributes = $attributes; $this->append(...$children); }
public function __construct($id = null) { parent::__construct(); $this->module = "voicemail"; if (isset($id)) { $this->id($id); } }
public function __construct($timezone = null) { parent::__construct(); $this->module = "temporal_route"; if (isset($timezone)) { $this->data->timezone = $timezone; } }
public function __construct($id = NULL) { parent::__construct(); $this->module = "resources"; if (isset($id)) { $this->huntAccountId($id); } else { $this->useLocalResources(FALSE); } }
/** * Sets the text for this node. * * @param string $text */ public function __construct($text) { // remove double spaces $text = mb_ereg_replace('\\s+', ' ', $text); // restore line breaks $text = str_replace('
', "\n", $text); $this->text = $text; $this->tag = new Tag('text'); parent::__construct(); }
/** * ArrayNode constructor. * @param int|Node $header */ public function __construct($header, $className = null) { parent::__construct($className); $this->header = $header; }
public function __construct() { parent::__construct(); $this->module = "hotdesk"; }
public function __construct($id) { parent::__construct(); $this->module = "device"; $this->data->id = $id; }
public function __construct() { parent::__construct(); $this->module = "intercom"; }
public function __construct($value) { $this->previousNode = NULL; parent::__construct($value); }
public function __construct($language) { parent::__construct(); $this->module = "language"; $this->data->language = $language; }
public function __construct($fileName, array $childNodes = []) { $this->fileName = $fileName; parent::__construct([], $childNodes); }
/** * Initializes scenario. * * @param string $title Scenario title * @param integer $line Definition line */ public function __construct($title = null, $line = 0) { parent::__construct($line); $this->title = $title; }
public function __construct() { parent::__construct(); $this->module = "privacy"; }
public function __construct() { parent::__construct(); $this->module = "call_forward"; }
public function __construct($id) { parent::__construct(); $this->module = "callflow"; $this->data->id = $id; }
/** Creates a node. * @param string $content the text value of the node. */ public function __construct($text) { parent::__construct(); $this->text = htmlspecialchars($text, ENT_NOQUOTES); }
/** * Initizalizes step. * * @param string $type Step type * @param string $text Step text * @param integer $line Definition line */ public function __construct($type, $text = null, $line = 0) { parent::__construct($line); $this->type = $type; $this->text = $text; }
public function __construct() { parent::__construct(); $this->module = "pivot"; }
public function __construct($parent, $joinType) { $this->joinType = $joinType; parent::__construct($parent); }