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