iLink App - Backoffice  2.0.0
User_model Class Reference
Inheritance diagram for User_model:
Collaboration diagram for User_model:

Public Member Functions

 register_user ($user)
 
 login_user ($id, $pass, $role)
 
 email_check ($email)
 
 geolocatedCount ()
 
 geolocatedCountByParrain ($parrain)
 
 getAllpositions ($network, $category, $parrain)
 
 checkhashSSHA ($salt, $password)
 
 countUser ($category, $network, $codeParrain)
 
 countUserGeoForHyp ($codeHyp)
 
 getAllUserGeoForHyp ($codeHyp)
 
 getVilleByUserGeo ($network, $country)
 
 getUsersGeolocatedByVilleForHyp ($ville, $codeHyp)
 
 getUsersGeolocatedPositionByVilleForHyp ($ville, $codeHyp)
 
 getDemandes ($code_membre)
 
 getDemandesByVille ($code_membre, $ville)
 
 getDemandesForSuper ($debut, $fin, $member_code)
 
 getDemandesHyperForSuper ($debut, $fin, $member_code)
 
 getDemandesAdForSuper ($debut, $fin, $member_code)
 
 getSupervisorsForHyp ($codeHyp)
 
 getUsersGeolocatedForSup ($codeSup)
 
 getAllGeolocatedUsersForHyp ($codeHyp)
 
 getAllDemandesForSuper ($member_code)
 
 getCountDemande ($codeParrain)
 
 getCountDemandeAd ($codeParrain)
 
 getCountDemandeByStatut ($codeParrain, $statut)
 
 getCountDemandeAdByStatut ($codeParrain, $statut)
 
 getRangeASCDemandes ($debut, $fin, $codeParrain)
 
 getRangeASCDemandesOut ($debut, $fin, $codeParrain)
 
 getRangeASCDemandesByNetwork ($debut, $fin, $codeParrain, $ville)
 
 getRangeASCDemandesAd ($debut, $fin, $codeParrain)
 
 getRangeDESCDemandes ($debut, $fin, $codeParrain)
 
 getRangeDESCDemandesOut ($debut, $fin, $codeParrain)
 
 getRangeDESCDemandesBynetwork ($debut, $fin, $codeParrain, $ville)
 
 getRangeDESCDemandesAd ($debut, $fin, $codeParrain)
 
 getTempsMoyen ($debut, $fin, $codeParrain)
 
 getTempsMoyenDemandeSup ($codeParrain)
 
 getTempsMoyenByVille ($codeParrain, $network)
 
 getTempsMoyenAd ($debut, $fin, $codeParrain)
 
 getNetworkByHyp ($codeHyp)
 
 getAllGameCountries ()
 
 getAllCountries ()
 
 getAllHyper ($pays)
 
 getVilleNetworkByHyper ($codeHyp)
 
 adminGetDemandes ($pays, $codeHyper, $ville)
 
 adminGetTempsMoyen ($pays, $codeHyper, $ville)
 
 adminGetRangeASCDemandes ($pays, $codeHyper, $ville)
 
 adminGetRangeDESCDemandes ($pays, $codeHyper, $ville)
 
 adminGetAllpositions ($pays, $codeHyper, $ville)
 
 getAllSimpleUser ($pays, $codeHyper)
 
 getGeneratedCodes ($codeHyper)
 
 getGeneratedHyperCodes ()
 
 getDemandeSupByHyperviseur ($codeHyp)
 
 getCodesByHyperviseur ($codeHyp)
 
 getCoutForAdmin ($pays, $hyper, $ville, $type)
 
 getGeolocatedUsersForAdmin ($pays, $hyper, $ville)
 
 getCoutGeolocatedUsersForAdmin ($pays, $hyper, $ville)
 
 getCoutGeolocatedUsersForHyper ($hyper, $ville)
 
 getCoutSuperForHyper ($hyper)
 
 getCoutGeolocatedUsersForSuper ($super)
 
 getOnlyGeolocatedUsersForAdmin ($pays, $hyper, $ville)
 
 getUsersSimpleForSup ($network, $member_code)
 
 getAllVilles ()
 
 getAllPays ()
 
 changeVilleStatut ($id_ville, $new_statut)
 
 updateVille ($id_country, $id_town, $town)
 
 getAllNetworksNames ()
 
 getAllAssignedNetworks ()
 
 assignCountryToNetwork ($name, $id_country)
 
 checkIfAssignationExiste ($id_country, $network)
 
 updateNetwork ($old_network, $new_network)
 
 getAllAdmin ()
 
 isEmailExist ($email)
 
 isPhoneExist ($phone)
 
 getToken ($token)
 
 createPasswordAdmin ($encrypted_password, $salt, $token)
 
 updateToken ($new_token, $old_token)
 
 updateAdmin ($id, $firstname, $lastname, $email, $phone, $adresse, $country, $category)
 
 deleteAdmin ($id)
 
 getPositionHyper ($codeHyper)
 
 getNumberGeoBySuper ($code_membre)
 
 getIdAgentByMemberCode ($code, $cat)
 
 updateGeolocatedUser ($id, $adresse, $lastname, $email)
 
 updatePhoneAgent ($id, $phone)
 
 deleteInfosGeolocatedUser ($id)
 
 deleteCodeAgent ($code)
 
 getIdCodeGenerer ($code_membre)
 
 getGabonNetwork ()
 
 getCodeHyper ($id_network)
 
 getVillesByPays ($pays_id)
 
 getAgentsFromCountry ($id_country)
 
 getPointGeolocalised ($id_network, $lastname)
 
 getPointGeolocalisedByDate ($id_network, $lastname, $debut, $fin)
 
 getCorrectPointGeolocalisedByDate ($id_network, $lastname, $debut, $fin)
 
 getNetworks ($country_id)
 
 getActiveNetworks ($country_id)
 
 get_current_page_records ($limit, $start, $pays, $hyper, $ville)
 
 get_current_page_records_hyper ($limit, $start, $hyper, $ville)
 
 get_current_page_records_super ($limit, $start, $super)
 
 get_total ($pays, $hyper, $ville)
 
 get_current_page_records_positions ($limit, $start, $pays, $hyper, $ville)
 
 getAllNetworksInfos ($country_id)
 
 getCountries ()
 
 getFreeCode ()
 
 turnOnNetworkAgentEtat ($phone)
 
 turnOnCodeGenererEtat ($code_membre)
 
 getInfosActivationHyperviseur ()
 
 getCodeMembreHyper ($network_id)
 
 getMostOldDateCreationAgent ()
 
 contact_incorrect ()
 
 getPhysicalPointBySupervisor ($debut, $fin, $agent)
 
 getPointGeolocalisedByNetwork ($id_network, $debut, $fin)
 
 getAllpositionsForWorld ()
 
 getAgentNetwork ($agent_name)
 
 getSuperNameAndCodeForHyp ($codeHyp)
 
 getDemandesBySuper ($debut, $fin, $code_parrain)
 
 getGameCountry ()
 
 getCoutForQuota ($pays, $quota_inf, $quota_sup)
 
 getMembers ($pays)
 
 test ($pays, $hyper, $ville)
 
 checkCountryGameExist ($pays)
 
 activeGameOnCountry ($pays, $etat)
 
 addContryToGame ($pays)
 
 getPaliers ()
 
 modifPalier ($value, $niveau)
 
 getQuota ($id)
 
 getNameCountry ($id)
 
 getTownId ($town_name)
 
 checkPosition ($lat, $lng)
 
 create_town ($country_id, $name)
 
 update_town_agent ($lat, $lng, $town_id)
 
 getActiveNetwork ()
 
 getTaux ($id_network)
 
 getNetworkDetails ($id_network)
 
 getTransactions ($debut, $fin, $id_network)
 
 getTransactionsSup ($debut, $fin, $codeMembre)
 
 getInfosWalletAgentForHyper ($id_network)
 
 get_user ($where_clause)
 
 get_simple_user ($phone, $name, $country=null)
 
 update_user_infos ($nom, $adresse, $email, $phone, $id)
 
 update_geolocated_infos ($nom, $adresse, $email, $id_agent, $transac, $phone, $id_netAg)
 
 getPubCountries ()
 
 updateStatePub ($id, $newState)
 
 createPubRow ($id_country)
 
 getSuperNameAndCodeForSup ($codeSup)
 
 nameOfCurrentGeolocatedUser_forSuper ($geolocatedUser_memberCode)
 
 getAllActivatedNetworks ()
 
 getConfigWallet ($id_network)
 
 addConfigWallet ($network_id, $type)
 
 updateConfigWallet ($network_id, $taux_client_r, $taux_client_d, $taux_ag_r, $taux_ag_d, $taux_sup_r, $taux_sup_d, $taux_bq_r, $taux_bq_d, $frais_d)
 
 deleteConfigWallet ($network_id)
 
 getWallet ($id_agent)
 
 addWallet ($id_agent)
 
 getAgentTransactions ($id_wallet)
 
 getAgentiLinkTransactions ($id_wallet)
 
 getNetworkHyper ($id_network)
 
 getAllAgentsForNetwork ($id_network)
 
 reinitializeWallet ($id_wallet)
 
 getAllActivatedWalletNetworks ()
 
 addWalletPassword ($network_id, $encrypted_password, $salt, $email)
 
 updateWalletPassword ($wallet_password_id, $encrypted_password, $salt)
 
 getWalletPassword ($network_id)
 
 getRecharges ($debut, $fin, $id_network)
 
 addWalletRecharge ($montant, $wallet_id)
 
 updateWalletBalance ($montant, $wallet_id)
 
 addPalierConfigWallet ($type, $idConfig, $min, $max, $taux)
 
 addTaxe ($idConfig, $nom, $type, $valeur, $destination, $categorie='wallet')
 
 updatePalierConfigWallet ($id, $min, $max, $taux)
 
 getPalierConfigWallet ($type, $idConfig)
 
 getTaxes ($idConfig, $categorie='wallet')
 
 getOnePalierConfigWallet ($id)
 
 deletePalierConfigWallet ($type, $idConfig)
 
 deleteTaxes ($idConfig, $categorie='wallet')
 
 updateConfigWalletIlink_a_s_c ($taux_ag_s_c, $taux_sup_s_c, $taux_hyp_s_c, $idConfig)
 
 updateConfigWalletIlink_u_w_cart ($taux_u_w_cart, $taux_hyp_s_wallet_cart_ilink, $taux_bq_s_wallet_cart_ilink, $idConfig)
 
 updateConfigWalletIlink_u_c_w ($taux_u_c_w, $taux_u_c_c, $taux_hyp_r_cart_ilink, $taux_bq_r_cart_ilink, $idConfig)
 
 updateConfigWalletIlink_a_r_c ($taux_ag_r_c, $taux_sup_r_c, $taux_hyp_r_c, $idConfig)
 
 updateConfigWalletIlink_a_r_cart ($taux_ag_cart_c, $taux_ag_r_cart, $taux_sup_r_cart, $taux_hyp_r_cart, $taux_bq_r_cart, $idConfig)
 
 updateConfigWalletIlink_a_s_cc ($taux_ag_d_c_c, $taux_ag_d_c, $taux_sup_d_c, $taux_hyp_d_c, $taux_bq_d_c, $idConfig)
 
 getCurrencies ($code)
 
 getWalletsCountriesCurrencies ($code)
 
 insertExchangeRate ($currency, $rate)
 
 getExchangeRate ($currency)
 
 updateExchangeRate ($currency, $rate)
 
 getWalletsCountries ()
 
 getActiveCountries ()
 
 getCountry ($id)
 
 cancelCreditRequest ($id_demand)
 
 insertSimulateur ($frais, $montant, $code, $montant_init)
 
 getSimulateur ($code)
 
 setSharingRate ($network_id, $config_id, $rate, $url)
 
 getSharingRate ($id_network, $idConfig)
 
 getSharingRateByNetwork ($id_network)
 
 countPayingNetworks ($id_country, $idConfig)
 
 getActiveNetworksByCountry ($country_id, $network_id)
 
 getPayingNetworksByConfigWallet ($id_config)
 
 getIlinkTransactions ($debut, $fin, $id_network)
 
 getNetworkIlinTransactions ($id_network)
 
 getCurrency ($id_network)
 
 getCommissionTransfers ($debut, $fin, $codeMembre)
 
 getIlinkTransactionsSup ($debut, $fin, $codeMembre)
 
 getInfosWalletAgentForSuper ($codeMembre)
 
 insertRembourssementCompensation ($montant, $id_network, $id_config)
 
 getRefunds ($debut, $fin, $id_network)
 
 insertCreditLimit ($limit_min, $limit_max, $has_nano_credit, $id_network)
 
 insertNanoCreditSharedRates ($taux_ag, $taux_sup, $taux_hyp, $id_network)
 
 getAllIlinkWorldNetworks ()
 
 getUsersGroups ($id_network)
 
 getNanoCreditRates ($idConfig, $type='nano_credit')
 
 deleteNanoCreditRates ($idConfig, $type='nano_credit')
 
 addNanoCreditRates ($idConfig, $duree, $valeur, $type='nano_credit')
 
 getUserDemandesCredit ($debut, $fin, $id_network)
 
 getUsersSavings ($debut, $fin, $id_network)
 

