コード例 #1
0
ファイル: waiting.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('waiting', 'html');
     $this->view->setModel($this->getModel('waiting'), true);
     $this->registerDefaultTask("add");
 }
コード例 #2
0
ファイル: cpanel.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('cpanel', 'html');
     $this->registerDefaultTask("index");
     JToolBarHelper::title(JText::_('DT_CONTROL_PANEL'), 'dtregister');
 }
コード例 #3
0
ファイル: paylater.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('paylater', 'html');
     $this->view->setModel($this->getModel('paylater'), true);
     $this->registerDefaultTask("validate");
     JToolBarHelper::title(JText::_('DT_PAYMENT_MANAGEMENT'), 'dtregister');
 }
コード例 #4
0
ファイル: category.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     $config = array('default_task' => 'category', 'task_map' => array('new' => 'add'));
     parent::__construct($config);
     $this->view =& $this->getView('category', 'html');
     $this->view->setModel($this->getModel('category'), true);
     JToolBarHelper::title(JText::_('DT_CATEGORY_MANAGEMENT'), 'dtregister');
 }
コード例 #5
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('registrantemail', 'html');
     $this->view->setModel($this->getModel('event'), true);
     $this->view->setModel($this->getModel('user'), true);
     $this->registerDefaultTask("index");
 }
コード例 #6
0
ファイル: feeorder.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('feeorder', 'html');
     $this->view->setModel($this->getModel('feeorder'));
     $this->view->setModel($this->getModel('event'));
     $this->registerDefaultTask("view");
 }
コード例 #7
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('discountcode', 'html');
     $this->view->setModel($this->getModel('discountcode'), true);
     $this->registerTask('new', 'add');
     $this->registerDefaultTask("discountcode");
     JToolBarHelper::title(JText::_('DT_DISCOUNT_CODE_MANAGEMENT'), 'dtregister');
 }
コード例 #8
0
ファイル: config.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     $config = array('default_task' => 'index');
     parent::__construct($config);
     $this->view =& $this->getView('config', 'html');
     $this->view->setModel($this->getModel('field'), false);
     $this->registerTask('edit', 'edit');
     $this->registerDefaultTask("index");
 }
コード例 #9
0
ファイル: aro.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('aro', 'html');
     $this->view->setModel($this->getModel('aro'));
     $this->view->setModel($this->getModel('user'));
     $this->getModel('permission');
     $this->registerDefaultTask("add");
 }
コード例 #10
0
ファイル: migration.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('migration', 'html');
     $this->view->setModel($this->getModel('migration'));
     $this->view->setModel($this->getModel('dtregister'));
     $this->registerDefaultTask("index");
     JToolBarHelper::title(JText::_('DT_MIGRATE'), 'dtregister');
 }
コード例 #11
0
ファイル: category.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('category', 'html');
     $this->view->setModel($this->getModel('category'), true);
     $this->registerTask('new', 'add');
     $this->registerDefaultTask("category");
     JToolBarHelper::title(JText::_('DT_CATEGORY_MANAGEMENT'), 'dtregister');
 }
コード例 #12
0
ファイル: emailtest.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('Email', 'html');
     $mpaymentmethods = $this->getModel('Paymentmethod');
     $this->paymentmethods = $mpaymentmethods->getMergeList();
     $this->mfield = $this->getModel('field');
     $this->tfield = $this->getModel('field')->table;
     $this->testRegmsg = "Use the following tags to insert data from the registration:\n\n[TITLE] - Registrant's Title\n\n[NAME] - Registrant's Name\n\n[FIRSTNAME] - Registrant's First Name only\n\n[ORGANIZATION] - Registrant's Organization\n\n[EVENT_NAME] - Event Title\n\n[EVENT_DATE] - Event Date\n\n[LOCATION] - Event Location\n\n[LOCATION_DETAILS] - Location details: address, phone, email, website\n\n[CONTACT_DETAILS] - Registrant Contact Information\n\n[GROUP_NAMES] - List the names of the group members\n\n[GROUP_NUMBER] - Number of people in the group\n\n[AMOUNT] - Registration Fee\n\n[AMOUNT_PAID] - Amount Paid\n\n[AMOUNT_DUE] - Amount Due\n\n[AMOUNT_NOTAX] - The final registration cost before Tax is added.\n\n[TAX] - The tax amount for the record.\n\n[PAYMENT_TYPE] - Method of Payment\n\n[CONTACT_CUSTOM_FIELDS] - List the custom fields for the registrant contact\n\n[GROUP_CUSTOM_FIELDS] - List the custom fields for the group users\n\n- Individual Custom Field. Use the tag provided in the Custom Fields Manager.\n\n[CONFIRM_NUM] - Confirmation Number to match admin email and records\n\n[BARCODE] - This tag will embed the barcode for this record.\n\n[STATUS] - Status (Active, Pending, Cancelled)\n\n[PAID_STATUS] - Paid Status (Paid, Not Paid)\n\n[USERNAME] - Username created during registration\n\n[PASSWORD] - Password created during registration\n\n[DATE_REGISTERED] - The date the registration record was created. ";
 }
