Exemplo n.º 1
0
	/**
	 * Constructor
	 *
	 *	@param string      $table  name of the table in the db schema relating to child class
	 *	@param string      $key    name of the primary key field in the table
	 *	@param CBdatabase  $db     CB Database object
	 */
	public function __construct( $table, $key, &$db = null ) {
		parent::__construct(  $table, $key, $db );
	}
 /**
  * Constructor
  *
  * @param  CBdatabase  $db
  */
 public function __construct(&$db = null)
 {
     parent::__construct('NONE', 'id', $db);
 }
Exemplo n.º 3
0
	/**
	 * Constructor
	 *
	 *	@param string      $table  name of the table in the db schema relating to child class
	 *	@param string      $key    name of the primary key field in the table
	 *	@param CBdatabase  $db     CB Database object
	 */
	public function __construct( $table, $key, &$db = null ) {
		parent::__construct( $table, $key, $db );
		$this->_historySetLogger();
	}
 /**
  * Constructor
  *
  * @param  CBdatabase  $db
  */
 public function __construct(&$db = null)
 {
     parent::__construct('#__cbsubs_history', 'id', $db);
 }
 /**
  * Constructor
  *
  * @param  CBdatabase|null  $db
  * @param  int              $user_id
  */
 public function __construct(&$db = null, $user_id)
 {
     $this->id = (int) $user_id;
     parent::__construct('#__users', 'id', $db);
 }
Exemplo n.º 6
0
	/**
	 * Constructor
	 *
	 * @param  CBdatabase  $db
	 */
	public function __construct( &$db = null ) {
		parent::__construct( '#__comprofiler_countries', 'province_iso_code', $db );
		$this->_historySetLogger();
	}
 /**
  * Constructor
  *
  * @param  CBdatabase  $db
  */
 public function __construct(&$db = null)
 {
     parent::__construct('#__cbsubs_config', 'id', $db);
     $this->_historySetLogger();
 }
	/**
	 * Constructor
	 *
	 * @param  CBdatabase  $db
	 */
	public function __construct( &$db = null ) {
		parent::__construct( '#__cbsubs_gateway_accounts', 'id', $db );
		$this->_historySetLogger();
	}
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('#__cbsubs_currencies', 'id');
     $this->_historySetLogger();
 }