Class Control
Control is renderable Presenter component.
-
Object
-
Component
implements
IComponent
-
ComponentContainer
implements
IComponentContainer
-
PresenterComponent
implements
ISignalReceiver,
IStatePersistent,
ArrayAccess
-
Control
implements
IRenderable
Methods summary
public
ITemplate
|
|
protected
ITemplate
|
|
public
|
#
templatePrepareFilters( Template $template )
Descendant can override this method to customize template compile-time
filters.
Descendant can override this method to customize template compile-time
filters.
Parameters
|
public
IComponent
|
#
getWidget( string $name )
Returns widget component specified by name.
Returns widget component specified by name.
Parameters
Returns
|
public
stdClass
|
#
flashMessage( string $message, string $type = 'info' )
Saves the message to template, that can be displayed after redirect.
Saves the message to template, that can be displayed after redirect.
Parameters
- $message
string
- $type
string
Returns
|
public
|
#
invalidateControl( string $snippet = NULL )
Forces control or its snippet to repaint.
Forces control or its snippet to repaint.
Parameters
Implementation of
|
public
|
#
validateControl( string $snippet = NULL )
Allows control or its snippet to not repaint.
Allows control or its snippet to not repaint.
Parameters
|
public
boolean
|
#
isControlInvalid( string $snippet = NULL )
Is required to repaint the control or its snippet?
Is required to repaint the control or its snippet?
Parameters
- $snippet
string snippet name
Returns
boolean
Implementation of
|
public
string
|
#
getSnippetId( string $name = NULL )
Returns snippet HTML ID.
Parameters
Returns
string
|
Methods inherited from PresenterComponent
attached(),
checkRequirements(),
formatSignalMethod(),
getParam(),
getParamId(),
getParameter(),
getParameterId(),
getPersistentParams(),
getPresenter(),
getReflection(),
getUniqueId(),
isLinkCurrent(),
lazyLink(),
link(),
loadState(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
redirect(),
saveState(),
signalReceived(),
tryCall(),
validateParent()
|