コード例 #13
0
ファイル: field.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     $config = array('default_task' => 'view', 'task_map' => array('new' => 'add', 'cancel' => 'view'));
     parent::__construct($config);
     $this->view =& $this->getView('field', 'html');
     $this->view->setModel($this->getModel('field'));
     $this->view->setModel($this->getModel('fieldtype'), true);
     $this->registerTask('cancel', 'view');
     JToolBarHelper::title(JText::_('DT_FIELD_MGMT'), 'dtregister');
 }
コード例 #14
0
ファイル: location.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     $config = array('default_task' => 'location', 'task_map' => array('new' => 'add'));
     parent::__construct($config);
     $this->view =& $this->getView('location', 'html');
     $this->view->setModel($this->getModel('location'), true);
     //$this->registerTask( 'new',  'add' );
     //$this->registerDefaultTask("location");
     JToolBarHelper::title(JText::_('DT_LOCATION_MANAGEMENT'), 'dtregister');
 }
コード例 #15
0
ファイル: email.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('Email', 'html');
     $mpaymentmethods = $this->getModel('Paymentmethod');
     $this->paymentmethods = $mpaymentmethods->getMergeList();
     $this->mfield = $this->getModel('field');
     $this->tfield = $this->getModel('field')->table;
     $this->testRegmsg = "Test registration email";
 }
コード例 #16
0
ファイル: member.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('member', 'html');
     $this->view->setModel($this->getModel('member'), true);
     $this->view->setModel($this->getModel('field'), true);
     $this->view->setModel($this->getModel('fieldtype'), true);
     $this->registerTask('new', 'add');
     $this->registerDefaultTask("index");
     JToolBarHelper::title(JText::_('DT_MEMBER_MANAGEMENT'), 'dtregister');
 }
コード例 #17
0
ファイル: user.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('user', 'html');
     $this->view->setModel($this->getModel('user'), true);
     $this->view->setModel($this->getModel('paymentmethod'));
     $this->view->setModel($this->getModel('event'));
     $this->registerTask('new', 'add');
     $this->registerDefaultTask("index");
     JToolBarHelper::title(JText::_('DT_REGISTRATION_RECORDS'), 'dtregister');
 }
コード例 #18
0
ファイル: member.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('member', 'html');
     $this->view->setModel($this->getModel('member'), true);
     $this->view->setModel($this->getModel('field'));
     $this->view->setModel($this->getModel('fieldtype'));
     $this->view->setModel($this->getModel('event'));
     $this->registerTask('new', 'add');
     $this->registerTask('remove', 'delete');
     $this->registerDefaultTask("index");
 }
コード例 #19
0
ファイル: export.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     $config = array('default_task' => 'eventlist');
     parent::__construct($config);
     $this->view =& $this->getView('export', 'html');
     $this->view->setModel($this->getModel('export'), true);
     $this->view->setModel($this->getModel('event'));
     $this->view->setModel($this->getModel('field'));
     $this->view->setModel($this->getModel('user'));
     $this->registerDefaultTask("eventlist");
     JToolBarHelper::title(JText::_('DT_CSV_EXPORT_UTILITY'), 'dtregister');
 }
コード例 #20
0
ファイル: calendar.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('calendar', 'html');
     $this->view->setModel($this->getModel('event'));
     $this->view->setModel($this->getModel('location'));
     $this->view->setModel($this->getModel('user'));
     $this->view->setModel($this->getModel('member'));
     $this->view->setModel($this->getModel('field'));
     $this->view->setModel($this->getModel('category'));
     $this->registerDefaultTask("index");
 }