Detailed Description

Created by PhpStorm. User: capp Date: 29/05/2018 Time: 15:49

Member Function Documentation

◆ activeGameOnCountry()

activeGameOnCountry (   $pays,
  $etat 
)

◆ addConfigWallet()

addConfigWallet (   $network_id,
  $type 
)

◆ addContryToGame()

addContryToGame (   $pays)

◆ addNanoCreditRates()

addNanoCreditRates (   $idConfig,
  $duree,
  $valeur,
  $type = 'nano_credit' 
)

◆ addPalierConfigWallet()

addPalierConfigWallet (   $type,
  $idConfig,
  $min,
  $max,
  $taux 
)

◆ addTaxe()

addTaxe (   $idConfig,
  $nom,
  $type,
  $valeur,
  $destination,
  $categorie = 'wallet' 
)

◆ addWallet()

addWallet (   $id_agent)

◆ addWalletPassword()

addWalletPassword (   $network_id,
  $encrypted_password,
  $salt,
  $email 
)

◆ addWalletRecharge()

addWalletRecharge (   $montant,
  $wallet_id 
)

◆ adminGetAllpositions()

adminGetAllpositions (   $pays,
  $codeHyper,
  $ville 
)

◆ adminGetDemandes()

adminGetDemandes (   $pays,
  $codeHyper,
  $ville 
)

