public function __construct($title, $subtitle, $longitude, $latitude)
 {
     parent::__construct('marker');
     $this->setTitle($title);
     $this->setSubTitle($subtitle);
     $this->setPosition($longitude, $latitude);
 }
 public function __construct($title, $subtitle, $url = null)
 {
     parent::__construct('thumblink');
     $this->setTitle($title);
     $this->setSubTitle($subtitle);
     $this->setThumbnail($url);
 }
 public function __construct($title, $imgURL = null)
 {
     parent::__construct('tab');
     $this->setTitle($title);
     $this->setImage($imgURL);
     $this->setShowArrow(false);
 }
 public function __construct($title, $icon = null)
 {
     parent::__construct('textlink');
     $this->setTitle($title);
     if ($icon) {
         $this->setIcon($icon);
     }
 }
 public function __construct($title)
 {
     parent::__construct('button');
     $this->setTitle($title);
 }
 public function __construct($url)
 {
     parent::__construct('image');
     $this->setImage($url);
 }
 public function __construct($imageurl)
 {
     parent::__construct('galleryimage');
     $this->setImage($imageurl);
 }
 public function __construct($title, $subtitle = null)
 {
     parent::__construct('plainlink');
     $this->setTitle($title);
     $this->setSubTitle($subtitle);
 }
 public function __construct($html)
 {
     parent::__construct('html');
     $this->setHTML($html);
 }