function __construct(&$db = null) { $db =& JFactory::getDBO(); $this->db =& $db; parent::__construct('#__dtregister_permissions', 'id', $db); $this->ModelAco = DtrModel::getInstance('aco', 'DtregisterModel'); }
function __construct(&$db = null) { $db =& JFactory::getDBO(); $this->db = $db; $this->displayField = 'title'; parent::__construct('#__sections', 'id', $db); }
function __construct(&$db = null) { $db =& JFactory::getDBO(); $this->db =& $db; include_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_dtregister' . DS . 'models' . DS . 'user.php'; $this->TableJuser =& DtrTable::getInstance('Juser', 'Table'); parent::__construct('#__dtregister_aros', 'id', $db); }
function __construct(&$db = null) { $db =& JFactory::getDBO(); parent::__construct('#__dtregister_export_settings', 'id', $db); $this->UserModel =& DtrModel::getInstance('User', 'DtregisterModel'); $this->pmethod =& DtrModel::getInstance('paymentmethod', 'DtregisterModel'); $this->feeModel =& DtrModel::getInstance('fee', 'DtregisterModel'); $this->Tablefield =& DtrTable::getInstance('Field', 'Table'); $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')); $fieldType = DtrModel::getInstance('Fieldtype', 'DtregisterModel'); $this->fieldTypes = $fieldType->getTypes(); }
function __construct(&$db = null) { $db =& JFactory::getDBO(); $this->displayField = 'title'; $this->db =& $db; $this->TableDiscountcode =& DtrTable::getInstance('Discountcode', 'Table'); $this->TableField =& DtrTable::getInstance('Field', 'Table'); /* base fee, late fee, early bird discount, member discount, tax, custom field fees/discounts, discount codes , change fee and cancel fee */ $this->feeElements = array('basefee' => array('title' => JText::_('DT_BASE_FEE'), 'type' => 'basefee'), 'latefee' => array('title' => JText::_('DT_LATE_FEE'), 'type' => 'latefee'), 'birddiscount' => array('title' => JText::_('DT_BIRD_DISCOUNT'), 'type' => 'birddiscount'), 'memberdiscount' => array('title' => JText::_('DT_MEMBER_DISCOUNT'), 'type' => 'memberdiscount'), 'tax' => array('title' => JText::_('DT_TAX_AMOUNT'), 'type' => 'tax'), 'changefee' => array('title' => JText::_('DT_CHANGE_FEE'), 'type' => 'changefee'), 'cancelfee' => array('title' => JText::_('DT_CANCEL_FEE'), 'type' => 'cancelfee')); parent::__construct('#__dtregister_feeorder', 'id', $db); }
function __construct(&$db = null) { $db =& JFactory::getDBO(); $this->db =& $db; parent::__construct('#__dtregister_fields', 'id', $db); $this->virFieldsLabels = array('name' => JText::_('DT_NAME')); $this->combinedFields = array('name' => array('firstname', 'lastname')); $this->combinedFields = array(); $this->_defaultFields = array('firstname', 'lastname', 'email', 'country', 'state', 'zip', 'phone', 'address1', 'address2', 'organization', 'title'); $this->mfieldType =& DtrModel::getInstance('fieldtype', 'dtregisterModel'); $this->defaultListing = array('firstname', 'lastname'); $fieldtype =& DtrModel::getInstance('fieldtype', 'dtregisterModel'); }
function __construct(&$db) { $this->db = $db; parent::__construct('#__community_users', 'userid', $db); $this->JOMField = new JomsocialFields($db); $this->fields = $this->JOMField->find(" published=1 and type <> 'group' "); $temp = array(); if (is_array($this->fields)) { foreach ($this->fields as $field) { $temp[$field->id] = $field; } } $this->fields = $temp; }
function __construct(&$db) { $this->db = $db; parent::__construct('#__comprofiler', 'id', $db); $this->CBField = new DTCBFields($db); $this->fields = $this->CBField->find(); if (count($this->fields) > 0) { foreach ($this->fields as $field) { $name = $field->name; if (isset($name) && $name != "") { $this->{$name} = ""; } } } }
function __construct(&$db = null) { $db =& JFactory::getDBO(); $this->db =& $db; parent::__construct('#__dtregister_member_field_values', 'id', $db); $this->Tablefield =& DtrTable::getInstance('Field', 'Table'); $this->TableField =& $this->Tablefield; }
function __construct(&$db = null) { parent::__construct('#__dtregister_fee', 'id', $db); $this->statustxt = array(0 => JText::_('DT_NOT_PAID'), 1 => JText::_('DT_PAID')); }
function __construct(&$db = null) { $db =& JFactory::getDBO(); $this->db = $db; parent::__construct('#__dtregister_locations', 'id', $db); }
function __construct(&$db = null) { $db =& JFactory::getDBO(); $this->db =& $db; parent::__construct('#__jevents_vevdetail', 'evdet_id', $db); }
function __construct(&$db) { $this->db = $db; parent::__construct('#__dtregister_categories', 'categoryId', $db); }