Esempio n. 1
0
 /**
  * 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;
 }
Esempio n. 2
0
 /**
  * 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();
 }
Esempio n. 3
0
 public function __construct($id = null)
 {
     parent::__construct();
     $this->module = "conference";
     if ($id) {
         $this->data->id = $id;
     }
 }
Esempio n. 4
0
 /** 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);
 }
Esempio n. 5
0
 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;
     }
 }
Esempio n. 7
0
 public function __construct($id = NULL)
 {
     parent::__construct();
     $this->module = "resources";
     if (isset($id)) {
         $this->huntAccountId($id);
     } else {
         $this->useLocalResources(FALSE);
     }
 }
Esempio n. 8
0
 /**
  * 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('&#10', "\n", $text);
     $this->text = $text;
     $this->tag = new Tag('text');
     parent::__construct();
 }
Esempio n. 9
0
 /**
  * ArrayNode constructor.
  * @param int|Node $header
  */
 public function __construct($header, $className = null)
 {
     parent::__construct($className);
     $this->header = $header;
 }
Esempio n. 10
0
 public function __construct()
 {
     parent::__construct();
     $this->module = "hotdesk";
 }
Esempio n. 11
0
 public function __construct($id)
 {
     parent::__construct();
     $this->module = "device";
     $this->data->id = $id;
 }
Esempio n. 12
0
 public function __construct()
 {
     parent::__construct();
     $this->module = "intercom";
 }
Esempio n. 13
0
 public function __construct($value)
 {
     $this->previousNode = NULL;
     parent::__construct($value);
 }
Esempio n. 14
0
 public function __construct($language)
 {
     parent::__construct();
     $this->module = "language";
     $this->data->language = $language;
 }
Esempio n. 15
0
 public function __construct($fileName, array $childNodes = [])
 {
     $this->fileName = $fileName;
     parent::__construct([], $childNodes);
 }
Esempio n. 16
0
 /**
  * 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;
 }
Esempio n. 17
0
 public function __construct()
 {
     parent::__construct();
     $this->module = "privacy";
 }
Esempio n. 18
0
 public function __construct()
 {
     parent::__construct();
     $this->module = "call_forward";
 }
Esempio n. 19
0
 public function __construct($id)
 {
     parent::__construct();
     $this->module = "callflow";
     $this->data->id = $id;
 }
Esempio n. 20
0
 /** Creates a node.
  * @param   string                 $content            the text value of the node. */
 public function __construct($text)
 {
     parent::__construct();
     $this->text = htmlspecialchars($text, ENT_NOQUOTES);
 }
Esempio n. 21
0
 /**
  * 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;
 }
Esempio n. 22
0
 public function __construct()
 {
     parent::__construct();
     $this->module = "pivot";
 }
Esempio n. 23
0
 public function __construct($parent, $joinType)
 {
     $this->joinType = $joinType;
     parent::__construct($parent);
 }