Пример #1
0
 function __construct($config = array())
 {
     parent::__construct($config);
     if ($this->jomsocialInstall()) {
         $this->table = new JomsocialFields($this->getDBO());
         $this->User = new JomUser($this->getDBO());
     }
 }
Пример #2
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->table = new TableDuser($this->getDBO());
     $this->defaultfields = array('firstname', 'lastname', 'zip', 'city', 'state', 'phone', 'email');
     $this->combinedFields = array('name' => array('firstname', 'lastname'));
     $this->orderByfields = array('name' => array('firstname', 'lastname'), 'email' => 'email', 'date' => 'u.register_date', 'event' => 'e.title', 'amount' => 'f.fee', 'paid' => 'f.status', 'attend' => 'u.attend', 'members' => 'u.memtot', 'due_amount' => 'f.due', 'status' => 'u.status', 'discount_code' => 'd.code', 'confirmNum' => 'u.confirmNum', 'type' => 'u.type');
 }
Пример #3
0
 function __construct($config = array())
 {
     $config['name'] = 'config';
     parent::__construct($config);
     $this->table = new DtrTable('#__dtregister_config', 'id', $this->getDBO());
     $this->TablePayoption =& DtrTable::getInstance('payoption', 'Table');
     $this->db = $this->getDBO();
 }
Пример #4
0
 function __construct($config = array())
 {
     $this->options = array('at_door' => JText::_('DT_PAY_AT_DOOR'), 'mail' => JText::_('DT_MAILIN_PAYMENT'), 'phone' => JText::_('DT_CALLIN_PAYMENT'));
     $this->methods = array_keys($this->options);
     $this->table = new TablePaylater($this->getDBO());
     $this->options = $this->table->optionslist();
     parent::__construct($config);
 }
Пример #5
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->barCodeTypes = array('code39' => JText::_('DT_CODE39'), 'code39extended' => JText::_('DT_CODE39_EXTENDED'), 'code93' => JText::_('DT_CODE93'), 'code128' => JText::_('DT_CODE128'));
     $this->barCodeImagetype = array('png' => JText::_('DT_BARCODE_PNG'), 'jpg' => JText::_('DT_BARCODE_JPEG'));
     $this->barCodeImagetypeToExt = array('png' => 'png', 'jpg' => 'jpeg');
     $this->barCodeResolutions = array('1' => 1, '2' => '2', '3' => '3');
     $this->barcodeRotation = array(0 => JText::_('DT_DEGREE_ZERO'), 90 => JText::_('DT_DEGREE_90'), 180 => JText::_('DT_DEGREE_180'), 270 => JText::_('DT_DEGREE_270'));
 }
Пример #6
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->notfields = array('forumorder', 'onlinestatus', 'lastvisitDate', 'registerDate', 'avatar', 'middlename', 'lastupdatedate', 'hits', 'password', 'params', 'connections', 'forumrank', 'forumkarma', 'forumsignature', 'forumview', 'forumorder', 'forumposts', 'username');
     if ($this->isInstall()) {
         $this->table = new DTCBFields($this->getDBO());
         $this->User = new DtCbUser($this->getDBO());
     }
 }
