Functions

Print error message

Formaid_error(string $message) : void

Message will be printed when debugmode is enabled in config file.

Parameters

$message

string

error message

Read settings from config file

readConfig() : array
todo create Config class, replacing this function

Returns

arrayArray with config settings

Configure and make database connection

setupDbConn() : resource
todo turn database class into a singleton, replacing this function

Returns

resourceDatabase handle

Classes and interfaces

DbColumnInterface

Database column interface

« More »

DbColumnListInterface

Database column list interface

« More »

DbInterface

Database connection interface

« More »

DbValueInterface

Database value interface

« More »

LinkInterface

Link Interface

« More »

PrepareQueryInterface

Query preparation interface

« More »

UrlInterface

Url Interface

« More »

Formaid_Collection

Base collection, from which other collection classes derive.

« More »

Formaid_DbAbstract

Basic database class, from which specific database classes derive.

« More »

Formaid_DbColumn

Database column class

« More »

Formaid_DbColumnList

Database column list

« More »

Formaid_DbMysql

MySQL database class

« More »

Formaid_DbTable

Database table object

« More »

Formaid_FieldCheckbox

Checkbox field, for selecting a single option.

« More »

Formaid_FieldDate

Date field represents a date in year/month/day format.

« More »

Formaid_FieldDateTime

DateTime field represent a date and time.

« More »

Formaid_FieldInput

Input field, for entering text.

« More »

Formaid_FieldInputAbstract

Basic input field, from which other form elements derive.

« More »

Formaid_FieldSelection

A selection box provides a list of options in a drop down menu.

« More »

Formaid_FieldTextarea

Textarea field, for entering multiline text.

« More »

Formaid_FieldTime

Time field represents a time in hour/minute format.

« More »

Formaid_Form

Form with basic functionality, from which other form classes derive.

« More »

Formaid_FormElements

Collection of form elements

« More »

Formaid_LinkCollection

Link Collection class

« More »

Formaid_Object

Base object, from which other classes derive.

« More »

Formaid_Privilege

Privilege class.

« More »

Formaid_Privileges

Privileges class, a collection of privilege instances.

« More »

Formaid_Properties

Properties class, a collection of property instances.

« More »

Formaid_Property

Property class

« More »

Formaid_PropertyBool

Property class, value is a boolean

« More »

Formaid_PropertyInt

Property class, value is an integer

« More »

Formaid_PropertyString

Property class, value is a string

« More »

Formaid_RecordForm

A record form adds, updates or deletes data in a database record.

« More »

Formaid_SelectForm

Form with a selectionbox that triggers a reload when changed

« More »

Formaid_SimpleDbValue

Simple database value object

« More »

Formaid_Table

Base table class

« More »

Formaid_TableHeader

Table header class

« More »

Formaid_TableRow

Table row class

« More »

Formaid_TableRows

Collection of table row instances

« More »

Formaid_Url

Url class

« More »

Formaid_UrlParameter

Url Parameter class

« More »

Formaid_UrlParameters

Url Parameter Collection class

« More »

Formaid_WebString

Web string

« More »