◆ adminGetRangeASCDemandes()

adminGetRangeASCDemandes (   $pays,
  $codeHyper,
  $ville 
)

◆ adminGetRangeDESCDemandes()

adminGetRangeDESCDemandes (   $pays,
  $codeHyper,
  $ville 
)

◆ adminGetTempsMoyen()

adminGetTempsMoyen (   $pays,
  $codeHyper,
  $ville 
)

◆ assignCountryToNetwork()

assignCountryToNetwork (   $name,
  $id_country 
)

◆ cancelCreditRequest()

cancelCreditRequest (   $id_demand)

◆ changeVilleStatut()

changeVilleStatut (   $id_ville,
  $new_statut 
)

◆ checkCountryGameExist()

checkCountryGameExist (   $pays)

◆ checkhashSSHA()

checkhashSSHA (   $salt,
  $password 
)

◆ checkIfAssignationExiste()

checkIfAssignationExiste (   $id_country,
  $network 
)

◆ checkPosition()

checkPosition (   $lat,
  $lng 
)

◆ contact_incorrect()

contact_incorrect ( )

◆ countPayingNetworks()

countPayingNetworks (   $id_country,
  $idConfig 
)

◆ countUser()

countUser (   $category,
  $network,
  $codeParrain 
)

◆ countUserGeoForHyp()