Пример #7
0
 function __construct($config = array())
 {
     $this->methods = array("authorizenet" => JText::_('AUTH_NET'), "echeck" => JText::_('ECHECK'), "GoogleCheckout" => JText::_('DT_GOOGLE_CHECKOUT'), "NetDeposit" => JText::_('DT_NETDEPOSIT'), "paypal" => JText::_('PAYPAL'), "Eway" => JText::_('DT_EWAY'), "usaepay_credit_card" => JText::_('DT_USAEPAY'), "usaepay_echeck" => JText::_('DT_USAEPAY_ECHECK'), 'Sage' => JText::_('DT_SAGE'), "ideal" => JText::_('DT_PAY_IDEAL_MOLLIE'), "idealRabo" => JText::_('DT_PAY_IDEAL_LITE'), 'saferpay' => JText::_('DT_SAFER_PAY'), 'psigate' => JText::_('DT_PSIGATE'), "pay_later" => JText::_('DT_PAY_LATER'), "paypal_pro" => JText::_('DT_PAYPAL_PRO'), 'offline_payment' => JText::_('DT_OFFLINE_PAYMENT'));
     $path = JURI::root(true) . "/components/com_dtregister/assets/images/";
     global $googlemerchid, $amp;
     $this->images = array('authorizenet' => $path . 'card_pay.jpg', 'echeck' => $path . 'echeck_pay.jpg', 'GoogleCheckout' => "https://checkout.google.com/buttons/checkout.gif?merchant_id=" . $googlemerchid . $amp . "w=160" . $amp . "h=43" . $amp . "style=trans" . $amp . "variant=text" . $amp . "loc=en_US", 'NetDeposit' => $path . 'card_pay.jpg', 'paypal' => $path . 'paypal_pay.jpg', 'Eway' => $path . 'eway_card_pay.jpg', 'Sage' => $path . 'sage_card_pay.jpg', 'ideal' => $path . 'ideal_pay.jpg', 'idealRabo' => $path . 'ideal_pay.jpg', 'pay_later' => $path . 'pay_later.jpg', 'paypal_pro' => $path . 'paypal_pay.jpg', 'saferpay' => $path . 'saferpay_pay.jpg', 'psigate' => $path . 'psigate_pay.jpg', 'usaepay_credit_card' => $path . 'card_pay.jpg', 'usaepay_echeck' => $path . 'echeck_pay.jpg', 'offline_payment' => $path . 'card_pay.jpg');
     $this->paylater =& DtrModel::getInstance('Paylater', 'DtregisterModel');
     parent::__construct($config);
 }
Пример #8
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->listingTypes = array('memberlist' => JText::_('DT_MEMBER_LIST'), 'attendeelist' => JText::_('DT_ATTENDEE_LIST'));
     //'recordlist'=>JText::_('DT_RECORD_LIST')
     $this->combinedFields = array('name' => array('firstname', 'lastname'));
     $this->combinedFields = array();
     $this->table = new TableField($this->getDBO());
     $this->table->setCombineFields($this->combinedFields);
     JHTML::_('behavior.tooltip', '.DtTip');
 }
Пример #9
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->migrated = 0;
     $this->table = new TableDtregister($this->getDBO());
     $data = $this->table->find(' property = "migrate"');
     if ($data) {
         $data = $data[0];
         $this->migrated = $data->value;
     }
 }
Пример #10
0
 function __construct($config = array())
 {
     $this->defaultfields = array('firstname', 'lastname', 'zip', 'city', 'state', 'phone', 'email', 'address', 'address2', 'title', 'organization', 'country');
     parent::__construct($config);
     $this->TableEvent =& DtrTable::getInstance('Event', 'Table');
     $this->TableUser =& DtrTable::getInstance('Duser', 'Table');
     $this->TableUsergroupamount =& DtrTable::getInstance('Usergroupamount', 'Table');
     $this->TableUserfield =& DtrTable::getInstance('Userfield', 'Table');
     $this->TableMember =& DtrTable::getInstance('Member', 'Table');
     $this->fieldmapByName = array();
     $this->fieldmapById = array();
     $this->UserFldsTodefault = array('userFirstName' => 'firstname', 'userLastName' => 'lastname', 'userOrganization' => 'organization', 'userAddress' => 'address', 'userAddress2' => 'address2', 'userCity' => 'city', 'userState' => 'state', 'userCountry' => 'country', 'userZip' => 'zip', 'userPhone' => 'phone', 'userEmail' => 'email', 'userTitle' => 'title');
     $this->UserFldsTodefault = array_flip($this->UserFldsTodefault);
     $this->mapFields();
 }
Пример #11
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->table = new TableSection($this->getDBO());
 }
Пример #12
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->location = new TableLocation($this->getDBO());
     $this->table = $this->location;
 }
Пример #13
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->table = new TableEventGroup($this->getDBO());
     $this->tableJevt = new TableJevent($this->getDBO());
 }
Пример #14
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->table = new TableExport($this->getDBO());
     $this->generalFields = array('event_date' => JText::_('DT_EVENT_DATE'), 'type' => JText::_('DT_USER_TYPE'), 'amount' => JText::_('DT_AMOUNT'), 'payment_type' => JText::_('DT_PAYMENT_TYPE'), 'paid' => JText::_('DT_PAYMENT_STATUS'), 'paid_amount' => JText::_('DT_AMOUNT_PAID'), 'memtot' => JText::_('DT_NUMBER_MEMBERS'), 'confirmNum' => JText::_('DT_CONFIRMATION_NUMBER'), 'code' => JText::_('DT_DISCOUNT_CODE'), 'category' => JText::_('DT_CATEGORY'), 'location' => JText::_('DT_LOCATION'), 'user_id' => JText::_('DT_JOOMLA_USERID'), 'attend' => JText::_('DT_ATTENDED'), 'status' => JText::_('DT_STATUS'), 'transaction_id' => JText::_('DT_TRANSACTION_ID'), 'userId' => JText::_('DT_USER_ID'));
 }
