Class QControlProxy
Class QControlProxy is used to 'proxy' the actions for another control
public
|
#
__construct(
Constructor Method |
public
string
|
|
public
string
|
#
RenderAsLink( string $strLabel, string|null $strActionParameter = null, null|array $attributes = [], string $strTag = 'a', $blnHtmlEntities = true )
Render as an HTML link (anchor tag) |
public
string
|
#
RenderAsButton( string $strLabel, string|null $strActionParameter = null, array $attributes = [], boolean $blnHtmlEntities = true )
Render as an HTML button. |
public
string
|
#
RenderAttributes( string|null $strActionParameter = null )
Render just attributes that can be included in any html tag to attach the proxy to the tag. |
public
string
|
#
RenderAsEvents( null|string $strActionParameter = null, boolean $blnDisplayOutput = true, null $strTargetControlId = null, boolean $blnRenderControlId = true )
Renders only the id of this Proxy essentially embedding it into (disguising it as) another element. The template must contain the element separately. This function just renders/returns 'id="XYZ"' where XYZ is the target control ID. |
public
string
|
#
RenderAsHref( null|string $strActionParameter = null, boolean $blnDisplayOutput = true, null|string $strTargetControlId = null )
Renders the proxy as a clickable link (the link will not navigate) |
public
string
|
#
RenderAsScript( string $strEventType = 'QClickEvent' )
Renders all the actions for a particular event as javascripts. |
public
|
|
public
boolean
|
|
public
mixed
|
|
public
mixed
|
OverrideAttributes(),
__call()
|
CommentEnd,
CommentStart
|
protected
string
|
$strTargetControlId
HTML element ID which is to be rendered/sent to the browser |
|
protected
boolean
|
$blnActionsMustTerminate
Overriding parent class |
#
true
|
protected
boolean
|
$blnScriptsOnly
Overriding parent class |
#
true
|
protected
null
|
$strPreferredRenderMethod
Overriding parent class to turn off rendering of this control when auto-rendering |
#
null
|
$attributes,
$styles
|
$AccessKey,
$AltText,
$BackColor,
$BorderCollapse,
$BorderColor,
$BorderStyle,
$BorderWidth,
$CssClass,
$Cursor,
$Data,
$Display,
$DisplayStyle,
$Enabled,
$FontBold,
$FontItalic,
$FontNames,
$FontOverline,
$FontSize,
$FontStrikeout,
$FontUnderline,
$ForeColor,
$Height,
$HorizontalAlign,
$Left,
$Margin,
$NoWrap,
$Opacity,
$OrderedListType,
$Overflow,
$Padding,
$Position,
$ReadOnly,
$TabIndex,
$ToolTip,
$Top,
$UnorderedListStyle,
$VerticalAlign,
$Width
|