Пример #1
0
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
* @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
 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
 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
 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
 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
 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
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('file', 'html');
     $this->view->setModel($this->getModel('file'));
 }
Пример #29
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('Validate', 'html');
 }
Пример #30
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->view =& $this->getView('message', 'html');
     $this->registerDefaultTask("index");
 }