Пример #15
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->discountcode = new TableDiscountcode($this->getDBO());
     $this->table = $this->discountcode;
 }
Пример #16
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->AcoGroup = array('DT_EDIT_OWN_EVENT' => array(array('controller' => 'event', 'task' => 'edit', 'type' => 'sessionUser'), array('controller' => 'event', 'task' => 'publish', 'type' => 'sessionUser'), array('controller' => 'event', 'task' => 'unpublish', 'type' => 'sessionUser')), 'DT_EVENT_CREATE' => array(array('controller' => 'event', 'task' => 'add', 'type' => 'action')), 'DT_PUBLISH_EVENT' => array(array('controller' => 'event', 'task' => 'publish', 'type' => 'action'), array('controller' => 'event', 'task' => 'unpublish', 'type' => 'action')), 'DT_DELETE_EVENT' => array(array('controller' => 'event', 'task' => 'delete', 'type' => 'action')), 'DT_CREATE_CATEGORY' => array(array('controller' => 'category', 'task' => 'add', 'type' => 'action')), 'DT_EDIT_DELETE_CATEGORY' => array(array('controller' => 'category', 'task' => 'edit', 'type' => 'action'), array('controller' => 'category', 'task' => 'delete', 'type' => 'action')), 'DT_CREATE_FIELD' => array(array('controller' => 'field', 'task' => 'add', 'type' => 'action')), 'DT_EDIT_DELETE_FIELD' => array(array('controller' => 'field', 'task' => 'edit', 'type' => 'action'), array('controller' => 'field', 'task' => 'delete', 'type' => 'action')), 'DT_CREATE_DISCOUNTCODE' => array(array('controller' => 'discountcode', 'task' => 'add', 'type' => 'action')), 'DT_EDIT_DELETE_DISCOUNTCODE' => array(array('controller' => 'discountcode', 'task' => 'edit', 'type' => 'action'), array('controller' => 'discountcode', 'task' => 'delete', 'type' => 'action')), 'DT_CREATE_LOCATION' => array(array('controller' => 'location', 'task' => 'add', 'type' => 'action')), 'DT_EDIT_DELETE_LOCATION' => array(array('controller' => 'location', 'task' => 'edit', 'type' => 'action'), array('controller' => 'location', 'task' => 'delete', 'type' => 'action')), 'DT_CONFIG' => array(array('controller' => 'config', 'task' => 'index', 'type' => 'action')), 'DT_EMAIL_REGISTRANT' => array(array('controller' => 'registrantemail', 'task' => 'index', 'type' => 'action')), 'DT_CREATE_PAYOPTION' => array(array('controller' => 'payoption', 'task' => 'add', 'type' => 'action')), 'DT_EDIT_DELETE_PAYOPTION' => array(array('controller' => 'payoption', 'task' => 'edit', 'type' => 'action'), array('controller' => 'payoption', 'task' => 'delete', 'type' => 'action')), 'DT_CSV_EXPORT' => array(array('controller' => 'export', 'task' => 'eventlist', 'type' => 'action'), array('controller' => 'export', 'task' => 'fieldlist', 'type' => 'action')));
     $this->table = new TableAco($this->getDBO());
 }
Пример #17
0
 function __construct($config = array())
 {
     $this->colors = array("green" => JText::_('DT_GREEN'), "black" => JText::_('DT_BLACK'), "blue" => JText::_('DT_BLUE'), "brown" => JText::_('DT_BROWN'), "orange" => JText::_('DT_ORANGE'), "purple" => JText::_('DT_PURPLE'), "red" => JText::_('DT_RED'), "yellow" => JText::_('DT_YELLOW'));
     parent::__construct($config);
 }
Пример #18
0
 function __construct($config = array())
 {
     $this->types = array("Visa" => JText::_('DT_VISA'), "MasterCard" => JText::_('DT_MASTERCARD'), "Discover" => JText::_('DT_DISCOVER'), "AmericanExpress" => JText::_('DT_AMERICANEXPRESS'));
     parent::__construct($config);
 }