/**
  * Constructor
  *
  * @access public
  */
 public function __construct($attributes = array(), $cdata = null)
 {
     parent::__construct($attributes, $cdata);
     $this->addAttributeDefinitions(array('cellRenderer' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'dataProvider' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'dragEnabled' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'iconField' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'iconFunction' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'labelField' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'labelFunction' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'multipleSelection' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'rowCount' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'rowHeight' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'rowRenderer' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'selectable' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'selectedIndex' => array('required' => false, 'type' => 'int', 'since' => '1.0')));
 }
示例#2
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct($attributes = array(), $cdata = null)
 {
     parent::__construct($attributes, $cdata);
     $this->addAttributeDefinitions(array('editable' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'htmlText' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'maxChars' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'password' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'restrict' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'text' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'wordWrap' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'change' => array('required' => false, 'type' => 'string', 'since' => '1.0')));
 }