public function &getObj() { if (!$this->myObj) { $obj =& parent::getObj(); $obj['type'] = 'headerbutton'; $obj['text'] = $this->getAttribute('title'); } return $this->myObj; }
public function &getObj() { if (!$this->myObj) { $obj =& parent::getObj(); $obj['type'] = 'html'; $obj['text'] = $this->html; } return $this->myObj; }
public function &getObj() { if (!$this->myObj) { $obj =& parent::getObj(); $obj['type'] = 'image'; $myImage =& $this->getImageObject('image'); if ($myImage) { $obj['image'] = $myImage['id']; } } return $this->myObj; }
public function &getObj() { if (!$this->myObj) { $obj =& parent::getObj(); $obj['type'] = 'plain'; $obj['text'] = $this->getAttribute('title'); $myImage =& $this->getImageObject('thumbnail'); if ($myImage) { $obj['image'] = $myImage['id']; } } return $this->myObj; }
public function &getObj() { if (!$this->myObj) { $obj =& parent::getObj(); $obj['type'] = 'location'; $obj['latitude'] = $this->getAttribute('latitude'); $obj['longitude'] = $this->getAttribute('longitude'); $obj['title'] = $this->getAttribute('title'); $obj['text'] = $this->getAttribute('subtitle'); $myImage =& $this->getImageObject('image'); if ($myImage) { $obj['image'] = $myImage['id']; } } return $this->myObj; }