Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ExportDocument Class Reference
+ Collaboration diagram for ExportDocument:

Public Member Functions

 setNoAccessText ($noAccessText)
 
 setVerifyAttributeAccess ($verifyAttributeAccess)
 
 setEncoding ($encoding)
 
 setCsvSeparator ($csvSeparator)
 
 setCsvEnclosure ($csvEnclosure)
 
 reset ()
 
 getTrans ()
 
 exportProfil ($fout, $docid)
 
 cvsExport (\Doc &$doc, &$ef, $fout, $wprof, $wfile, $wident, $wutf8, $nopref, $eformat)
 
 csvExport (\Doc &$doc, &$ef, $fout, $wprof, $wfile, $wident, $wutf8, $nopref, $eformat)
 
 setExportAccountType ($exportAccountType)
 

Data Fields

const useAclDocumentType = ":useDocument"
 
const useAclAccountType = ":useAccount"
 

Protected Member Functions

 getUserLogin ($uid)
 
 getUserLogicalName ($uid)
 

Protected Attributes

 $alreadyExported = array()
 
 $lattr
 
 $prevfromid = - 1
 
 $familyName = ''
 
 $csvEnclosure = '"'
 
 $csvSeparator = ','
 
 $encoding = 'utf-8'
 
 $verifyAttributeAccess = false
 
 $attributeGrants = array()
 
 $noAccessText = \FormatCollection::noAccessText
 
 $exportAccountType = self::useAclAccountType
 

Detailed Description

Definition at line 9 of file ExportDocument.php.

Member Function Documentation

csvExport ( \Doc $doc,
$ef,
  $fout,
  $wprof,
  $wfile,
  $wident,
  $wutf8,
  $nopref,
  $eformat 
)

Definition at line 210 of file ExportDocument.php.

+ Here is the call graph for this function:

cvsExport ( \Doc $doc,
$ef,
  $fout,
  $wprof,
  $wfile,
  $wident,
  $wutf8,
  $nopref,
  $eformat 
)
Deprecated:
rename to csvExport

Definition at line 206 of file ExportDocument.php.

exportProfil (   $fout,
  $docid 
)
Parameters
resource$fout
string | int$docid

Definition at line 107 of file ExportDocument.php.

+ Here is the call graph for this function:

getTrans ( )
Returns
array

Definition at line 75 of file ExportDocument.php.

getUserLogicalName (   $uid)
protected

Definition at line 95 of file ExportDocument.php.

+ Here is the call graph for this function:

getUserLogin (   $uid)
protected

Definition at line 87 of file ExportDocument.php.

+ Here is the call graph for this function:

reset ( )

Definition at line 68 of file ExportDocument.php.

setCsvEnclosure (   $csvEnclosure)
Parameters
string$csvEnclosure

Definition at line 63 of file ExportDocument.php.

setCsvSeparator (   $csvSeparator)
Parameters
string$csvSeparator

Definition at line 56 of file ExportDocument.php.

setEncoding (   $encoding)
Parameters
string$encoding

Definition at line 49 of file ExportDocument.php.

setExportAccountType (   $exportAccountType)
Parameters
string$exportAccountType
Exceptions
Exception

Definition at line 442 of file ExportDocument.php.

setNoAccessText (   $noAccessText)

Use when cannot access attribut value Due to visibility "I"

Parameters
string$noAccessText

Definition at line 34 of file ExportDocument.php.

setVerifyAttributeAccess (   $verifyAttributeAccess)

If true, attribute with "I" visibility are not returned

Parameters
boolean$verifyAttributeAccess

Definition at line 42 of file ExportDocument.php.

Field Documentation

$alreadyExported = array()
protected

Definition at line 14 of file ExportDocument.php.

$attributeGrants = array()
protected

Definition at line 22 of file ExportDocument.php.

$csvEnclosure = '"'
protected

Definition at line 18 of file ExportDocument.php.

$csvSeparator = ','
protected

Definition at line 19 of file ExportDocument.php.

$encoding = 'utf-8'
protected

Definition at line 20 of file ExportDocument.php.

$exportAccountType = self::useAclAccountType
protected

Definition at line 24 of file ExportDocument.php.

$familyName = ''
protected

Definition at line 17 of file ExportDocument.php.

$lattr
protected

Definition at line 15 of file ExportDocument.php.

$noAccessText = \FormatCollection::noAccessText
protected

Definition at line 23 of file ExportDocument.php.

$prevfromid = - 1
protected

Definition at line 16 of file ExportDocument.php.

$verifyAttributeAccess = false
protected

Definition at line 21 of file ExportDocument.php.

const useAclAccountType = ":useAccount"

Definition at line 12 of file ExportDocument.php.

const useAclDocumentType = ":useDocument"

Definition at line 11 of file ExportDocument.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen