/**
	 * Gets a gateway account (regardless of enabled or not !)
	 *
	 * @param  int|null              $gateAccount
	 * @return cbpaidGatewayAccount                object for the corresponding account or FALSE in case of error
	 */
	public function & getPayAccount( $gateAccount ) {
		global $_CB_database;

		if ( ! $gateAccount ) {
			$false				=	false;
			return $false;
		}
		$gatewayAccountsMgr			=&	cbpaidGatewaysAccountsMgr::getInstance( $_CB_database );
		$account					=&	$gatewayAccountsMgr->getObject( (int) $gateAccount );
		return $account;
	}
 /**
  * Used by XML for Backend:
  *
  * Maps array of arrays to an array of new objects of the corresponding class for each row
  *
  * @param  array|int  $resultsArray   array of a row of database to convert | int id of row to load
  * @return cbpaidGatewayAccount
  */
 public static function gatewayAccountObjects($resultsArray)
 {
     global $_CB_database;
     $objMgr = cbpaidGatewaysAccountsMgr::getInstance($_CB_database);
     $objectsArray = $objMgr->getObjects($resultsArray);
     return $objectsArray;
 }