FormFactory
FormFactory implements FormFactoryInterface
FormFactory
Handles Form object creation, including pre-defined elements. Replaceable component. Default factory can be extended to add types.
- Full name: \Gibbon\Forms\FormFactory
- This class implements: Warning: strrchr() expects parameter 1 to be string, object given in /Users/sankuipe/Desktop/Localhost/documentor/src/Extension/TwigMarkdownAnchorLink.php on line 108
Methods
- create — Create and return an instance of FormFactory.
- createRow
- createColumn
- createTable
- createDataTable
- createTableCell
- createGrid
- createTrigger
- createLabel
- createHeading
- createContent
- createWebLink
- createCustomField
- createTextArea
- createTextField
- createFinder
- createEditor
- createEmail
- createURL
- createNumber
- createCurrency
- createPassword
- createFileUpload
- createDate
- createTime
- createCheckbox
- createRadio
- createSelect
- createMultiSelect
- createButton
- createCustomBlocks
- createSubheading
- createAlert
- createSubmit
- createSearchSubmit
- createConfirmSubmit
- createFooter
- createYesNo
- createYesNoRadio
- createCheckAll
- createSelectTitle
- createSelectGender
- createSelectRelationship
- createSelectEmergencyRelationship
- createSelectMaritalStatus
- createSelectBloodType
- createSelectCurrency
create
Create and return an instance of FormFactory.
static FormFactory::create( ): object
- This method is static.
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 = '' )
createWebLink
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 )