Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
freedom_import_xml.php File Reference

Go to the source code of this file.

Data Structures

class  XMLParseErrorException
 

Namespaces

namespace  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)
 

Function Documentation

base64_decodefile (   $filename)

Definition at line 399 of file freedom_import_xml.php.

+ Here is the call graph for this function:

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

Parameters
$file
Returns
string error message empty if no errors

Definition at line 145 of file freedom_import_xml.php.

+ Here is the call graph for this function:

extractFilesFromXmlDirectory (   $splitdir)

read a directory to extract all encoded files

Parameters
$splitdir

Definition at line 127 of file freedom_import_xml.php.

+ Here is the call graph for this function:

freedom_import_xml ( Action $action,
  $filename = "" 
)

export global xml file

Parameters
Action$actionmain action
string$filenamexml filename to import

Definition at line 25 of file freedom_import_xml.php.

+ Here is the call graph for this function:

freedom_import_xmlzip ( Action $action,
  $filename = "" 
)

export global xml file

Parameters
Action$actionmain action
string$filenamexml filename to import

Definition at line 66 of file freedom_import_xml.php.

+ Here is the call graph for this function:

importXmlDirectory (   $dbaccess,
  $splitdir,
  $opt 
)

read a directory to import all xml files

Parameters
string$splitdir
arrayoptions analyze (boolean) , policy (string)

Definition at line 107 of file freedom_import_xml.php.

+ Here is the call graph for this function:

importXmlDocument (   $dbaccess,
  $xmlfile,
$log,
  $opt 
)

Definition at line 210 of file freedom_import_xml.php.

+ Here is the call graph for this function:

splitXmlDocument (   $xmlfiles,
  $splitdir 
)

Definition at line 353 of file freedom_import_xml.php.

splitZipXmlDocument (   $zipfiles,
  $splitdir 
)

Definition at line 346 of file freedom_import_xml.php.

← centre documentaire © anakeen - published under CC License - Dynacase