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

Public Member Functions

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

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

Detailed Description

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

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

Member Function Documentation

SponsorForm::execute (   $request)

Save email template.

See Also
Form::execute()

Definition at line 89 of file SponsorForm.inc.php.

References $sponsorId, and Form\getData().

SponsorForm::fetch (   $request)

Fetch

Parameters
$requestPKPRequest
See Also
Form::fetch()

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

References AppLocale\requireComponents().

SponsorForm::initData (   $args,
  $request 
)

Initialize form data from current settings.

Parameters
$argsarray
$requestPKPRequest

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

SponsorForm::readInputData ( )

Assign form data to user-submitted data.

See Also
Form::readInputData()

Definition at line 80 of file SponsorForm.inc.php.

References Form\readUserVars().

SponsorForm::SponsorForm (   $sponsorId = null)

Constructor.

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

References $sponsorId, and Form\addCheck().

Member Data Documentation

SponsorForm::$sponsorId

the id for the sponsor being edited

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

Referenced by execute(), and SponsorForm().


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