XOOPS API 2.5.11 Beta1  UI v0.5
Réalisé par monxoops.fr
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe TableLoad

Fonctions membres publiques statiques

static loadTableFromYamlFile ($table, $yamlFile)
 
static saveTableToYamlFile ($table, $yamlFile, $criteria=null, $skipColumns=array())
 

Documentation des fonctions membres

◆ loadTableFromYamlFile()

static loadTableFromYamlFile (   $table,
  $yamlFile 
)
static

loadTableFromYamlFile

Paramètres
string$tablename of table to load without prefix
string$yamlFilename of file containing data dump in YAML format
Renvoie
int number of rows inserted

◆ saveTableToYamlFile()

static saveTableToYamlFile (   $table,
  $yamlFile,
  $criteria = null,
  $skipColumns = array() 
)
static

Save table data to a YAML file

Paramètres
string$tablename of table to load without prefix
string$yamlFilename of file containing data dump in YAML format
\CriteriaElement$criteriaoptional criteria
string[]$skipColumnsdo not include columns in this list
Renvoie
bool true on success, false on error

La documentation de cette classe a été générée à partir du fichier suivant :