/** * getCommonAttributes * * @return array */ protected function getCommonAttributes() { $list = parent::getCommonAttributes(); unset($list['value']); return $list; }
/** * getCommonAttributes * * @return array */ protected function getCommonAttributes() { $list = parent::getCommonAttributes(); $list['value'] = '1'; return $list; }
/** * getCommonAttributes * * @return array */ protected function getCommonAttributes() { $list = parent::getCommonAttributes(); $list['value'] = '1'; if ($this->isDisabled()) { $list['disabled'] = 'disabled'; } return $list; }