コード例 #21
0
ファイル: eventgroup.php プロジェクト: reeleis/ohiocitycycles
* @copyright contact dthdev@dthdevelopment.com
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/
defined('_JEXEC') or die('Restricted access');
class DtregisterControllerEventgroup extends DtrController
{
    var $name = 'eventgroup';
    function __construct($config = array())
    {
        parent::__construct($config);
        $this->view =& $this->getView('eventgroup', 'html');
        $this->view->setModel($this->getModel('eventgroup'), true);
        $this->view->setModel($this->getModel('category'), false);
        $this->view->setModel($this->getModel('location'), false);
コード例 #22
0
ファイル: permission.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('permission', 'html');
     $this->view->setModel($this->getModel('permission'), true);
     $this->view->setModel($this->getModel('aro'));
     $this->view->setModel($this->getModel('aco'));
     $this->registerDefaultTask("index");
     JToolBarHelper::title(JText::_('DT_PERMISSION_MANAGEMENT'), 'dtregister');
     $user =& JFactory::getUser();
     global $mainframe;
     if ($user->gid != 25) {
         $mainframe->redirect("index.php?option=com_dtregister&controller=authorize&task=auth");
     }
     //pr($user);
 }
コード例 #23
0
ファイル: export.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     $user = JFactory::getUser();
     if (!$user->id) {
         JRequest::setVar('task', 'auth');
     }
     $config = array('default_task' => 'eventlist');
     parent::__construct($config);
     $this->view =& $this->getView('export', 'html');
     $this->view->setModel($this->getModel('export'), true);
     $this->view->setModel($this->getModel('event'));
     $this->view->setModel($this->getModel('field'));
     $this->view->setModel($this->getModel('user'));
     $this->registerDefaultTask("eventlist");
     JToolBarHelper::title(JText::_('DT_CSV_EXPORT_UTILITY'), 'dtregister');
 }
コード例 #24
0
ファイル: event.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('event', 'html');
     $this->view->setModel($this->getModel('event'), true);
     $this->view->setModel($this->getModel('location'));
     $this->view->setModel($this->getModel('user'));
     $this->view->setModel($this->getModel('member'));
     $this->view->setModel($this->getModel('field'));
     $this->view->setModel($this->getModel('fieldtype'));
     $this->view->setModel($this->getModel('discountcode'), false);
     $this->view->setModel($this->getModel('file'), false);
     $this->view->setModel($this->getModel('category'), false);
     $this->view->setModel($this->getModel('section'), false);
     $this->registerTask('new', 'add');
     $this->registerTask('category', 'events');
     $this->registerDefaultTask("events");
 }
コード例 #25
0
ファイル: user.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     global $mainframe;
     parent::__construct($config);
     $user = JFactory::getUser();
     if (!$user->id) {
         JRequest::setVar('task', 'auth');
     }
     $this->view =& $this->getView('User', 'html');
     $this->view->setModel($this->getModel('event'));
     $this->view->setModel($this->getModel('location'));
     $this->view->setModel($this->getModel('user'));
     $this->view->setModel($this->getModel('member'));
     $this->view->setModel($this->getModel('field'));
     $this->view->setModel($this->getModel('field'));
     $this->registerDefaultTask("index");
     $this->user =& JFactory::getUser();
 }
コード例 #26
0
 function __construct($config = array())
 {
     $config = array('default_task' => 'events', 'task_map' => array('new' => 'add'));
     parent::__construct($config);
     $this->view =& $this->getView('eventmanage', 'html');
     $this->view->setModel($this->getModel('event'), true);
     $this->view->setModel($this->getModel('category'), false);
     $this->view->setModel($this->getModel('location'), false);
     $this->view->setModel($this->getModel('section'), false);
     $this->view->setModel($this->getModel('discountcode'), false);
     $this->view->setModel($this->getModel('file'), false);
     $this->view->setModel($this->getModel('field'), false);
     $this->view->setModel($this->getModel('user'), false);
     $this->view->setModel($this->getModel('payoption'), false);
     //$this->registerTask( 'new',  'add' );
     //$this->registerDefaultTask("events");
     JToolBarHelper::title(JText::_('DT_EVENT_MANAGEMENT'), 'dtregister');
 }
コード例 #27
0
ファイル: payment.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('payment', 'html');
     $this->view->setModel($this->getModel('paymentmethod'));
     $this->view->setModel($this->getModel('user'));
     $this->view->setModel($this->getModel('event'));
     $evtTable = $this->getModel('event')->table;
     //prd($_SESSION);
     if (DT_Session::get('register.Event.eventId')) {
         $evtTable->overrideGlobal(DT_Session::get('register.Event.eventId'));
     }
     if (DT_Session::get('register.User.eventId') || DT_Session::get('register.User.0.eventId')) {
         if (DT_Session::get('register.User.eventId')) {
             $evtTable->overrideGlobal(DT_Session::get('register.User.eventId'));
         } else {
             $evtTable->overrideGlobal(DT_Session::get('register.User.0.eventId'));
         }
     }
     $this->evtTable = $evtTable;
     $this->cart = new DT_Cart();
 }
コード例 #28
0
ファイル: file.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('file', 'html');
     $this->view->setModel($this->getModel('file'));
 }
コード例 #29
0
ファイル: validate.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('Validate', 'html');
 }
コード例 #30
0
ファイル: message.php プロジェクト: reeleis/ohiocitycycles
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('message', 'html');
     $this->registerDefaultTask("index");
 }