◆ loadTableFromYamlFile()
static loadTableFromYamlFile |
( |
|
$table, |
|
|
|
$yamlFile |
|
) |
| |
|
static |
loadTableFromYamlFile
- Parameters
-
string | $table | name of table to load without prefix |
string | $yamlFile | name of file containing data dump in YAML format |
- Returns
- int number of rows inserted
◆ saveTableToYamlFile()
static saveTableToYamlFile |
( |
|
$table, |
|
|
|
$yamlFile, |
|
|
|
$criteria = null , |
|
|
|
$skipColumns = array() |
|
) |
| |
|
static |
Save table data to a YAML file
- Parameters
-
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 |
- Returns
- bool true on success, false on error
The documentation for this class was generated from the following file:
- C:/xoops2511b2/htdocs/class/libraries/vendor/xoops/xmf/src/Database/TableLoad.php