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

Public Member Functions

 _assignManagerGroup ($contextId)
 _loadDefaultUserGroups ($contextId)
 ContextSiteSettingsForm ($contextId=null)
 fetch ($args, $request)
 getLocaleFieldNames ()
 initData ()
 readInputData ()
- 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 site administrator to edit basic context settings.

Definition at line 19 of file

Member Function Documentation

ContextSiteSettingsForm::_assignManagerGroup (   $contextId)

Make the site administrator the manager of the newly created context.


Definition at line 106 of file

References $contextId, DAORegistry\getDAO(), and SessionManager\getManager().

Referenced by PressSiteSettingsForm\execute().

ContextSiteSettingsForm::_loadDefaultUserGroups (   $contextId)

Initially populate the user groups and assignments when creating a new context.


Definition at line 95 of file

References $contextId, DAORegistry\getDAO(), and AppLocale\requireComponents().

Referenced by PressSiteSettingsForm\execute().

ContextSiteSettingsForm::ContextSiteSettingsForm (   $contextId = null)


$contextIdomit for a new context

Definition at line 28 of file

References $contextId, Form\addCheck(), and Application\getContextDAO().

ContextSiteSettingsForm::fetch (   $args,

Display the form.

Definition at line 44 of file

ContextSiteSettingsForm::getLocaleFieldNames ( )

Get a list of field names for which localized settings are used


Definition at line 87 of file

ContextSiteSettingsForm::initData ( )

Initialize form data from current settings.

Definition at line 56 of file

References Application\getContextDAO(), and Form\setData().

ContextSiteSettingsForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 73 of file

References Application\getContextDAO(), Form\readUserVars(), and Form\setData().

Member Data Documentation


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