Beispiel #1
0
 /**
  * Sets coordinates as a value if available.
  * @param  bool|array
  * @return ImageButton  provides a fluent interface
  */
 public function setValue($value)
 {
     parent::setValue($value);
     if (is_array($value) && isset($value[0], $value[1])) {
         $this->value = $value;
     }
     return $this;
 }