Index of all elements
[ a ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ i ]
[ l ]
[ n ]
[ ]
[ s ]
[ u ]
[ v ]
[ w ]
top
c
- creerPaquet
- in file WSyncSelects.php, method WSyncSelects::creerPaquet()
Genere le paquet tar.gz contenant le XML
- creerPaquet
- in file WSyncItem.php, method WSyncItem::creerPaquet()
Crée un paquet tar.gz contenant la donnée au format XML et retourne le chemin vers ce paquet
top
top
top
top
g
- genererRequete
- in file WSyncItem.php, method WSyncItem::genererRequete()
Génère la requête à exécuter à partir d'un tableau de champs
- genererXML
- in file WSyncItem.php, method WSyncItem::genererXML()
Retourne les données XML correspondant à cet item
- genererXML
- in file WSyncSelects.php, method WSyncSelects::genererXML()
Genere le XML correspondant aux WSyncSelect fournis
- genererXML
- in file WSynchroFichierModule.php, method WSynchroFichierModule::genererXML()
Crée le fichier XML contenant des informations sur la synchronisation (quel serveur synchronise et avec quelle version)
- getDate
- in file WSyncLog.php, method WSyncLog::getDate()
- getDescription
- in file WSyncModule.php, method WSyncModule::getDescription()
- getDonnee
- in file WSyncItem.php, method WSyncItem::getDonnee()
Retourne la donnée associée
- getEtape
- in file WSyncLog.php, method WSyncLog::getEtape()
- getFichierSync
- in file WSyncItem.php, method WSyncItem::getFichierSync()
- getForce
- in file WSyncSelects.php, method WSyncSelects::getForce()
- getId
- in file WSyncLog.php, method WSyncLog::getId()
- getId
- in file WSyncItem.php, method WSyncItem::getId()
- getItemCentral
- in file WSynchroInternetModule.php, method WSynchroInternetModule::getItemCentral()
Récupère un item sur le serveur central
- getLastId
- in file WSyncItemModule.php, method WSyncItemModule::getLastId()
Retourne l'Id à utiliser pour l'insertion dans une table. Remplace l'auto-increment de mysql.
- getModule
- in file WSyncSelects.php, method WSyncSelects::getModule()
- getModule
- in file WSyncLog.php, method WSyncLog::getModule()
- getModule
- in file WSyncItem.php, method WSyncItem::getModule()
- getNom
- in file WSynchroModule.php, method WSynchroModule::getNom()
Retourne le nom du module de synchronisation
- getNom
- in file WSyncModule.php, method WSyncModule::getNom()
- getParams
- in file WSynchroModule.php, method WSynchroModule::getParams()
Va chercher les parametres du module synchronisation (URL du serveur central ainsi que mot de passe du serveur local) et inscrit ces paramètres dans les variables de classe.
- getRequete
- in file WSyncSelect.php, method WSyncSelect::getRequete()
- getSelects
- in file WSyncSelects.php, method WSyncSelects::getSelects()
- getServeur
- in file WSyncItem.php, method WSyncItem::getServeur()
- getServeur
- in file WSyncLog.php, method WSyncLog::getServeur()
- getSupprime
- in file WSyncItem.php, method WSyncItem::getSupprime()
- getSyncLogs
- in file WSyncModule.php, method WSyncModule::getSyncLogs()
Retourne les logs de synchronisation
- getTable
- in file WSyncItem.php, method WSyncItem::getTable()
- getTable
- in file WSyncSelect.php, method WSyncSelect::getTable()
- getType
- in file WSyncLog.php, method WSyncLog::getType()
- getVersion
- in file WSyncModule.php, method WSyncModule::getVersion()
- getVersion
- in file WSyncLog.php, method WSyncLog::getVersion()
- getVersion
- in file WSynchroModule.php, method WSynchroModule::getVersion()
Retourne la version du module de synchronisation
top
top
l
- lirePaquet
- in file WSyncSelects.php, method WSyncSelects::lirePaquet()
Lis un paquet tar.gz, en extrait les données XML et recrée un objet WSyncSelect à partir de ces données
- lirePaquet
- in file WSyncItem.php, method WSyncItem::lirePaquet()
Lis un paquet tar.gz, en extrait les données au format XML et insère ces données dans la BDD
- logger
- in file WSynchroModule.php, method WSynchroModule::logger()
Logge les étapes de la synchronisation
top
top
top
s
- selectionnerItemsLocal
- in file WSynchroModule.php, method WSynchroModule::selectionnerItemsLocal()
Sélectionne les items d'un module donné en paramètre, les extrait de la BDD et les insère dans un tableau.
- sendingCentral
- in file WSynchroInternetModule.php, method WSynchroInternetModule::sendingCentral()
Etape 3 de la synchronisation. Reception des items du central
- sendingLocal
- in file WSynchroInternetModule.php, method WSynchroInternetModule::sendingLocal()
Etape 2 de la synchronisation. Envoi des paquets un par un du local vers le central.
- setDate
- in file WSyncLog.php, method WSyncLog::setDate()
- setEtape
- in file WSyncLog.php, method WSyncLog::setEtape()
- setFichierSync
- in file WSyncItem.php, method WSyncItem::setFichierSync()
- setForce
- in file WSyncSelects.php, method WSyncSelects::setForce()
- setId
- in file WSyncLog.php, method WSyncLog::setId()
- setId
- in file WSyncItem.php, method WSyncItem::setId()
- setModule
- in file WSyncItem.php, method WSyncItem::setModule()
- setModule
- in file WSyncLog.php, method WSyncLog::setModule()
- setModule
- in file WSyncSelects.php, method WSyncSelects::setModule()
- setServeur
- in file WSyncLog.php, method WSyncLog::setServeur()
- setServeur
- in file WSyncItem.php, method WSyncItem::setServeur()
- setSupprime
- in file WSyncItem.php, method WSyncItem::setSupprime()
Set le booleen a true ou false suivant la donnee
- setTable
- in file WSyncItem.php, method WSyncItem::setTable()
- setType
- in file WSyncLog.php, method WSyncLog::setType()
- setVersion
- in file WSyncLog.php, method WSyncLog::setVersion()
- supprimerItem
- in file WSyncItemModule.php, method WSyncItemModule::supprimerItem()
Supprime une donnée destinée à être synchronisée
- synchronisationFichier
- in file WSyncModule.php, method WSyncModule::synchronisationFichier()
Effectue une synchronisation par fichier.
- synchronisationFichierCentral
- in file WSyncModule.php, method WSyncModule::synchronisationFichierCentral()
Execute les actions du paquet fourni par le serveur central.
- synchronisationForcee
- in file WSynchroInternetModule.php, method WSynchroInternetModule::synchronisationForcee()
Methode de synchronisation forcée
- synchronisationForceeFichier
- in file WSyncModule.php, method WSyncModule::synchronisationForceeFichier()
Effectue une synchronisation forcee par fichier
- synchronisationForceeInternet
- in file WSyncModule.php, method WSyncModule::synchronisationForceeInternet()
Effectue une synchronisation forcée par Internet.
- synchronisationInitiale
- in file WSyncModule.php, method WSyncModule::synchronisationInitiale()
Execute les items initiaux fournis par le central
- synchronisationInternet
- in file WSyncModule.php, method WSyncModule::synchronisationInternet()
Effectue une synchronisation par Internet.
- synchroniser
- in file WSynchroInternetModule.php, method WSynchroInternetModule::synchroniser()
Méthode principale de synchronisation.
- synchroniserCentral
- in file WSynchroFichierModule.php, method WSynchroFichierModule::synchroniserCentral()
Synchronise des données envoyées par le serveur central.
- synchroniserDonnee
- in file WSyncItemModule.php, method WSyncItemModule::synchroniserDonnee()
Met à jour le statut du champ de synchronisation d'une donnée à FALSE pour synchroniser la donnée lors de la prochaine synchronisation avec le central.
- synchroniserFichier
- in file WSyncItemModule.php, method WSyncItemModule::synchroniserFichier()
Met à jour le statut du champ de synchronisation d'un fichier à FALSE pour
- synchroniserLocal
- in file WSynchroFichierModule.php, method WSynchroFichierModule::synchroniserLocal()
Retourne le chemin vers un fichier contenant toutes les données à envoyer au serveur central.
- synchroniserModule
- in file WSynchroInternetModule.php, method WSynchroInternetModule::synchroniserModule()
Synchronisation complète d'un module
- synchroniserModule
- in file WSynchroFichierModule.php, method WSynchroFichierModule::synchroniserModule()
Méthode de synchronisation d'un module donné par fichier.
- synchroniserModuleCentral
- in file WSynchroFichierModule.php, method WSynchroFichierModule::synchroniserModuleCentral()
Méthode de synchronisation d'un module dans le cas de données provenant d'un fichier
- syncInitial
- in file WSynchroFichierModule.php, method WSynchroFichierModule::syncInitial()
Methode de synchronisation initiale: execute simplement les items reçus dans un fichier archive.
top
top
top
top
_
- $_Chemin
- in file WSyncItem.php, variable WSyncItem::$_Chemin
Chemin vers le dossier Ressources
- $_CheminRessources
- in file WSynchroModule.php, variable WSynchroModule::$_CheminRessources
Chemin vers les ressources
- $_CheminRessources
- in file WSyncModule.php, variable WSyncModule::$_CheminRessources
Chemin vers les ressources
- $_CheminStockage
- in file WSynchroModule.php, variable WSynchroModule::$_CheminStockage
Chemin vers le dossier de stockage des items
- $_CheminStockage
- in file WSyncModule.php, variable WSyncModule::$_CheminStockage
Chemin vers le dossier de stockage des items
- $_Date
- in file WSyncLog.php, variable WSyncLog::$_Date
- $_Etape
- in file WSyncLog.php, variable WSyncLog::$_Etape
- $_FichierSync
- in file WSyncItem.php, variable WSyncItem::$_FichierSync
Statut de synchronisation d'un éventuel fichier associé à l'item
- $_Force
- in file WSyncSelects.php, variable WSyncSelects::$_Force
Détermine si la synchronisation est forcée ou pas
- $_Id
- in file WSyncLog.php, variable WSyncLog::$_Id
- $_Id
- in file WSyncItem.php, variable WSyncItem::$_Id
Id de l'item
- $_IdSession
- in file WSynchroInternetModule.php, variable WSynchroInternetModule::$_IdSession
- $_Module
- in file WSyncLog.php, variable WSyncLog::$_Module
- $_Module
- in file WSyncItem.php, variable WSyncItem::$_Module
Module auquel appartient l'item
- $_Module
- in file WSyncSelects.php, variable WSyncSelects::$_Module
Nom du module sur lequel faire les SELECTS
- $_MotDePasse
- in file WSynchroModule.php, variable WSynchroModule::$_MotDePasse
Mot de passe
- $_MotDePasse
- in file WSyncModule.php, variable WSyncModule::$_MotDePasse
Mot de passe
- $_Nom
- in file WSynchroModule.php, variable WSynchroModule::$_Nom
Nom du module de synchronisation
- $_Requete
- in file WSyncSelect.php, variable WSyncSelect::$_Requete
Requête à effectuer
- $_Selects
- in file WSyncSelects.php, variable WSyncSelects::$_Selects
Tableau des selects associés au module
- $_Serveur
- in file WSyncItem.php, variable WSyncItem::$_Serveur
Serveur source ayant envoyé la donnée
- $_Serveur
- in file WSyncLog.php, variable WSyncLog::$_Serveur
- $_ServeurCentral
- in file WSynchroModule.php, variable WSynchroModule::$_ServeurCentral
URL du serveur central
- $_ServeurCentral
- in file WSyncModule.php, variable WSyncModule::$_ServeurCentral
URL du serveur central
- $_ServeurLocal
- in file WSyncModule.php, variable WSyncModule::$_ServeurLocal
Nom du serveur local
- $_ServeurLocal
- in file WSynchroModule.php, variable WSynchroModule::$_ServeurLocal
Nom du serveur local
- $_Supprime
- in file WSyncItem.php, variable WSyncItem::$_Supprime
Determine si la donnée est à supprimer ou non
- $_Table
- in file WSyncItem.php, variable WSyncItem::$_Table
Table dans laquelle est stockée la donnée
- $_Table
- in file WSyncSelect.php, variable WSyncSelect::$_Table
Table MySQL
- $_Type
- in file WSyncLog.php, variable WSyncLog::$_Type
- $_Version
- in file WSyncLog.php, variable WSyncLog::$_Version
- $_Version
- in file WSynchroModule.php, variable WSynchroModule::$_Version
Version du module de synchronisation
- __construct
- in file WSyncItem.php, method WSyncItem::__construct()
Constructeur. Initialise l'objet en fonction des paramètres.
- __construct
- in file WSynchroInternetModule.php, method WSynchroInternetModule::__construct()
Constructeur.
- __construct
- in file WSyncSelect.php, method WSyncSelect::__construct()
Initialise la table et la requête SELECT à envoyer au central
- __construct
- in file WSyncLog.php, method WSyncLog::__construct()
Constructeur
- __construct
- in file WSynchroModule.php, method WSynchroModule::__construct()
Constructeur. Initialise les variables de classe.
- __toString
- in file WSyncItem.php, method WSyncItem::__toString()
Affichage d'un item dans les logs
top
|
|