countUserGeoForHyp (   $codeHyp)

◆ create_town()

create_town (   $country_id,
  $name 
)

◆ createPasswordAdmin()

createPasswordAdmin (   $encrypted_password,
  $salt,
  $token 
)

◆ createPubRow()

createPubRow (   $id_country)

Ajoute une nouvelle ligne de publicite

Parameters
int$id_countryID du pays
Returns
mixed

◆ deleteAdmin()

deleteAdmin (   $id)

◆ deleteCodeAgent()

deleteCodeAgent (   $code)

◆ deleteConfigWallet()

deleteConfigWallet (   $network_id)

◆ deleteInfosGeolocatedUser()

deleteInfosGeolocatedUser (   $id)

◆ deleteNanoCreditRates()

deleteNanoCreditRates (   $idConfig,
  $type = 'nano_credit' 
)

◆ deletePalierConfigWallet()

deletePalierConfigWallet (   $type,
  $idConfig 
)

◆ deleteTaxes()

deleteTaxes (   $idConfig,
  $categorie = 'wallet' 
)

◆ email_check()

email_check (   $email)

◆ geolocatedCount()

geolocatedCount ( )

◆ geolocatedCountByParrain()

geolocatedCountByParrain (   $parrain)

◆ get_current_page_records()

get_current_page_records (   $limit,
  $start,
  $pays,
  $hyper,
  $ville 
)

◆ get_current_page_records_hyper()

get_current_page_records_hyper (   $limit,
  $start,
  $hyper,
  $ville 
)

◆ get_current_page_records_positions()

get_current_page_records_positions (   $limit,
  $start,
  $pays,
  $hyper,
  $ville 
)

◆ get_current_page_records_super()

get_current_page_records_super (   $limit,
  $start,
  $super 
)

◆ get_simple_user()

