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

Public Member Functions

 AddThisSettingsForm ($plugin, $press)
 
 execute ()
 
 fetch ($request)
 
 getPlugin ()
 
 getPress ()
 
 initData ()
 
 readInputData ()
 
 setPlugin ($plugin)
 
 setPress ($press)
 
- 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

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

Detailed Description

Form for adding/editing the settings for the AddThis plugin.

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

Member Function Documentation

AddThisSettingsForm::AddThisSettingsForm (   $plugin,
  $press 
)

Constructor.

Parameters
$pluginPlugin
$pressPress

Definition at line 36 of file AddThisSettingsForm.inc.php.

AddThisSettingsForm::execute ( )

Save the plugin's data.

See Also
Form::execute()

Definition at line 148 of file AddThisSettingsForm.inc.php.

AddThisSettingsForm::fetch (   $request)

Fetch the form.

See Also
Form::fetch()
Parameters
$requestPKPRequest

Definition at line 105 of file AddThisSettingsForm.inc.php.

AddThisSettingsForm::getPlugin ( )

Get the plugin.

Returns
AddThisBlockPlugin

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

Referenced by setPlugin().

AddThisSettingsForm::getPress ( )

Get the Press.

Returns
Press

Definition at line 52 of file AddThisSettingsForm.inc.php.

Referenced by setPlugin().

AddThisSettingsForm::initData ( )

Initialize form data from the plugin.

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

AddThisSettingsForm::readInputData ( )

Assign form data to user-submitted data.

See Also
Form::readInputData()

Definition at line 135 of file AddThisSettingsForm.inc.php.

AddThisSettingsForm::setPlugin (   $plugin)

Set the plugin.

Parameters
AddThisBlockPlugin$plugin

Definition at line 76 of file AddThisSettingsForm.inc.php.

References getPlugin(), and getPress().

AddThisSettingsForm::setPress (   $press)

Set the Press.

Parameters
Press

Definition at line 60 of file AddThisSettingsForm.inc.php.

Member Data Documentation

Plugin AddThisSettingsForm::$_plugin

The plugin being edited

Definition at line 29 of file AddThisSettingsForm.inc.php.

Press AddThisSettingsForm::$_press

The press associated with the plugin being edited

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


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