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

Public Member Functions

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

- Public Attributes inherited from Form

Detailed Description

Form for journal managers to create and modify sidebar blocks

Definition at line 19 of file

Member Function Documentation

CustomBlockEditForm::addTinyMCE ( )

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

Definition at line 60 of file

References PKPRequest\getBaseUrl().

Referenced by initData().

CustomBlockEditForm::CustomBlockEditForm ( $plugin,



Definition at line 33 of file

References Form\addCheck().

CustomBlockEditForm::getLocaleFieldNames ( )

Get the names of localized fields


Definition at line 104 of file

CustomBlockEditForm::initData ( )

Initialize form data from current group group.

Definition at line 48 of file

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

CustomBlockEditForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 96 of file

References Form\readUserVars().

CustomBlockEditForm::save ( )

Save page into DB

Definition at line 111 of file

References Form\getData().

Member Data Documentation


$var $errors string

Definition at line 27 of file

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