public function __construct(array $params = array()) { $params['collection'] = Billrun_Factory::db()->lines; parent::__construct($params); $this->search_key = "stamp"; $this->lines_coll = Billrun_Factory::db()->linesCollection(); }
public function __construct(array $params = array()) { $params['collection'] = 'billrun'; $params['db'] = 'billrun'; parent::__construct($params); $this->search_key = array('billrun_key', 'aid'); }
public function __construct(array $params = array()) { $params['collection'] = 'balances'; $params['db'] = 'balances'; parent::__construct($params); $this->search_key = "stamp"; }
/** * constructor * * @param array $params of parameters to preset the object */ public function __construct(array $params = array()) { parent::__construct($params); if (isset($params['date'])) { $this->date = $params['date']; } }
public function __construct(array $params = array()) { if (isset($params['collection'])) { unset($params['collection']); } parent::__construct($params); $this->collection = Billrun_Factory::db(Billrun_Factory::config()->getConfigValue('fraud.db'))->eventsCollection(); $this->collection_name = 'events'; $this->search_key = "stamp"; }
public function __construct($adapter = null) { parent::__construct($adapter); }
public function __construct($connection, $tableName) { parent::__construct($connection, $tableName); }
public function __construct(array $params = array()) { $params['collection'] = Billrun_Factory::db()->users; parent::__construct($params); $this->search_key = "username"; }