Метод |
Описание |
|
__construct ( array $params = [] ) |
Construct a new SQL storage object. |
|
deleteField ( integer $field_id ) : boolean |
Deletes a field from the database. |
|
deleteForm ( integer $form_id ) : boolean |
Deletes a form and all of its fields from the database. |
|
getAvailableForms ( ) : array |
Fetches the a list of available forms to use. |
|
getFields ( integer $form_id, $field_id = null ) : array |
Fetches the fields for a particular form. |
|
getForm ( integer $form_id, $permission = Horde_Perms::SHOW ) : array |
Fetches all the data specific to the supplied form id. |
|
getForms ( $form_id = null ) : array |
Fetches the a list of available forms and the basic data. |
|
saveField ( &$info ) : boolean |
Saves the passed field into the db, either inserting
a new field if no field_id is available, or updating
an existing field if a field_id has been passed. |
|
saveForm ( array &$info ) : integer |
Saves the passed form into the db, either inserting a
new form if no form_id is available, or updating an
existing form if a form_id has been passed. |
|
sortFields ( array &$info ) : boolean |
Sets the specified sort order to the fields in a form. |
|