Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
exportfld.php File Reference

Go to the source code of this file.

Namespaces

 FDL
 

Functions

 exportfld (Action &$action, $aflid="0", $famid="", $outputPath="", $exportInvisibleVisibilities=false)
 
 recordStatus (Action &$action, $exportId, $msg, $endStatus=false)
 
 deleteContentDirectory ($dirname)
 

Function Documentation

deleteContentDirectory (   $dirname)

Removes content of the directory (not sub directory)

Parameters
string$dirnamethe directory name to remove
Returns
boolean True/False whether the directory was deleted.
Deprecated:
To delete (not used)

Definition at line 260 of file exportfld.php.

exportfld ( Action $action,
  $aflid = "0",
  $famid = "",
  $outputPath = "",
  $exportInvisibleVisibilities = false 
)

Exportation of documents from folder or searches

Parameters
Action&$actioncurrent action
string$aflidFolder identifier to use if no "id" http vars
string$famidFamily restriction to filter folder content
string$outputPathwhere put export, if wfile outputPath is a directory
bool$exportInvisibleVisibilitiesset to true to export invisible attribute also
Exceptions
Dcp\Exception
Exceptionstring $fldid Http var : folder identifier to export string $wprof Http var : (Y|N) if Y export associated profil also string $wfile Http var : (Y|N) if Y export attached file export format will be tgz string $wident Http var : (Y|N) if Y specid column is set with identifier of document string $wutf8 Http var : (Y|N) if Y encoding is utf-8 else iso8859-1 string $wcolumn Http var : if - export preferences are ignored string $eformat Http var : (I|R|F) I: for reimport, R: Raw data, F: Formatted data string $selection Http var : JSON document selection object
Returns
void

Definition at line 41 of file exportfld.php.

+ Here is the call graph for this function:

recordStatus ( Action $action,
  $exportId,
  $msg,
  $endStatus = false 
)
Parameters
Action$action
$exportId
$msg
bool$endStatus
See Also
DcprecordStatus()
Deprecated:
use DcprecordStatus() instead

Definition at line 246 of file exportfld.php.

← centre documentaire © anakeen