◆ loadTableFromYamlFile()
static loadTableFromYamlFile |
( |
|
$table, |
|
|
|
$yamlFile |
|
) |
| |
|
static |
loadTableFromYamlFile
- Paramètres
-
string | $table | name of table to load without prefix |
string | $yamlFile | name 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 | $table | name of table to load without prefix |
string | $yamlFile | name of file containing data dump in YAML format |
\CriteriaElement | $criteria | optional criteria |
string[] | $skipColumns | do 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 :
- XoopsCore25-2.5.11-Beta1/htdocs/class/libraries/vendor/xoops/xmf/src/Database/TableLoad.php