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

Public Member Functions

 ContributorForm ($contributorId=null)
 
 execute ($request)
 
 fetch ($request)
 
 initData ($args, $request)
 
 readInputData ()
 
- 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

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

Detailed Description

Form for adding/edditing a contributor stores/retrieves from an associative array.

Definition at line 19 of file ContributorForm.inc.php.

Member Function Documentation

ContributorForm::ContributorForm (   $contributorId = null)

Constructor.

Definition at line 26 of file ContributorForm.inc.php.

References $contributorId, and Form\addCheck().

ContributorForm::execute (   $request)

Save email template.

See Also
Form::execute()

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

References $contributorId, and Form\getData().

ContributorForm::fetch (   $request)

Fetch

Parameters
$requestPKPRequest
See Also
Form::fetch()

Definition at line 68 of file ContributorForm.inc.php.

References AppLocale\requireComponents().

ContributorForm::initData (   $args,
  $request 
)

Initialize form data from current settings.

Parameters
$argsarray
$requestPKPRequest

Definition at line 41 of file ContributorForm.inc.php.

ContributorForm::readInputData ( )

Assign form data to user-submitted data.

See Also
Form::readInputData()

Definition at line 77 of file ContributorForm.inc.php.

References Form\readUserVars().

Member Data Documentation

ContributorForm::$contributorId

the id for the contributor being edited

Definition at line 21 of file ContributorForm.inc.php.

Referenced by ContributorForm(), and execute().


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