classes/manager/form/setup/ConferenceSetupStep1Form.inc.php

Go to the documentation of this file.
00001 <?php
00002 
00015 //$Id$
00016 
00017 import("manager.form.setup.ConferenceSetupForm");
00018 
00019 class ConferenceSetupStep1Form extends ConferenceSetupForm {
00020    function ConferenceSetupStep1Form() {
00021       parent::ConferenceSetupForm(
00022          1,
00023          array(
00024             'title' => 'string',
00025             'description' => 'string',
00026             'contactName' => 'string',
00027             'contactTitle' => 'string',
00028             'contactAffiliation' => 'string',
00029             'contactEmail' => 'string',
00030             'contactPhone' => 'string',
00031             'contactFax' => 'string',
00032             'contactMailingAddress' => 'string',
00033             'restrictPaperAccess' => 'bool',
00034             'enableComments' => 'bool',
00035             'commentsRequireRegistration' => 'bool',
00036             'commentsAllowAnonymous' => 'bool',
00037             'paperAccess' => 'int',
00038             'archiveAccessPolicy' => 'string',
00039             'copyrightNotice' => 'string',
00040             'copyrightNoticeAgree' => 'bool',
00041             'postCreativeCommons' => 'bool',
00042             'privacyStatement' => 'string',
00043             'customAboutItems' => 'object'
00044          )
00045       );
00046 
00047       // Validation checks for this form
00048       $this->addCheck(new FormValidator($this, 'contactName', 'required', 'manager.schedConfSetup.details.contactNameRequired'));
00049       $this->addCheck(new FormValidator($this, 'contactEmail', 'required', 'manager.schedConfSetup.details.contactEmailRequired'));
00050    }
00051 
00056    function getLocaleFieldNames() {
00057       return array('title', 'description', 'archiveAccessPolicy', 'copyrightNotice', 'privacyStatement', 'customAboutItems', 'contactAffiliation');
00058    }
00059 }
00060 
00061 ?>

Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7