Свойство | Тип | Описание | |
---|---|---|---|
$_decorator | this render things before and after both the open and close tag |
Метод | Описание | |
---|---|---|
clearStyle ( ) | Removes all style data. | |
copyBaseAttributes ( |
Copies basic control attributes from another control. | |
getAccessKey ( ) : string | ||
getBackColor ( ) : string | ||
getBorderColor ( ) : string | ||
getBorderStyle ( ) : string | ||
getBorderWidth ( ) : string | ||
getCssClass ( ) : string | ||
getDecorator ( $create = true ) : |
||
getDisplay ( ) : |
||
getEnsureId ( ) : whether | ||
getFont ( ) : |
||
getForeColor ( ) : string | ||
getHasStyle ( ) : boolean | ||
getHeight ( ) : string | ||
getStyle ( ) : |
||
getTabIndex ( ) : integer | ||
getToolTip ( ) : string | ||
getWidth ( ) : string | ||
onPreRender ( $param ) | 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. | |
render ( $writer ) | Renders the control. | |
renderBeginTag ( $writer ) | Renders the openning tag for the control (including attributes) | |
renderContents ( $writer ) | Renders the body content enclosed between the control tag. | |
renderEndTag ( $writer ) | Renders the closing tag for the control | |
setAccessKey ( $value ) | Sets the access key of the control. | |
setBackColor ( $value ) | ||
setBorderColor ( $value ) | ||
setBorderStyle ( $value ) | ||
setBorderWidth ( $value ) | ||
setCssClass ( $value ) | ||
setDisplay ( $value ) | ||
setEnsureId ( $value ) | 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. | |
setForeColor ( $value ) | ||
setHeight ( $value ) | ||
setStyle ( $value ) | Sets the css style string of the control. | |
setTabIndex ( $value ) | Sets the tab index of the control. | |
setToolTip ( $value ) | Sets the tooltip of the control. | |
setWidth ( $value ) |
Метод | Описание | |
---|---|---|
addAttributesToRender ( $writer ) | Adds attribute name-value pairs to renderer. | |
createStyle ( ) : |
Creates a style object to be used by the control. | |
getTagName ( ) : string | Returns the tag name used for this control. |
protected addAttributesToRender ( $writer ) |
public copyBaseAttributes ( |
||
$control |
protected createStyle ( ) : |
||
Результат | the default style created for TWebControl |
public getAccessKey ( ) : string | ||
Результат | string | the access key of the control |
public getBackColor ( ) : string | ||
Результат | string | the background color of the control |
public getBorderColor ( ) : string | ||
Результат | string | the border color of the control |
public getBorderStyle ( ) : string | ||
Результат | string | the border style of the control |
public getBorderWidth ( ) : string | ||
Результат | string | the border width of the control |
public getCssClass ( ) : string | ||
Результат | string | the css class of the control |
public getDecorator ( $create = true ) : |
||
Результат |
public getDisplay ( ) : |
||
Результат | display style of the control, default is TDisplayStyle::Fixed |
public getEnsureId ( ) : whether | ||
Результат | whether | this web control must have an id |
public getForeColor ( ) : string | ||
Результат | string | the foreground color of the control |
public getHasStyle ( ) : boolean | ||
Результат | boolean | whether the control has defined any style information |
public getStyle ( ) : |
||
Результат | the object representing the css style of the control |
public getTabIndex ( ) : integer | ||
Результат | integer | the tab index of the control |
protected getTagName ( ) : string | ||
Результат | string | tag name of the control to be rendered |
public getToolTip ( ) : string | ||
Результат | string | the tooltip of the control |
public onPreRender ( $param ) |
public render ( $writer ) |
public renderBeginTag ( $writer ) |
public renderContents ( $writer ) |
public renderEndTag ( $writer ) |
public setAccessKey ( $value ) |
public setEnsureId ( $value ) |
public setStyle ( $value ) |
public setTabIndex ( $value ) |
public setToolTip ( $value ) |