SectionForm Class Reference
[Manager_form]

Form for creating and modifying journal sections. More...

Inheritance diagram for SectionForm:

Form

List of all members.

Public Member Functions

 display ()
 execute ()
 getLocaleFieldNames ()
 includeSectionEditor ($sectionEditorId)
 initData ()
 omitSectionEditor ($sectionEditorId)
 readInputData ()
 SectionForm ($sectionId=null)


Detailed Description

Form for creating and modifying journal sections.

Definition at line 20 of file SectionForm.inc.php.


Member Function Documentation

SectionForm.display (  ) 

Display the form.

Reimplemented from Form.

Definition at line 101 of file SectionForm.inc.php.

References DAORegistry.getDAO(), Request.getJournal(), and TemplateManager.getManager().

SectionForm.execute (  ) 

Save section.

Reimplemented from Form.

Definition at line 191 of file SectionForm.inc.php.

References DAORegistry.getDAO(), Form.getData(), Request.getJournal(), and Request.getUserVar().

SectionForm.getLocaleFieldNames (  ) 

Get the names of fields for which localized data is allowed.

Returns:
array

Reimplemented from Form.

Definition at line 93 of file SectionForm.inc.php.

References DAORegistry.getDAO().

SectionForm.includeSectionEditor ( sectionEditorId  ) 

When displaying the form, include the specified section editor in the assigned list for this section.

Parameters:
$sectionEditorId int

Definition at line 69 of file SectionForm.inc.php.

Referenced by readInputData(), and SectionForm().

SectionForm.initData (  ) 

Initialize form data from current settings.

Reimplemented from Form.

Definition at line 123 of file SectionForm.inc.php.

References DAORegistry.getDAO(), and Request.getJournal().

SectionForm.omitSectionEditor ( sectionEditorId  ) 

When displaying the form, omit the specified section editor from the assigned list for this section.

Definition at line 81 of file SectionForm.inc.php.

Referenced by readInputData(), and SectionForm().

SectionForm.readInputData (  ) 

Assign form data to user-submitted data.

Reimplemented from Form.

Definition at line 157 of file SectionForm.inc.php.

References Request.getUserVar(), includeSectionEditor(), omitSectionEditor(), Form.readUserVars(), and Form.setData().

SectionForm.SectionForm ( sectionId = null  ) 

Constructor.

Parameters:
$journalId int omit for a new journal

Definition at line 44 of file SectionForm.inc.php.

References Form.addCheck(), DAORegistry.getDAO(), Request.getJournal(), includeSectionEditor(), and omitSectionEditor().


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

Generated on Mon Jul 14 10:55:47 2008 for Open Journal Systems by  doxygen 1.5.6