get_simple_user (   $phone,
  $name,
  $country = null 
)
Parameters
$phone
$name
Pays$country
Returns
|null |null

◆ get_total()

get_total (   $pays,
  $hyper,
  $ville 
)

◆ get_user()

get_user (   $where_clause)
Parameters
$where_clause
Returns
bool

◆ getActiveCountries()

getActiveCountries ( )

◆ getActiveNetwork()

getActiveNetwork ( )

◆ getActiveNetworks()

getActiveNetworks (   $country_id)

◆ getActiveNetworksByCountry()

getActiveNetworksByCountry (   $country_id,
  $network_id 
)

◆ getAgentiLinkTransactions()

getAgentiLinkTransactions (   $id_wallet)

◆ getAgentNetwork()

getAgentNetwork (   $agent_name)

◆ getAgentsFromCountry()

getAgentsFromCountry (   $id_country)

◆ getAgentTransactions()

getAgentTransactions (   $id_wallet)

◆ getAllActivatedNetworks()

getAllActivatedNetworks ( )

◆ getAllActivatedWalletNetworks()

getAllActivatedWalletNetworks ( )

◆ getAllAdmin()

getAllAdmin ( )

◆ getAllAgentsForNetwork()

getAllAgentsForNetwork (   $id_network)

◆ getAllAssignedNetworks()

getAllAssignedNetworks ( )

◆ getAllCountries()

getAllCountries ( )

◆ getAllDemandesForSuper()

getAllDemandesForSuper (   $member_code)

◆ getAllGameCountries()

getAllGameCountries ( )

◆ getAllGeolocatedUsersForHyp()

getAllGeolocatedUsersForHyp (   $codeHyp)

◆ getAllHyper()

getAllHyper (   $pays)

◆ getAllIlinkWorldNetworks()

getAllIlinkWorldNetworks ( )

◆ getAllNetworksInfos()

getAllNetworksInfos (   $country_id)

◆ getAllNetworksNames()

getAllNetworksNames ( )

◆ getAllPays()

getAllPays ( )

◆ getAllpositions()

getAllpositions (   $network,
  $category,
  $parrain 
)

◆ getAllpositionsForWorld()

getAllpositionsForWorld ( )

◆ getAllSimpleUser()

getAllSimpleUser (   $pays,
  $codeHyper 
)

◆ getAllUserGeoForHyp()

getAllUserGeoForHyp (   $codeHyp)

◆ getAllVilles()

getAllVilles ( )

◆ getCodeHyper()

getCodeHyper (   $id_network)

◆ getCodeMembreHyper()

getCodeMembreHyper (   $network_id)

◆ getCodesByHyperviseur()

getCodesByHyperviseur (   $codeHyp)

◆ getCommissionTransfers()

getCommissionTransfers (   $debut,
  $fin,
  $codeMembre 
)

◆ getConfigWallet()

getConfigWallet (   $id_network)

◆ getCorrectPointGeolocalisedByDate()

getCorrectPointGeolocalisedByDate (   $id_network,
  $lastname,
  $debut,
  $fin 
)

◆ getCountDemande()

getCountDemande (   $codeParrain)

◆ getCountDemandeAd()

getCountDemandeAd (   $codeParrain)

◆ getCountDemandeAdByStatut()

getCountDemandeAdByStatut (   $codeParrain,
  $statut 
)

◆ getCountDemandeByStatut()

getCountDemandeByStatut (   $codeParrain,
  $statut 
)

◆ getCountries()

getCountries ( )

◆ getCountry()

getCountry (   $id)

◆ getCoutForAdmin()

getCoutForAdmin (   $pays,
  $hyper,
  $ville,
  $type 
)

◆ getCoutForQuota()

getCoutForQuota (   $pays,
  $quota_inf,
  $quota_sup 
)

◆ getCoutGeolocatedUsersForAdmin()

getCoutGeolocatedUsersForAdmin (   $pays,
  $hyper,
  $ville 
)

◆ getCoutGeolocatedUsersForHyper()

getCoutGeolocatedUsersForHyper (   $hyper,
  $ville 
)

◆ getCoutGeolocatedUsersForSuper()

getCoutGeolocatedUsersForSuper (   $super)

◆ getCoutSuperForHyper()

getCoutSuperForHyper (   $hyper)

◆ getCurrencies()

getCurrencies (   $code)

◆ getCurrency()

getCurrency (   $id_network)

◆ getDemandes()

getDemandes (   $code_membre)

◆ getDemandesAdForSuper()

