Class AbstractSingleChoice
A form component with pre-defined choices of which 1 can be chosen
-
picon\Component
implements
picon\InjectOnWakeup,
picon\Identifiable,
picon\Detachable
-
picon\MarkupContainer
-
picon\LabeledMarkupContainer
-
picon\FormComponent
-
picon\AbstractChoice
-
picon\AbstractSingleChoice
Methods summary
public
type
|
#
isSelected( type $choice, type $index )
Parameters
Returns
type
Todo
this will incorrectly evaluate isSelected() as true if the model object is null
and the choice render returns a 0
|
protected
|
#
convertInput( )
Convert the input from its raw format the that which is expected Sub classes
which need to handle this themselves should override this method and have
getType() throw UnsupportedOperationException
Convert the input from its raw format the that which is expected Sub classes
which need to handle this themselves should override this method and have
getType() throw UnsupportedOperationException
|
Methods inherited from picon\AbstractChoice
__construct(),
getChoiceRenderer(),
getChoices(),
getValue(),
isDisabled(),
renderOptGroup(),
renderOption(),
renderOptions(),
supportNestedArray(),
validateModel(),
valueForChoice()
|
Methods inherited from picon\FormComponent
add(),
addValidator(),
beforeComponentRender(),
getConvertedInput(),
getForm(),
getLabel(),
getName(),
getRawInput(),
getRawInputArray(),
inputChanged(),
invalid(),
isEmptyInput(),
isMultiPart(),
isRequired(),
isValid(),
onComponentTag(),
processInput(),
setConvertedInput(),
setDisabled(),
setRequired(),
updateModel(),
valid(),
validate(),
validateRequired()
|
Methods inherited from picon\MarkupContainer
addComponent(),
addOrReplace(),
afterPageRender(),
beforePageRender(),
childExists(),
detach(),
get(),
getChildren(),
getMarkupForChild(),
hasChildren(),
internalInitialize(),
loadAssociatedMarkup(),
onComponentAdded(),
onComponentTagBody(),
onRender(),
remove(),
visitChildren()
|
Methods inherited from picon\Component
addBehaviour(),
afterComponentRender(),
checkComponentTag(),
checkComponentTagAttribute(),
error(),
fatel(),
fireInitialize(),
generateUrlFor(),
getApplication(),
getBehaviourById(),
getBehaviours(),
getComponentKey(),
getComponentPath(),
getId(),
getIdentifier(),
getLocalizer(),
getMarkUpSource(),
getMarkup(),
getMarkupId(),
getModel(),
getModelObject(),
getModelObjectAsString(),
getPage(),
getParent(),
getRequest(),
getRequestCycle(),
getResponse(),
hasErrorMessage(),
hasMessage(),
info(),
internalRenderComponent(),
isAuto(),
isBeforePageRender(),
isInitialized(),
isRendered(),
isStateless(),
newMarkupSource(),
onInitialize(),
render(),
renderAll(),
renderElement(),
renderHead(),
renderHeadContainer(),
setAfterComponentRenderCallback(),
setAfterPageRenderCallback(),
setBeforeComponentRenderCallback(),
setBeforePageRenderCallback(),
setMarkup(),
setMarkupId(),
setModel(),
setModelObject(),
setOnComponentTagBodyCallback(),
setOnComponentTagCallback(),
setOutputMarkupId(),
setPage(),
setParent(),
setRenderBodyOnly(),
setRenderHeadCallback(),
setVisible(),
success(),
urlForListener(),
urlForPage(),
urlForPageInstance(),
visitParents(),
warning()
|