Inheritance diagram for FormSync:
Public Member Functions | |
__construct ($layout=null) | |
Constructor. | |
__set ($name, $value) | |
Magic setter. | |
handleSubmit ($redir=null) | |
Handle the form submittal. | |
handleSubmitWithCallback ($callback, $redir=null) | |
Handle the form submittal by calling a callback function. | |
sync (&$dbConn=null) | |
Sync the values to the database. | |
Static Public Member Functions | |
assertIsDbObject (&$obj) | |
Check if an object is a valid PEAR DB object. | |
Protected Member Functions | |
drawHiddenFields () | |
Private Attributes | |
$table | |
Table name in the database that this form is acting upon. | |
$id | |
ID in the table to use. | |
$dbConn | |
Database connection object. |
|
Constructor.
Reimplemented from Form. Definition at line 10 of file sync.inc.php. |
|
Magic setter.
Reimplemented from Form. Definition at line 28 of file sync.inc.php. |
|
Check if an object is a valid PEAR DB object.
Definition at line 100 of file sync.inc.php. |
|
Definition at line 149 of file sync.inc.php. |
|
Handle the form submittal.
Definition at line 52 of file sync.inc.php. References Form::hasError(), Form::isSubmitted(), sync(), and Form::validate(). |
|
Handle the form submittal by calling a callback function.
Definition at line 73 of file sync.inc.php. References Form::hasError(), Form::isSubmitted(), and Form::validate(). |
|
Sync the values to the database.
Definition at line 113 of file sync.inc.php. References $dbConn. Referenced by handleSubmit(). |
|
Database connection object.
Definition at line 8 of file sync.inc.php. Referenced by sync(). |
|
ID in the table to use.
Definition at line 7 of file sync.inc.php. |
|
Table name in the database that this form is acting upon.
Definition at line 6 of file sync.inc.php. |