@@ -16,11 +16,11 @@ discard block |
||
| 16 | 16 | * @param $name |
| 17 | 17 | * @return mixed |
| 18 | 18 | */ |
| 19 | - public function setName($name){
|
|
| 20 | - return $this->setProperty('name',$name);
|
|
| 19 | + public function setName($name) {
|
|
| 20 | + return $this->setProperty('name', $name);
|
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | - public function getName(){
|
|
| 23 | + public function getName() {
|
|
| 24 | 24 | return $this->getProperty('name');
|
| 25 | 25 | } |
| 26 | 26 | |
@@ -31,11 +31,11 @@ discard block |
||
| 31 | 31 | * @param bool $submitValue |
| 32 | 32 | * @return mixed |
| 33 | 33 | */ |
| 34 | - public function setSubmitValue($submitValue){
|
|
| 35 | - return $this->setProperty('submitValue',$submitValue);
|
|
| 34 | + public function setSubmitValue($submitValue) {
|
|
| 35 | + return $this->setProperty('submitValue', $submitValue);
|
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | - public function getSubmitValue(){
|
|
| 38 | + public function getSubmitValue() {
|
|
| 39 | 39 | return $this->getProperty('submitValue');
|
| 40 | 40 | } |
| 41 | 41 | |
@@ -46,11 +46,11 @@ discard block |
||
| 46 | 46 | * @param $disabled |
| 47 | 47 | * @return mixed |
| 48 | 48 | */ |
| 49 | - public function setDisabled($disabled){
|
|
| 50 | - return $this->setProperty('disabled',(bool)$disabled);
|
|
| 49 | + public function setDisabled($disabled) {
|
|
| 50 | + return $this->setProperty('disabled', (bool)$disabled);
|
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - public function getDisabled(){
|
|
| 53 | + public function getDisabled() {
|
|
| 54 | 54 | return $this->getProperty('disabled');
|
| 55 | 55 | } |
| 56 | 56 | |
@@ -61,11 +61,11 @@ discard block |
||
| 61 | 61 | * @param $value |
| 62 | 62 | * @return mixed |
| 63 | 63 | */ |
| 64 | - public function setValue($value){
|
|
| 65 | - return $this->setProperty('value',$value);
|
|
| 64 | + public function setValue($value) {
|
|
| 65 | + return $this->setProperty('value', $value);
|
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | - public function getValue(){
|
|
| 68 | + public function getValue() {
|
|
| 69 | 69 | return $this->getProperty('value');
|
| 70 | 70 | } |
| 71 | 71 | |
@@ -12,19 +12,19 @@ |
||
| 12 | 12 | class File extends Text |
| 13 | 13 | {
|
| 14 | 14 | |
| 15 | - public function setButtonText($buttonText){
|
|
| 16 | - return $this->setProperty('buttonText',$buttonText);
|
|
| 15 | + public function setButtonText($buttonText) {
|
|
| 16 | + return $this->setProperty('buttonText', $buttonText);
|
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | - public function getButtonText(){
|
|
| 19 | + public function getButtonText() {
|
|
| 20 | 20 | return $this->getProperty('buttonText');
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | - public function setButtonOnly($buttonOnly){
|
|
| 24 | - return $this->setProperty('buttonOnly',$buttonOnly);
|
|
| 23 | + public function setButtonOnly($buttonOnly) {
|
|
| 24 | + return $this->setProperty('buttonOnly', $buttonOnly);
|
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - public function getButtonOnly(){
|
|
| 27 | + public function getButtonOnly() {
|
|
| 28 | 28 | return $this->getProperty('buttonOnly');
|
| 29 | 29 | } |
| 30 | 30 | |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | class Display extends Base |
| 13 | 13 | {
|
| 14 | 14 | |
| 15 | - public function setHtmlEncode($htmlEncode){
|
|
| 16 | - return $this->setProperty('htmlEncode',$htmlEncode);
|
|
| 15 | + public function setHtmlEncode($htmlEncode) {
|
|
| 16 | + return $this->setProperty('htmlEncode', $htmlEncode);
|
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | - public function getHtmlEncode(){
|
|
| 19 | + public function getHtmlEncode() {
|
|
| 20 | 20 | return $this->getProperty('htmlEncode');
|
| 21 | 21 | } |
| 22 | 22 | |
@@ -16,11 +16,11 @@ discard block |
||
| 16 | 16 | * @param $allowBlank |
| 17 | 17 | * @return $this |
| 18 | 18 | */ |
| 19 | - public function setAllowBlank($allowBlank){
|
|
| 20 | - return $this->setProperty('allowBlank',$allowBlank);
|
|
| 19 | + public function setAllowBlank($allowBlank) {
|
|
| 20 | + return $this->setProperty('allowBlank', $allowBlank);
|
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | - public function getAllowBlank(){
|
|
| 23 | + public function getAllowBlank() {
|
|
| 24 | 24 | return $this->getProperty('allowBlank');
|
| 25 | 25 | } |
| 26 | 26 | |
@@ -29,11 +29,11 @@ discard block |
||
| 29 | 29 | * @param $grow |
| 30 | 30 | * @return $this |
| 31 | 31 | */ |
| 32 | - public function setGrow($grow){
|
|
| 32 | + public function setGrow($grow) {
|
|
| 33 | 33 | return $this->setProperty('grow', $grow);
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - public function getGrow(){
|
|
| 36 | + public function getGrow() {
|
|
| 37 | 37 | return $this->getProperty('grow');
|
| 38 | 38 | } |
| 39 | 39 | |
@@ -42,11 +42,11 @@ discard block |
||
| 42 | 42 | * @param $editable |
| 43 | 43 | * @return $this |
| 44 | 44 | */ |
| 45 | - public function setEditable($editable){
|
|
| 46 | - return $this->setProperty('editable',$editable);
|
|
| 45 | + public function setEditable($editable) {
|
|
| 46 | + return $this->setProperty('editable', $editable);
|
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - public function getEditable(){
|
|
| 49 | + public function getEditable() {
|
|
| 50 | 50 | return $this->getProperty('editable');
|
| 51 | 51 | } |
| 52 | 52 | |
@@ -12,43 +12,43 @@ |
||
| 12 | 12 | class Number extends Text |
| 13 | 13 | {
|
| 14 | 14 | |
| 15 | - public function setMaxValue($maxValue){
|
|
| 16 | - return $this->setProperty('maxValue',$maxValue);
|
|
| 15 | + public function setMaxValue($maxValue) {
|
|
| 16 | + return $this->setProperty('maxValue', $maxValue);
|
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | - public function getMaxValue(){
|
|
| 19 | + public function getMaxValue() {
|
|
| 20 | 20 | return $this->getProperty('maxValue');
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | - public function setMinValue($minValue){
|
|
| 24 | - return $this->setProperty('minValue',$minValue);
|
|
| 23 | + public function setMinValue($minValue) {
|
|
| 24 | + return $this->setProperty('minValue', $minValue);
|
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - public function getMinValue(){
|
|
| 27 | + public function getMinValue() {
|
|
| 28 | 28 | return $this->getProperty('minValue');
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | - public function setAllowDecimals($allowDecimals){
|
|
| 32 | - return $this->setProperty('allowDecimals',(bool)$allowDecimals);
|
|
| 31 | + public function setAllowDecimals($allowDecimals) {
|
|
| 32 | + return $this->setProperty('allowDecimals', (bool)$allowDecimals);
|
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - public function getAllowDecimals(){
|
|
| 35 | + public function getAllowDecimals() {
|
|
| 36 | 36 | return $this->getProperty('allowDecimals');
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - public function setDecimalPrecision($decimalPrecision){
|
|
| 40 | - return $this->setProperty('decimalPrecision',$decimalPrecision);
|
|
| 39 | + public function setDecimalPrecision($decimalPrecision) {
|
|
| 40 | + return $this->setProperty('decimalPrecision', $decimalPrecision);
|
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - public function getDecimalPrecision(){
|
|
| 43 | + public function getDecimalPrecision() {
|
|
| 44 | 44 | return $this->getProperty('decimalPrecision');
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - public function setDecimalSeparator($decimalSeparator){
|
|
| 48 | - return $this->setProperty('decimalSeparator',$decimalSeparator);
|
|
| 47 | + public function setDecimalSeparator($decimalSeparator) {
|
|
| 48 | + return $this->setProperty('decimalSeparator', $decimalSeparator);
|
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | - public function getDecimalSeparator(){
|
|
| 51 | + public function getDecimalSeparator() {
|
|
| 52 | 52 | return $this->getProperty('decimalSeparator');
|
| 53 | 53 | } |
| 54 | 54 | |
@@ -12,51 +12,51 @@ |
||
| 12 | 12 | class Date extends Base |
| 13 | 13 | {
|
| 14 | 14 | |
| 15 | - public function setFormat($format){
|
|
| 16 | - return $this->setProperty('format',$format);
|
|
| 15 | + public function setFormat($format) {
|
|
| 16 | + return $this->setProperty('format', $format);
|
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | - public function getFormat(){
|
|
| 19 | + public function getFormat() {
|
|
| 20 | 20 | return $this->getProperty('format');
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | - public function setShowToday($showToday){
|
|
| 24 | - return $this->setProperty('showToday',$showToday);
|
|
| 23 | + public function setShowToday($showToday) {
|
|
| 24 | + return $this->setProperty('showToday', $showToday);
|
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - public function getShowToday(){
|
|
| 27 | + public function getShowToday() {
|
|
| 28 | 28 | return $this->getProperty('showToday');
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | - public function setStartDay($startDay){
|
|
| 32 | - return $this->setProperty('startDay',$startDay);
|
|
| 31 | + public function setStartDay($startDay) {
|
|
| 32 | + return $this->setProperty('startDay', $startDay);
|
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - public function getStartDay(){
|
|
| 35 | + public function getStartDay() {
|
|
| 36 | 36 | return $this->getProperty('startDay');
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - public function setSubmitFormat($submitFormat){
|
|
| 40 | - return $this->setProperty('submitFormat',$submitFormat);
|
|
| 39 | + public function setSubmitFormat($submitFormat) {
|
|
| 40 | + return $this->setProperty('submitFormat', $submitFormat);
|
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - public function getSubmitFormat(){
|
|
| 43 | + public function getSubmitFormat() {
|
|
| 44 | 44 | return $this->getProperty('submitFormat');
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - public function setMinValue($minValue){
|
|
| 48 | - return $this->setProperty('minValue',$minValue);
|
|
| 47 | + public function setMinValue($minValue) {
|
|
| 48 | + return $this->setProperty('minValue', $minValue);
|
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | - public function getMinValue(){
|
|
| 51 | + public function getMinValue() {
|
|
| 52 | 52 | return $this->getProperty('minValue');
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - public function setMaxValue($maxValue){
|
|
| 56 | - return $this->setProperty('maxValue',$maxValue);
|
|
| 55 | + public function setMaxValue($maxValue) {
|
|
| 56 | + return $this->setProperty('maxValue', $maxValue);
|
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | - public function getMaxValue(){
|
|
| 59 | + public function getMaxValue() {
|
|
| 60 | 60 | return $this->getProperty('maxValue');
|
| 61 | 61 | } |
| 62 | 62 | |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | use Ext\Form\Labelable; |
| 14 | 14 | use Ext\Form\LabelableInterface; |
| 15 | 15 | |
| 16 | -abstract class Base extends Component implements FieldInterface,LabelableInterface |
|
| 16 | +abstract class Base extends Component implements FieldInterface, LabelableInterface |
|
| 17 | 17 | {
|
| 18 | 18 | use Field, Labelable; |
| 19 | 19 | |
@@ -23,8 +23,8 @@ discard block |
||
| 23 | 23 | * @param $inputId |
| 24 | 24 | * @return $this |
| 25 | 25 | */ |
| 26 | - public function setInputId($inputId){
|
|
| 27 | - return $this->setProperty('inputId',$inputId);
|
|
| 26 | + public function setInputId($inputId) {
|
|
| 27 | + return $this->setProperty('inputId', $inputId);
|
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * @param $readOnly |
| 33 | 33 | * @return $this |
| 34 | 34 | */ |
| 35 | - public function setReadOnly($readOnly){
|
|
| 36 | - return $this->setProperty('readOnly',(bool)$readOnly);
|
|
| 35 | + public function setReadOnly($readOnly) {
|
|
| 36 | + return $this->setProperty('readOnly', (bool)$readOnly);
|
|
| 37 | 37 | } |
| 38 | 38 | } |
| 39 | 39 | \ No newline at end of file |
@@ -15,60 +15,60 @@ |
||
| 15 | 15 | {
|
| 16 | 16 | use StoreHolder; |
| 17 | 17 | |
| 18 | - public function setValueField($valueField){
|
|
| 19 | - return $this->setProperty('valueField',$valueField);
|
|
| 18 | + public function setValueField($valueField) {
|
|
| 19 | + return $this->setProperty('valueField', $valueField);
|
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | - public function getValueField(){
|
|
| 22 | + public function getValueField() {
|
|
| 23 | 23 | return $this->getProperty('valueField');
|
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | |
| 27 | - public function setDisplayField($displayField){
|
|
| 28 | - return $this->setProperty('displayField',$displayField);
|
|
| 27 | + public function setDisplayField($displayField) {
|
|
| 28 | + return $this->setProperty('displayField', $displayField);
|
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | - public function getDisplayField(){
|
|
| 31 | + public function getDisplayField() {
|
|
| 32 | 32 | return $this->getProperty('displayField');
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - public function setTypeAhead($typeAhead){
|
|
| 36 | - return $this->setProperty('typeAhead',(bool)$typeAhead);
|
|
| 35 | + public function setTypeAhead($typeAhead) {
|
|
| 36 | + return $this->setProperty('typeAhead', (bool)$typeAhead);
|
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - public function getTypeAhead(){
|
|
| 39 | + public function getTypeAhead() {
|
|
| 40 | 40 | return $this->getProperty('typeAhead');
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - public function setAutoSelect($autoSelect){
|
|
| 44 | - return $this->setProperty('autoSelect',(bool)$autoSelect);
|
|
| 43 | + public function setAutoSelect($autoSelect) {
|
|
| 44 | + return $this->setProperty('autoSelect', (bool)$autoSelect);
|
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - public function getAutoSelect(){
|
|
| 47 | + public function getAutoSelect() {
|
|
| 48 | 48 | return $this->getProperty('autoSelect');
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | - public function setForceSelection($forceSelection){
|
|
| 52 | - return $this->setProperty('forceSelection',(bool)$forceSelection);
|
|
| 51 | + public function setForceSelection($forceSelection) {
|
|
| 52 | + return $this->setProperty('forceSelection', (bool)$forceSelection);
|
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - public function getForceSelection(){
|
|
| 55 | + public function getForceSelection() {
|
|
| 56 | 56 | return $this->getProperty('forceSelection');
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | - public function setQueryMode($queryMode){
|
|
| 60 | - return $this->setProperty('queryMode',$queryMode);
|
|
| 59 | + public function setQueryMode($queryMode) {
|
|
| 60 | + return $this->setProperty('queryMode', $queryMode);
|
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | - public function getQueryMode(){
|
|
| 63 | + public function getQueryMode() {
|
|
| 64 | 64 | return $this->getProperty('queryMode');
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - public function setAutoLoadOnValue($autoLoadOnValue){
|
|
| 68 | - return $this->setProperty('autoLoadOnValue',$autoLoadOnValue);
|
|
| 67 | + public function setAutoLoadOnValue($autoLoadOnValue) {
|
|
| 68 | + return $this->setProperty('autoLoadOnValue', $autoLoadOnValue);
|
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | - public function getAutoLoadOnValue(){
|
|
| 71 | + public function getAutoLoadOnValue() {
|
|
| 72 | 72 | return $this->getProperty('autoLoadOnValue');
|
| 73 | 73 | } |
| 74 | 74 | |
@@ -12,19 +12,19 @@ |
||
| 12 | 12 | class Checkbox extends Base |
| 13 | 13 | {
|
| 14 | 14 | |
| 15 | - public function setBoxLabel($boxLabel){
|
|
| 16 | - return $this->setProperty('boxLabel',$boxLabel);
|
|
| 15 | + public function setBoxLabel($boxLabel) {
|
|
| 16 | + return $this->setProperty('boxLabel', $boxLabel);
|
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | - public function setChecked($checked){
|
|
| 20 | - return $this->setProperty('checked',(bool)$checked);
|
|
| 19 | + public function setChecked($checked) {
|
|
| 20 | + return $this->setProperty('checked', (bool)$checked);
|
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | - public function getChecked(){
|
|
| 23 | + public function getChecked() {
|
|
| 24 | 24 | return $this->getProperty('checked');
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - public function getBoxLabel(){
|
|
| 27 | + public function getBoxLabel() {
|
|
| 28 | 28 | return $this->getProperty('boxLabel');
|
| 29 | 29 | } |
| 30 | 30 | |