DatabaseFormFactory

DatabaseFormFactory

DatabaseFormFactory

Handles Form object creation that are pre-loaded from SQL queries

Methods

Inherited from FormFactory

__construct

Create a factory with access to the provided a database connection.

DatabaseFormFactory::__construct( \Gibbon\Forms\Gibbon\Contracts\Database\Connection $pdo )

create

Create and return an instance of DatabaseFormFactory.

static DatabaseFormFactory::create( \Gibbon\Contracts\Database\Connection $pdo = null ): object

Return Value: object DatabaseFormFactory


createSelectSchoolYear

DatabaseFormFactory::createSelectSchoolYear( $name, $status = 'All', $orderBy = 'ASC' )

createSelectYearGroup

DatabaseFormFactory::createSelectYearGroup( $name, $all = false )

createSelectRollGroup

DatabaseFormFactory::createSelectRollGroup( $name, $gibbonSchoolYearID, $all = false )

createSelectClass

DatabaseFormFactory::createSelectClass( $name, $gibbonSchoolYearID, $gibbonPersonID = null, $params = array() )

createCheckboxYearGroup

DatabaseFormFactory::createCheckboxYearGroup( $name )

createCheckboxSchoolYearTerm

DatabaseFormFactory::createCheckboxSchoolYearTerm( $name, $gibbonSchoolYearID )

createSelectDepartment

DatabaseFormFactory::createSelectDepartment( $name )

createSelectSchoolYearTerm

DatabaseFormFactory::createSelectSchoolYearTerm( $name, $gibbonSchoolYearID )

createSelectLanguage

DatabaseFormFactory::createSelectLanguage( $name )

createSelectCountry

DatabaseFormFactory::createSelectCountry( $name )

createSelectRole

DatabaseFormFactory::createSelectRole( $name )

createSelectStatus

DatabaseFormFactory::createSelectStatus( $name )

createSelectStaff

DatabaseFormFactory::createSelectStaff( $name )

createSelectUsers

DatabaseFormFactory::createSelectUsers( $name, $gibbonSchoolYearID = false, $params = array() )

createSelectStudent

DatabaseFormFactory::createSelectStudent( $name, $gibbonSchoolYearID, $params = array() )

createSelectGradeScale

DatabaseFormFactory::createSelectGradeScale( $name )

createSelectGradeScaleGrade

DatabaseFormFactory::createSelectGradeScaleGrade( $name, $gibbonScaleID, $params = array() )

createSelectRubric

DatabaseFormFactory::createSelectRubric( $name, $gibbonYearGroupIDList = '', $gibbonDepartmentID = '' )

createPhoneNumber

DatabaseFormFactory::createPhoneNumber( $name )

createSequenceNumber

DatabaseFormFactory::createSequenceNumber( $name, $tableName, $sequenceNumber = '', $columnName = null )

createSelectTransport

DatabaseFormFactory::createSelectTransport( $name, $all = false )

createSelectSpace

DatabaseFormFactory::createSelectSpace( $name )

createTextFieldDistrict

DatabaseFormFactory::createTextFieldDistrict( $name )

createSelectAlert

DatabaseFormFactory::createSelectAlert( $name )

Last updated : September 15, 2018 b92362d