Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
CustomBlockEditForm Class Reference
Inheritance diagram for CustomBlockEditForm:
Form

Public Member Functions

 addTinyMCE ()
 
 CustomBlockEditForm (&$plugin, $journalId)
 
 initData ()
 
 readInputData ()
 
 save ()
 
- 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

 $errors
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

Form for journal managers to create and modify sidebar blocks

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

Member Function Documentation

CustomBlockEditForm::addTinyMCE ( )

Add the tinyMCE script for editing sidebar blocks with a WYSIWYG editor

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

References PKPRequest\getBaseUrl().

Referenced by initData().

CustomBlockEditForm::CustomBlockEditForm ( $plugin,
  $journalId 
)

Constructor

Parameters
$journalIdint

Definition at line 33 of file CustomBlockEditForm.inc.php.

References Form\addCheck().

CustomBlockEditForm::initData ( )

Initialize form data from current group group.

Definition at line 48 of file CustomBlockEditForm.inc.php.

References addTinyMCE(), and Form\setData().

CustomBlockEditForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 96 of file CustomBlockEditForm.inc.php.

References Form\readUserVars().

CustomBlockEditForm::save ( )

Save page into DB

Definition at line 103 of file CustomBlockEditForm.inc.php.

References Form\getData().

Member Data Documentation

CustomBlockEditForm::$errors

$var $errors string

Definition at line 27 of file CustomBlockEditForm.inc.php.


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