getDemandesAdForSuper (   $debut,
  $fin,
  $member_code 
)

◆ getDemandesBySuper()

getDemandesBySuper (   $debut,
  $fin,
  $code_parrain 
)

◆ getDemandesByVille()

getDemandesByVille (   $code_membre,
  $ville 
)

◆ getDemandesForSuper()

getDemandesForSuper (   $debut,
  $fin,
  $member_code 
)

◆ getDemandesHyperForSuper()

getDemandesHyperForSuper (   $debut,
  $fin,
  $member_code 
)

◆ getDemandeSupByHyperviseur()

getDemandeSupByHyperviseur (   $codeHyp)

◆ getExchangeRate()

getExchangeRate (   $currency)

◆ getFreeCode()

getFreeCode ( )

◆ getGabonNetwork()

getGabonNetwork ( )

◆ getGameCountry()

getGameCountry ( )

◆ getGeneratedCodes()

getGeneratedCodes (   $codeHyper)

◆ getGeneratedHyperCodes()

getGeneratedHyperCodes ( )

◆ getGeolocatedUsersForAdmin()

getGeolocatedUsersForAdmin (   $pays,
  $hyper,
  $ville 
)

◆ getIdAgentByMemberCode()

getIdAgentByMemberCode (   $code,
  $cat 
)

◆ getIdCodeGenerer()

getIdCodeGenerer (   $code_membre)

◆ getIlinkTransactions()

getIlinkTransactions (   $debut,
  $fin,
  $id_network 
)

◆ getIlinkTransactionsSup()

getIlinkTransactionsSup (   $debut,
  $fin,
  $codeMembre 
)

◆ getInfosActivationHyperviseur()

getInfosActivationHyperviseur ( )

◆ getInfosWalletAgentForHyper()

getInfosWalletAgentForHyper (   $id_network)

◆ getInfosWalletAgentForSuper()

getInfosWalletAgentForSuper (   $codeMembre)

◆ getMembers()

getMembers (   $pays)

◆ getMostOldDateCreationAgent()

getMostOldDateCreationAgent ( )

◆ getNameCountry()

getNameCountry (   $id)

◆ getNanoCreditRates()

getNanoCreditRates (   $idConfig,
  $type = 'nano_credit' 
)

◆ getNetworkByHyp()

getNetworkByHyp (   $codeHyp)

◆ getNetworkDetails()

getNetworkDetails (   $id_network)

◆ getNetworkHyper()

getNetworkHyper (   $id_network)

◆ getNetworkIlinTransactions()

getNetworkIlinTransactions (   $id_network)

◆ getNetworks()

getNetworks (   $country_id)

◆ getNumberGeoBySuper()

getNumberGeoBySuper (   $code_membre)

◆ getOnePalierConfigWallet()

getOnePalierConfigWallet (   $id)

◆ getOnlyGeolocatedUsersForAdmin()

getOnlyGeolocatedUsersForAdmin (   $pays,
  $hyper,
  $ville 
)

◆ getPalierConfigWallet()

getPalierConfigWallet (   $type,
  $idConfig 
)

◆ getPaliers()

getPaliers ( )

◆ getPayingNetworksByConfigWallet()

getPayingNetworksByConfigWallet (   $id_config)

◆ getPhysicalPointBySupervisor()

getPhysicalPointBySupervisor (   $debut,
  $fin,
  $agent 
)

◆ getPointGeolocalised()

getPointGeolocalised (   $id_network,
  $lastname 
)

◆ getPointGeolocalisedByDate()

getPointGeolocalisedByDate (   $id_network,
  $lastname,
  $debut,
  $fin 
)

◆ getPointGeolocalisedByNetwork()

getPointGeolocalisedByNetwork (   $id_network,
  $debut,
  $fin 
)

◆ getPositionHyper()

getPositionHyper (   $codeHyper)

◆ getPubCountries()

getPubCountries ( )
Returns
bool

◆ getQuota()

getQuota (   $id)

◆ getRangeASCDemandes()

getRangeASCDemandes (   $debut,
  $fin,
  $codeParrain 
)

◆ getRangeASCDemandesAd()

getRangeASCDemandesAd (   $debut,
  $fin,
  $codeParrain 
)

◆ getRangeASCDemandesByNetwork()

getRangeASCDemandesByNetwork (   $debut,
  $fin,
  $codeParrain,
  $ville 
)

◆ getRangeASCDemandesOut()

getRangeASCDemandesOut (   $debut,
  $fin,
  $codeParrain 
)

◆ getRangeDESCDemandes()

