Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
RepresentativeForm Class Reference
Inheritance diagram for RepresentativeForm:
Form

Public Member Functions

 execute ()
 
 fetch ($request)
 
 getMonograph ()
 
getRepresentative ()
 
 initData ()
 
 readInputData ()
 
 RepresentativeForm ($monograph, $representative)
 
 setMonograph ($monograph)
 
 setRepresentative ($representative)
 
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 display ($request=null, $template=null)
 
 execute ($object=null)
 
 fetch ($request, $template=null, $display=false)
 
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getFormLocale ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isLocaleResubmit ()
 
 isValid ()
 
 readInputData ()
 
 readUserDateVars ($vars)
 
 readUserVars ($vars)
 
 setData ($key, $value)
 
 setTemplate ($template)
 
 smartyFormLanguageChooser ($params, &$smarty)
 
 validate ($callHooks=true)
 

Public Attributes

 $_monograph
 
 $_representative
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form for adding/editing a representative entry.

Definition at line 18 of file RepresentativeForm.inc.php.

Member Function Documentation

RepresentativeForm::execute ( )

Save the representative

See Also
Form::execute()

Definition at line 164 of file RepresentativeForm.inc.php.

References DAORegistry\getDAO(), Form\getData(), getMonograph(), and getRepresentative().

RepresentativeForm::fetch (   $request)

Fetch the form.

See Also
Form::fetch()

Definition at line 109 of file RepresentativeForm.inc.php.

References DAORegistry\getDAO(), getMonograph(), and getRepresentative().

RepresentativeForm::getMonograph ( )

Get the Monograph

Returns
Monograph

Definition at line 67 of file RepresentativeForm.inc.php.

References $_monograph.

Referenced by execute(), and fetch().

& RepresentativeForm::getRepresentative ( )

Get the representative

Returns
Representative

Definition at line 51 of file RepresentativeForm.inc.php.

References $_representative.

Referenced by execute(), fetch(), and initData().

RepresentativeForm::initData ( )

Initialize form data from the representative entry.

Definition at line 86 of file RepresentativeForm.inc.php.

References getRepresentative().

RepresentativeForm::readInputData ( )

Assign form data to user-submitted data.

See Also
Form::readInputData()

Definition at line 144 of file RepresentativeForm.inc.php.

References Form\readUserVars().

RepresentativeForm::RepresentativeForm (   $monograph,
  $representative 
)
RepresentativeForm::setMonograph (   $monograph)

Set the Monograph

Parameters
Monograph

Definition at line 75 of file RepresentativeForm.inc.php.

Referenced by RepresentativeForm().

RepresentativeForm::setRepresentative (   $representative)

Set the representative

Parameters
@representativeRepresentative

Definition at line 59 of file RepresentativeForm.inc.php.

Referenced by RepresentativeForm().

Member Data Documentation

RepresentativeForm::$_monograph

The monograph associated with the format being edited

Definition at line 20 of file RepresentativeForm.inc.php.

Referenced by getMonograph().

RepresentativeForm::$_representative

Representative the entry being edited

Definition at line 23 of file RepresentativeForm.inc.php.

Referenced by getRepresentative().


The documentation for this class was generated from the following file: