public function init($field = '', $title = '', $align = 'left', $nowrap = false, $width = 0, $visible = true, $options = null, $order = false, $filter = false) { parent::init($title, $align, $nowrap, $width, $visible, $options, $order, $filter); if ($field) { $this->setField($field); } }
public function __construct($name, $title = '', $align = 'left', $nowrap = false, $width = 0, $visible = true, $options = null, $order = false, $filter = false) { parent::__construct($title, $align, $nowrap, $width, $visible, $options, $order, $filter); $this->name = $name; }
public function onCreate() { parent::onCreate(); $this->align = 'left'; $this->type = 'link'; }
public function onCreate() { parent::onCreate(); $this->type = 'control'; }
public function init($attribute, $title = '', $align = 'left', $nowrap = false, $width = 0, $visible = true, $options = null, $order = false, $filter = false) { parent::init($title, $align, $nowrap, $width, $visible, $options, $order, $filter); $this->attribute = $attribute; }