framework/Web/UI/ActiveControls/TActiveDatePicker.php 1 location
|
@@ 65-74 (lines=10) @@
|
| 62 |
|
* Get javascript date picker options. |
| 63 |
|
* @return array date picker client-side options |
| 64 |
|
*/ |
| 65 |
|
protected function getDatePickerOptions() |
| 66 |
|
{ |
| 67 |
|
$options = parent::getDatePickerOptions(); |
| 68 |
|
$options['CausesValidation'] = $this->getCausesValidation(); |
| 69 |
|
$options['ValidationGroup'] = $this->getValidationGroup(); |
| 70 |
|
$options['EventTarget'] = $this->getUniqueID(); |
| 71 |
|
$options['ShowCalendar'] = $this->getShowCalendar(); |
| 72 |
|
$options['AutoPostBack'] = $this->getAutoPostBack(); |
| 73 |
|
return $options; |
| 74 |
|
} |
| 75 |
|
|
| 76 |
|
/** |
| 77 |
|
* Creates a new callback control, sets the adapter to |
framework/Web/UI/WebControls/TCheckBoxList.php 1 location
|
@@ 477-485 (lines=9) @@
|
| 474 |
|
* Gets the post back options for this checkbox. |
| 475 |
|
* @return array |
| 476 |
|
*/ |
| 477 |
|
protected function getPostBackOptions() |
| 478 |
|
{ |
| 479 |
|
$options['ID'] = $this->getClientID(); |
| 480 |
|
$options['ValidationGroup'] = $this->getValidationGroup(); |
| 481 |
|
$options['CausesValidation'] = $this->getCausesValidation(); |
| 482 |
|
$options['ListName'] = $this->getUniqueID(); |
| 483 |
|
$options['ItemCount'] = $this->getItemCount(); |
| 484 |
|
return $options; |
| 485 |
|
} |
| 486 |
|
} |
| 487 |
|
|
framework/Web/UI/WebControls/TLinkButton.php 1 location
|
@@ 161-170 (lines=10) @@
|
| 158 |
|
* This method is used by framework and control developers. |
| 159 |
|
* @return array parameters about how the button defines its postback behavior. |
| 160 |
|
*/ |
| 161 |
|
protected function getPostBackOptions() |
| 162 |
|
{ |
| 163 |
|
$options['ID'] = $this->getClientID(); |
| 164 |
|
$options['EventTarget'] = $this->getUniqueID(); |
| 165 |
|
$options['CausesValidation'] = $this->getCausesValidation(); |
| 166 |
|
$options['ValidationGroup'] = $this->getValidationGroup(); |
| 167 |
|
$options['StopEvent'] = true; |
| 168 |
|
|
| 169 |
|
return $options; |
| 170 |
|
} |
| 171 |
|
|
| 172 |
|
/** |
| 173 |
|
* Renders the body content enclosed between the control tag. |
framework/Web/UI/WebControls/TTextBox.php 1 location
|
@@ 248-257 (lines=10) @@
|
| 245 |
|
* Gets the post back options for this textbox. |
| 246 |
|
* @return array |
| 247 |
|
*/ |
| 248 |
|
protected function getPostBackOptions() |
| 249 |
|
{ |
| 250 |
|
$options['ID'] = $this->getClientID(); |
| 251 |
|
$options['EventTarget'] = $this->getUniqueID(); |
| 252 |
|
$options['AutoPostBack'] = $this->getAutoPostBack(); |
| 253 |
|
$options['CausesValidation'] = $this->getCausesValidation(); |
| 254 |
|
$options['ValidationGroup'] = $this->getValidationGroup(); |
| 255 |
|
$options['TextMode'] = $this->getTextMode(); |
| 256 |
|
return $options; |
| 257 |
|
} |
| 258 |
|
|
| 259 |
|
/** |
| 260 |
|
* Loads user input data. |