Core  3.2
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.

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)
 

Function Documentation

base64_decodefile (   $filename)
Parameters
$filename
Deprecated:
use Dcp::base64Decodefile instead

Definition at line 192 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
Deprecated:
use DcpextractFileFromXmlDocument

Definition at line 133 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
Deprecated:
DcpextractFilesFromXmlDirectory
Returns
string

Definition at line 116 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
Returns
array

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
Returns
array

Definition at line 63 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
array$optoptions analyze (boolean) , policy (string)
Deprecated:
use DcpimportXmlDirectory instead
Returns
array

Definition at line 102 of file freedom_import_xml.php.

importXmlDocument (   $dbaccess,
  $xmlfile,
$log,
  $opt 
)
Parameters
$dbaccess
$xmlfile
$log
$optuse Dcp::importXmlFileDocument
Returns
string

Definition at line 151 of file freedom_import_xml.php.

splitXmlDocument (   $xmlfiles,
  $splitdir 
)
Parameters
$xmlfiles
$splitdir
Returns
string
Deprecated:
use DcpsplitXmlDocument

Definition at line 179 of file freedom_import_xml.php.

+ Here is the call graph for this function:

splitZipXmlDocument (   $zipfiles,
  $splitdir 
)
Parameters
$zipfiles
$splitdir
Returns
string
Deprecated:
use Dcp::unZipXmlDocument

Definition at line 165 of file freedom_import_xml.php.

← centre documentaire © anakeen