Esempio n. 1
0
 /**
  * Constructor
  *
  * @param   array  $config  Configuration array
  */
 public function __construct($config = array())
 {
     if (empty($config['filter_fields'])) {
         $config['filter_fields'] = array('id', 's.id', 'name', 's.name', 'published', 's.published', 'ordering', 's.ordering', 'created_date', 's.created_date', 'modified_date', 's.modified_date', 'created_by', 's.created_by', 'modified_by', 's.modified_by');
     }
     parent::__construct($config);
 }
Esempio n. 2
0
 /**
  * Constructor
  *
  * @param   array  $config  Configuration array
  */
 public function __construct($config = array())
 {
     if (empty($config['filter_fields'])) {
         $config['filter_fields'] = array('client_id', 'oc.client_id', 'client_secret', 'oc.client_secret', 'redirect_uri', 'oc.redirect_uri');
     }
     parent::__construct($config);
 }
Esempio n. 3
0
 /**
  * Constructor.
  *
  * @param   array  $config  Configs
  *
  * @see     JController
  */
 public function __construct($config = array())
 {
     if (empty($config['filter_fields'])) {
         $config['filter_fields'] = array('number', 'participant', 'team', 'rank', 'performance', 'bonus_points');
     }
     parent::__construct($config);
 }
Esempio n. 4
0
 /**
  * Constructor
  *
  * @param   array  $config  Configuration array
  */
 public function __construct($config = array())
 {
     if (empty($config['filter_fields'])) {
         $config['filter_fields'] = array('payment_id', 'pc.payment_id', 'status', 'pc.status', 'transaction_id', 'pc.transaction_id');
     }
     parent::__construct($config);
 }
Esempio n. 5
0
 /**
  * Constructor
  *
  * @param   array  $config  Configuration array
  */
 public function __construct($config = array())
 {
     if (empty($config['filter_fields'])) {
         $config['filter_fields'] = array('id', 'c.id', 'name', 'c.name', 'ordering', 'c.ordering', 'state', 'c.state', 'type', 'c.type');
     }
     parent::__construct($config);
 }
Esempio n. 6
0
 /**
  * Constructor.
  *
  * @param   array  $config  An optional associative array of configuration settings.
  */
 public function __construct($config = array())
 {
     if (empty($config['filter_fields'])) {
         $config['filter_fields'] = array_merge(array_keys($this->getOrderableColumns()), array_values($this->getOrderableColumns()));
     }
     parent::__construct($config);
 }
Esempio n. 7
0
 /**
  * Constructor
  *
  * @param   array  $config  Configuration array
  */
 public function __construct($config = array())
 {
     if (empty($config['filter_fields'])) {
         $config['filter_fields'] = array('rctranslations_language', 't.rctranslations_language', 'published', 't.published');
     }
     parent::__construct($config);
 }
 /**
  * Constructor
  *
  * @param   array  $config  Configuration array
  */
 public function __construct($config = array())
 {
     if (empty($config['filter_fields'])) {
         $config['filter_fields'] = array('extension_name', 'pc.extension_name', 'owner_name', 'pc.owner_name', 'payment_name', 'pc.payment_name', 'state', 'pc.state');
     }
     parent::__construct($config);
 }
Esempio n. 9
0
 /**
  * Constructor
  *
  * @param   array  $config  Configuration array
  */
 public function __construct($config = array())
 {
     if (empty($config['filter_fields'])) {
         $config['filter_fields'] = array('id', 'a.id', 'name', 'a.name', 'state', 'a.state');
     }
     parent::__construct($config);
 }
Esempio n. 10
0
 /**
  * Constructor
  *
  * @param   array  $config  Configuration array
  */
 public function __construct($config = array())
 {
     if (empty($config['filter_fields'])) {
         $config['filter_fields'] = array('published', 'w.published', 'client', 'w.client', 'state', 'w.state', 'path', 'w.path');
     }
     parent::__construct($config);
 }
Esempio n. 11
0
 /**
  * Constructor.
  *
  * @param   array  $config  [description]
  *
  * @see     JController
  */
 public function __construct($config = array())
 {
     if (empty($config['filter_fields'])) {
         $filterFields = array('name', 'i.name', 'ordering', 'i.ordering', 'published', 'i.published', 'access', 'i.access', 'access_level', 'i.id');
         $config['filter_fields'] = $filterFields;
     }
     parent::__construct($config);
 }
Esempio n. 12
0
 /**
  * Constructor.
  *
  * @param   array  $config  An optional associative array of configuration settings.
  *
  * @see     JModelLegacy
  */
 public function __construct($config = array())
 {
     if (!empty($config["tableName"])) {
         $this->tableName = $config["tableName"];
         $this->name = $config["tableName"];
     }
     if (!empty($config["context"])) {
         $this->context = strtolower($config["context"]);
     }
     if (!empty($config["paginationPrefix"])) {
         $this->paginationPrefix = strtolower($config["paginationPrefix"]);
     }
     if (!empty($config["filterFields"])) {
         $this->filter_fields = $config["filterFields"];
     }
     $this->modelConfig = $config;
     parent::__construct($config);
 }