FormFactory

FormFactory implements FormFactoryInterface

FormFactory

Handles Form object creation, including pre-defined elements. Replaceable component. Default factory can be extended to add types.

Methods

create

Create and return an instance of FormFactory.

static FormFactory::create( ): object

Return Value: object FormFactory


createRow

FormFactory::createRow( $id = '' )

createColumn

FormFactory::createColumn( $id = '' )

createTable

FormFactory::createTable( $id = '' )

createDataTable

FormFactory::createDataTable( $id, $criteria )

createTableCell

FormFactory::createTableCell( $content = '' )

createGrid

FormFactory::createGrid( $id = '', $columns = 1 )

createTrigger

FormFactory::createTrigger( $selector = '' )

createLabel

FormFactory::createLabel( $for, $label )

createHeading

FormFactory::createHeading( $content = '' )

createContent

FormFactory::createContent( $content = '' )

FormFactory::createWebLink( $content = '' )

createCustomField

FormFactory::createCustomField( $name, $fields = array() )

createTextArea

FormFactory::createTextArea( $name )

createTextField

FormFactory::createTextField( $name )

createFinder

FormFactory::createFinder( $name )

createEditor

FormFactory::createEditor( $name, $guid )

createEmail

FormFactory::createEmail( $name )

createURL

FormFactory::createURL( $name )

createNumber

FormFactory::createNumber( $name )

createCurrency

FormFactory::createCurrency( $name )

createPassword

FormFactory::createPassword( $name )

createFileUpload

FormFactory::createFileUpload( $name )

createDate

FormFactory::createDate( $name )

createTime

FormFactory::createTime( $name )

createCheckbox

FormFactory::createCheckbox( $name )

createRadio

FormFactory::createRadio( $name )

createSelect

FormFactory::createSelect( $name )

createMultiSelect

FormFactory::createMultiSelect( $name )

createButton

FormFactory::createButton( $label = 'Button', $onClick = '', $id = null )

createCustomBlocks

FormFactory::createCustomBlocks( $name, \Gibbon\Session $session )

createSubheading

FormFactory::createSubheading( $content, $tag = 'h4' )

createAlert

FormFactory::createAlert( $content, $level = 'warning' )

createSubmit

FormFactory::createSubmit( $label = 'Submit' )

createSearchSubmit

FormFactory::createSearchSubmit( $session, $clearLabel = 'Clear Filters', $passParams = array() )

createConfirmSubmit

FormFactory::createConfirmSubmit( $label = 'Yes', $cancel = false )

createFooter

FormFactory::createFooter( $required = true )

createYesNo

FormFactory::createYesNo( $name )

createYesNoRadio

FormFactory::createYesNoRadio( $name )

createCheckAll

FormFactory::createCheckAll( $name = 'checkall' )

createSelectTitle

FormFactory::createSelectTitle( $name )

createSelectGender

FormFactory::createSelectGender( $name )

createSelectRelationship

FormFactory::createSelectRelationship( $name )

createSelectEmergencyRelationship

FormFactory::createSelectEmergencyRelationship( $name )

createSelectMaritalStatus

FormFactory::createSelectMaritalStatus( $name )

createSelectBloodType

FormFactory::createSelectBloodType( $name )

createSelectCurrency

FormFactory::createSelectCurrency( $name )

Last updated : September 15, 2018 b92362d