Esempio n. 1
0
 protected function createElement()
 {
     $element = parent::createElement();
     $element->append($this->createInput("{$this->id}[0]", 'selectionStart'));
     $element->append($this->createInput("{$this->id}[1]", 'selectionEnd'));
     return $element;
 }
Esempio n. 2
0
 public function properties()
 {
     $properties = parent::properties();
     //remove tagName from init script
     unset($properties['tagName']);
     //adjust pager settings
     $pageable = $properties['pageable'];
     if ($pageable) {
         if (!is_array($pageable)) {
             $pageable = array();
         }
         $pageable['pagerId'] = "{$this->id}_pager";
         $properties['pageable'] = $pageable;
     }
     return $properties;
 }
Esempio n. 3
0
 function __construct($id, $data = null)
 {
     parent::__construct($id);
     $this->data($data);
 }