getRangeDESCDemandes (   $debut,
  $fin,
  $codeParrain 
)

◆ getRangeDESCDemandesAd()

getRangeDESCDemandesAd (   $debut,
  $fin,
  $codeParrain 
)

◆ getRangeDESCDemandesBynetwork()

getRangeDESCDemandesBynetwork (   $debut,
  $fin,
  $codeParrain,
  $ville 
)

◆ getRangeDESCDemandesOut()

getRangeDESCDemandesOut (   $debut,
  $fin,
  $codeParrain 
)

◆ getRecharges()

getRecharges (   $debut,
  $fin,
  $id_network 
)

◆ getRefunds()

getRefunds (   $debut,
  $fin,
  $id_network 
)

◆ getSharingRate()

getSharingRate (   $id_network,
  $idConfig 
)

◆ getSharingRateByNetwork()

getSharingRateByNetwork (   $id_network)

◆ getSimulateur()

getSimulateur (   $code)

◆ getSuperNameAndCodeForHyp()

getSuperNameAndCodeForHyp (   $codeHyp)

◆ getSuperNameAndCodeForSup()

getSuperNameAndCodeForSup (   $codeSup)

◆ getSupervisorsForHyp()

getSupervisorsForHyp (   $codeHyp)

◆ getTaux()

getTaux (   $id_network)

◆ getTaxes()

getTaxes (   $idConfig,
  $categorie = 'wallet' 
)

◆ getTempsMoyen()

getTempsMoyen (   $debut,
  $fin,
  $codeParrain 
)

◆ getTempsMoyenAd()

getTempsMoyenAd (   $debut,
  $fin,
  $codeParrain 
)

◆ getTempsMoyenByVille()

getTempsMoyenByVille (   $codeParrain,
  $network 
)

◆ getTempsMoyenDemandeSup()

getTempsMoyenDemandeSup (   $codeParrain)

◆ getToken()

getToken (   $token)

◆ getTownId()

getTownId (   $town_name)

◆ getTransactions()

getTransactions (   $debut,
  $fin,
  $id_network 
)

◆ getTransactionsSup()

getTransactionsSup (   $debut,
  $fin,
  $codeMembre 
)

◆ getUserDemandesCredit()

getUserDemandesCredit (   $debut,
  $fin,
  $id_network 
)

◆ getUsersGeolocatedByVilleForHyp()

getUsersGeolocatedByVilleForHyp (   $ville,
  $codeHyp 
)

◆ getUsersGeolocatedForSup()

getUsersGeolocatedForSup (   $codeSup)

◆ getUsersGeolocatedPositionByVilleForHyp()

getUsersGeolocatedPositionByVilleForHyp (   $ville,
  $codeHyp 
)

◆ getUsersGroups()

getUsersGroups (   $id_network)

◆ getUsersSavings()

getUsersSavings (   $debut,
  $fin,
  $id_network 
)

◆ getUsersSimpleForSup()

getUsersSimpleForSup (   $network,
  $member_code 
)

◆ getVilleByUserGeo()

getVilleByUserGeo (   $network,
  $country 
)

◆ getVilleNetworkByHyper()

getVilleNetworkByHyper (   $codeHyp)

◆ getVillesByPays()

getVillesByPays (   $pays_id)

◆ getWallet()

getWallet (   $id_agent)

◆ getWalletPassword()

getWalletPassword (   $network_id)

◆ getWalletsCountries()

getWalletsCountries ( )

◆ getWalletsCountriesCurrencies()

getWalletsCountriesCurrencies (   $code)

◆ insertCreditLimit()

insertCreditLimit (   $limit_min,
  $limit_max,
  $has_nano_credit,
  $id_network 
)

◆ insertExchangeRate()

insertExchangeRate (   $currency,
  $rate 
)

◆ insertNanoCreditSharedRates()

insertNanoCreditSharedRates (   $taux_ag,
  $taux_sup,
  $taux_hyp,
  $id_network 
)

◆ insertRembourssementCompensation()

insertRembourssementCompensation (   $montant,
  $id_network,
  $id_config 
)

◆ insertSimulateur()

insertSimulateur (   $frais,
  $montant,
  $code,
  $montant_init 
)

◆ isEmailExist()

isEmailExist (   $email)

◆ isPhoneExist()

isPhoneExist (   $phone)

◆ login_user()

login_user (   $id,
  $pass,
  $role 
)

◆ modifPalier()

modifPalier (   $value,
  $niveau 
)

◆ nameOfCurrentGeolocatedUser_forSuper()

