示例#1
0
 public function init($field = '', $title = '', $href = '', $width = 0, $visible = true, $options = null, $order = false, $filter = false)
 {
     parent::init($title, $href, $width, $visible, $options, $order, $filter);
     if ($field) {
         $this->setField($field);
     }
 }
示例#2
0
 public function init($attribute, $title = '', $href, $width = 0, $visible = true, $options = null, $order = false, $filter = false)
 {
     parent::init($title, $href, $width, $visible, $options, $order, $filter);
     $this->attribute = $attribute;
 }