Import data / Save multiple rows of data at once
Function Definition
public function import ( $import_data, $numeric_mode = false, $format = null )
Source File: /pods/classes/Pods.php
Since: 2.3
Parameters
PARAMETER | TYPE | DETAILS |
---|---|---|
$import_data | (mixed) | PHP associative array or CSV input |
$numeric_mode | (bool) | Use IDs instead of the name field when matching |
$format | (string) | Format of import data, options are php or csv |
Returns
(array) IDs of imported items