public function &getObj()
 {
     if (!$this->myObj) {
         $obj =& parent::getObj();
         $obj['type'] = 'checkbox';
         $obj['value'] = $this->value;
         $obj['title'] = $this->getAttribute('title');
     }
     return $this->myObj;
 }
 public function &getObj()
 {
     if (!$this->myObj) {
         $obj =& parent::getObj();
         $obj['type'] = 'picker';
         $obj['title'] = $this->getAttribute('title');
         $obj['pickertype'] = $this->pickerType;
         $obj['defaultValue'] = $this->getAttribute('defaultvalue');
     }
     return $this->myObj;
 }
 public function &getObj()
 {
     if (!$this->myObj) {
         $obj =& parent::getObj();
         $obj['type'] = 'textarea';
         $obj['title'] = $this->getAttribute('title');
         $obj['defaultValue'] = $this->getAttribute('defaultvalue');
         $obj['placeholder'] = $this->placeholder;
     }
     return $this->myObj;
 }
 public function &getObj()
 {
     if (!$this->myObj) {
         $obj =& parent::getObj();
         $obj['type'] = 'select';
         $obj['title'] = $this->getAttribute('title');
         $obj['defaultValue'] = $this->getAttribute('defaultvalue');
         $obj['options'] = array();
         foreach ($this->options as $options) {
             $o = array('id' => AppBuilderAPIElement::id(), 'name' => $options['title'], 'value' => $options['value'], 'item' => $obj['id']);
             $obj['options'][] = $o;
         }
     }
     return $this->myObj;
 }
 public function &getObj()
 {
     if (!$this->myObj) {
         $obj =& parent::getObj();
         $obj['type'] = 'capture';
         $obj['title'] = $this->getAttribute('title');
         $obj['text'] = $this->getAttribute('subtitle');
         $obj['capturetype'] = $this->getAttribute('type');
         $myImage =& $this->getImageObject('thumbnail');
         if ($myImage) {
             $obj['image'] = $myImage['id'];
         }
     }
     return $this->myObj;
 }