Public Member Functions | |
fromMysqlTableRow ($elementDescRow) | |
fromHtmlForm () | |
toHtmlTableRow ($imagePath, $action='editform') | |
toHtmlForm ($formHtmlId= 'elementDataForm', $action= 'editform') | |
toMysqlUpdateQuery ($formId) | |
toMysqlInsertQuery ($elementId= '', $elementRank= '') |
Represents a single form element, i.e. an object of this class will represent name, one will represent age etc.
Use toHtmlForm to generate one row for editting a form element Use
Definition at line 54 of file editformelement.php.
fromHtmlForm | ( | ) |
Loads properties of the element from a submitted form
Definition at line 101 of file editformelement.php.
fromMysqlTableRow | ( | $ | elementDescRow | ) |
Loads properties of the element from a mysql table row (associative)
Definition at line 89 of file editformelement.php.
toHtmlForm | ( | $ | formHtmlId = 'elementDataForm' , |
|
$ | action = 'editform' | |||
) |
Returns element properties as an editable HTML form
Definition at line 194 of file editformelement.php.
toHtmlTableRow | ( | $ | imagePath, | |
$ | action = 'editform' | |||
) |
Returns element properies as a row in an HTML table
Definition at line 128 of file editformelement.php.
toMysqlInsertQuery | ( | $ | elementId = '' , |
|
$ | elementRank = '' | |||
) |
Definition at line 407 of file editformelement.php.
toMysqlUpdateQuery | ( | $ | formId | ) |
Definition at line 391 of file editformelement.php.