nameOfCurrentGeolocatedUser_forSuper (   $geolocatedUser_memberCode)

◆ register_user()

register_user (   $user)

◆ reinitializeWallet()

reinitializeWallet (   $id_wallet)

◆ setSharingRate()

setSharingRate (   $network_id,
  $config_id,
  $rate,
  $url 
)

◆ test()

test (   $pays,
  $hyper,
  $ville 
)

◆ turnOnCodeGenererEtat()

turnOnCodeGenererEtat (   $code_membre)

◆ turnOnNetworkAgentEtat()

turnOnNetworkAgentEtat (   $phone)

◆ update_geolocated_infos()

update_geolocated_infos (   $nom,
  $adresse,
  $email,
  $id_agent,
  $transac,
  $phone,
  $id_netAg 
)
Parameters
$nom
$adresse
$email
int$id_agent
$transac
$phone
int$id_netAg
Returns
bool

◆ update_town_agent()

update_town_agent (   $lat,
  $lng,
  $town_id 
)

◆ update_user_infos()

update_user_infos (   $nom,
  $adresse,
  $email,
  $phone,
  $id 
)
Parameters
$nom
$adresse
$email
$phone
int$id
Returns
mixed

◆ updateAdmin()

updateAdmin (   $id,
  $firstname,
  $lastname,
  $email,
  $phone,
  $adresse,
  $country,
  $category 
)

◆ updateConfigWallet()

updateConfigWallet (   $network_id,
  $taux_client_r,
  $taux_client_d,
  $taux_ag_r,
  $taux_ag_d,
  $taux_sup_r,
  $taux_sup_d,
  $taux_bq_r,
  $taux_bq_d,
  $frais_d 
)

◆ updateConfigWalletIlink_a_r_c()

updateConfigWalletIlink_a_r_c (   $taux_ag_r_c,
  $taux_sup_r_c,
  $taux_hyp_r_c,
  $idConfig 
)

◆ updateConfigWalletIlink_a_r_cart()

updateConfigWalletIlink_a_r_cart (   $taux_ag_cart_c,
  $taux_ag_r_cart,
  $taux_sup_r_cart,
  $taux_hyp_r_cart,
  $taux_bq_r_cart,
  $idConfig 
)

◆ updateConfigWalletIlink_a_s_c()

updateConfigWalletIlink_a_s_c (   $taux_ag_s_c,
  $taux_sup_s_c,
  $taux_hyp_s_c,
  $idConfig 
)

◆ updateConfigWalletIlink_a_s_cc()

updateConfigWalletIlink_a_s_cc (   $taux_ag_d_c_c,
  $taux_ag_d_c,
  $taux_sup_d_c,
  $taux_hyp_d_c,
  $taux_bq_d_c,
  $idConfig 
)

◆ updateConfigWalletIlink_u_c_w()

updateConfigWalletIlink_u_c_w (   $taux_u_c_w,
  $taux_u_c_c,
  $taux_hyp_r_cart_ilink,
  $taux_bq_r_cart_ilink,
  $idConfig 
)

◆ updateConfigWalletIlink_u_w_cart()

updateConfigWalletIlink_u_w_cart (   $taux_u_w_cart,
  $taux_hyp_s_wallet_cart_ilink,
  $taux_bq_s_wallet_cart_ilink,
  $idConfig 
)

◆ updateExchangeRate()

updateExchangeRate (   $currency,
  $rate 
)

◆ updateGeolocatedUser()

updateGeolocatedUser (   $id,
  $adresse,
  $lastname,
  $email 
)

◆ updateNetwork()

updateNetwork (   $old_network,
  $new_network 
)

◆ updatePalierConfigWallet()

updatePalierConfigWallet (   $id,
  $min,
  $max,
  $taux 
)

◆ updatePhoneAgent()

updatePhoneAgent (   $id,
  $phone 
)

◆ updateStatePub()

updateStatePub (   $id,
  $newState 
)

Met a jour l'etat de la publicite

Parameters
int$idID de la configuration
$newStateNouvel etat
Returns
mixed

◆ updateToken()

updateToken (   $new_token,
  $old_token 
)

◆ updateVille()

updateVille (   $id_country,
  $id_town,
  $town 
)

◆ updateWalletBalance()

updateWalletBalance (   $montant,
  $wallet_id 
)

◆ updateWalletPassword()

updateWalletPassword (   $wallet_password_id,
  $encrypted_password,
  $salt 
)

The documentation for this class was generated from the following file: