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

Public Member Functions

 execute ()
 
 fetch ($request)
 
getIdentificationCode ()
 
 getMonograph ()
 
 IdentificationCodeForm ($monograph, $identificationCode)
 
 initData ()
 
 readInputData ()
 
 setIdentificationCode ($identificationCode)
 
 setMonograph ($monograph)
 
- 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

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

Detailed Description

Form for adding/editing an identification code.

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

Member Function Documentation

IdentificationCodeForm::execute ( )
IdentificationCodeForm::fetch (   $request)
& IdentificationCodeForm::getIdentificationCode ( )

Get the code

Returns
IdentificationCode

Definition at line 47 of file IdentificationCodeForm.inc.php.

References $_identificationCode.

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

IdentificationCodeForm::getMonograph ( )

Get the Monograph

Returns
Monograph

Definition at line 63 of file IdentificationCodeForm.inc.php.

References $_monograph.

Referenced by execute(), and fetch().

IdentificationCodeForm::IdentificationCodeForm (   $monograph,
  $identificationCode 
)

Constructor.

Definition at line 28 of file IdentificationCodeForm.inc.php.

References Form\addCheck(), setIdentificationCode(), and setMonograph().

IdentificationCodeForm::initData ( )

Initialize form data from the identification code.

Definition at line 82 of file IdentificationCodeForm.inc.php.

References getIdentificationCode().

IdentificationCodeForm::readInputData ( )

Assign form data to user-submitted data.

See Also
Form::readInputData()

Definition at line 147 of file IdentificationCodeForm.inc.php.

References Form\readUserVars().

IdentificationCodeForm::setIdentificationCode (   $identificationCode)

Set the code

Parameters
@identificationCodeIdentificationCode

Definition at line 55 of file IdentificationCodeForm.inc.php.

Referenced by IdentificationCodeForm().

IdentificationCodeForm::setMonograph (   $monograph)

Set the Monograph

Parameters
Monograph

Definition at line 71 of file IdentificationCodeForm.inc.php.

Referenced by IdentificationCodeForm().

Member Data Documentation

IdentificationCodeForm::$_identificationCode

Identification Code the code being edited

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

Referenced by getIdentificationCode().

IdentificationCodeForm::$_monograph

The monograph associated with the format being edited

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

Referenced by getMonograph().


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