Exemplo n.º 1
0
 public function __construct($name, $from, $to)
 {
     $this->name = $name;
     $this->from = $from;
     $this->to = $to;
     parent::__construct($this->template);
 }
 public function __construct($name, $mode = null, $say_value = null, $play_value = null, $tag = 'global')
 {
     $this->name = $name;
     $this->mode = $mode;
     $this->say_value = $say_value;
     $this->play_value = $play_value;
     $this->tag = $tag;
     parent::__construct($this->template);
 }
Exemplo n.º 3
0
 public function __construct($name, $label, $value = null)
 {
     $this->name = $name;
     $this->label = $this->buildLabel($label, $value);
     $this->value = $value;
     $this->owner_type = $this->buildOwnerType($value);
     $this->owner_id = $this->buildOwnerId($value);
     parent::__construct($this->template);
 }
Exemplo n.º 4
0
 public function __construct($name, $label, $applet, $icon_url, $value = null)
 {
     $this->name = $name;
     $this->label = $label;
     $this->value = $value;
     $this->type = $applet;
     // Deprecating
     $this->applet = $applet;
     $this->icon_url = $icon_url;
     parent::__construct($this->template);
 }