Lines Matching defs:type
65 private $type;
95 $this->type = strtolower($typeButton);
96 if (!in_array($this->type, self::TYPE_BUTTONS)) {
97 throw new ExceptionCompile("The button type ($this->type} is unknown.");
104 * Return all combination of widget type and icon type
141 throw new ExceptionCompile("The {$this->type} widget ($widget} is unknown. The possible widgets value are " . implode(",", self::WIDGETS));
157 throw new ExceptionCompile("The icon type ($iconType) is unknown. The possible icons value are " . implode(",", self::ICON_TYPES));
220 $urlTemplate = $this->brand->getWebUrlTemplate($this->type);
222 throw new ExceptionBadArgument("The brand ($this) does not support the $this->type button (The $this->type URL is unknown)");
224 switch ($this->type) {
262 // The type is mandatory and checked at creation,
264 $message = "Button type ($this->type) is unknown";
287 switch ($this->type) {
295 return "Button type ($this->type) is unknown";
550 $logicalTag = $this->type;
555 switch ($this->type) {
625 return $this->type;