Go to the source code of this file.
Namespaces | |
FDL | |
Functions | |
freedom_import_xml (Action &$action, $filename="") | |
freedom_import_xmlzip (Action &$action, $filename="") | |
importXmlDirectory ($dbaccess, $splitdir, $opt) | |
extractFilesFromXmlDirectory ($splitdir) | |
extractFileFromXmlDocument ($file) | |
importXmlDocument ($dbaccess, $xmlfile, &$log, $opt) | |
splitZipXmlDocument ($zipfiles, $splitdir) | |
splitXmlDocument ($xmlfiles, $splitdir) | |
base64_decodefile ($filename) | |
base64_decodefile | ( | $filename | ) |
$filename |
Definition at line 192 of file freedom_import_xml.php.
extractFileFromXmlDocument | ( | $file | ) |
extract encoded base 64 file from xml and put it in local media directory the file is rewrite without encoded data and replace by href attribute
$file |
Definition at line 133 of file freedom_import_xml.php.
extractFilesFromXmlDirectory | ( | $splitdir | ) |
read a directory to extract all encoded files
$splitdir |
Definition at line 116 of file freedom_import_xml.php.
freedom_import_xml | ( | Action & | $action, |
$filename = "" |
|||
) |
export global xml file
Action | $action | main action |
string | $filename | xml filename to import |
Definition at line 25 of file freedom_import_xml.php.
freedom_import_xmlzip | ( | Action & | $action, |
$filename = "" |
|||
) |
export global xml file
Action | $action | main action |
string | $filename | xml filename to import |
Definition at line 63 of file freedom_import_xml.php.
importXmlDirectory | ( | $dbaccess, | |
$splitdir, | |||
$opt | |||
) |
read a directory to import all xml files
string | $splitdir | |
array | $opt | options analyze (boolean) , policy (string) |
Definition at line 102 of file freedom_import_xml.php.
importXmlDocument | ( | $dbaccess, | |
$xmlfile, | |||
& | $log, | ||
$opt | |||
) |
$dbaccess | |
$xmlfile | |
$log | |
$opt | use Dcp::importXmlFileDocument |
Definition at line 151 of file freedom_import_xml.php.
splitXmlDocument | ( | $xmlfiles, | |
$splitdir | |||
) |
$xmlfiles | |
$splitdir |
Definition at line 179 of file freedom_import_xml.php.
splitZipXmlDocument | ( | $zipfiles, | |
$splitdir | |||
) |
$zipfiles | |
$splitdir |
Definition at line 165 of file freedom_import_xml.php.