Public Member Functions | |
__construct () | |
analyzeOnly ($analyze) | |
setPolicy ($policy) | |
setPreValues (array $preValues) | |
setVerifyAttributeAccess ($verifyAttributeAccess) | |
setTargetDirectory ($dirid) | |
setTargetDirectories (array $dirid) | |
setFilePath ($path) | |
setOrder (array $order) | |
setKey (array $keys) | |
getError () | |
getImportResult () | |
hasError () | |
import (array $data) | |
importHtmltextFiles ($matches) | |
setKnownLogicalNames ($knownLogicalNames=array()) | |
Data Fields | |
$dbaccess = '' | |
$famId | |
$specId | |
$folderId | |
Protected Member Functions | |
inhibitInvisibleAttributes (Doc $doc) | |
getUnknownDocIdLogicalNames (Doc &$doc, NormalAttribute &$oattr, $value) | |
Protected Attributes | |
$dirid = 0 | |
$analyze = false | |
$importFilePath = '' | |
$policy = 'add' | |
$orders = array() | |
$preValues = array() | |
$verifyAttributeAccess = true | |
$folderIds = array() | |
$keys | |
$tcr = array() | |
$error = array() | |
Definition at line 18 of file Class.ImportSingleDocument.php.
__construct | ( | ) |
Definition at line 63 of file Class.ImportSingleDocument.php.
analyzeOnly | ( | $analyze | ) |
Definition at line 69 of file Class.ImportSingleDocument.php.
getError | ( | ) |
Definition at line 119 of file Class.ImportSingleDocument.php.
getImportResult | ( | ) |
Definition at line 124 of file Class.ImportSingleDocument.php.
|
protected |
Parse a docid's raw value (single or multiple) for unknown logical names
Doc | $doc | |
NormalAttribute | $oattr | |
string | $value | docid's raw value |
Definition at line 682 of file Class.ImportSingleDocument.php.
hasError | ( | ) |
Definition at line 131 of file Class.ImportSingleDocument.php.
import | ( | array | $data | ) |
import a single document from $data import line beginning with DOC
array | $data |
Check for unknown logical names in docid's raw value
Definition at line 162 of file Class.ImportSingleDocument.php.
importHtmltextFiles | ( | $matches | ) |
Definition at line 623 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 613 of file Class.ImportSingleDocument.php.
setFilePath | ( | $path | ) |
Definition at line 103 of file Class.ImportSingleDocument.php.
setKey | ( | array | $keys | ) |
Definition at line 113 of file Class.ImportSingleDocument.php.
setKnownLogicalNames | ( | $knownLogicalNames = array() | ) |
Set the list of known logical names to check for unknown logical names
array | $knownLogicalNames | List of known logical names |
Definition at line 710 of file Class.ImportSingleDocument.php.
setOrder | ( | array | $order | ) |
Definition at line 108 of file Class.ImportSingleDocument.php.
setPolicy | ( | $policy | ) |
Definition at line 74 of file Class.ImportSingleDocument.php.
setPreValues | ( | array | $preValues | ) |
Definition at line 79 of file Class.ImportSingleDocument.php.
setTargetDirectories | ( | array | $dirid | ) |
identify where to insert document
array | $dirid | folder identifier |
Definition at line 99 of file Class.ImportSingleDocument.php.
setTargetDirectory | ( | $dirid | ) |
Definition at line 90 of file Class.ImportSingleDocument.php.
setVerifyAttributeAccess | ( | $verifyAttributeAccess | ) |
boolean | $verifyAttributeAccess |
Definition at line 86 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 22 of file Class.ImportSingleDocument.php.
$dbaccess = '' |
Definition at line 41 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 21 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 40 of file Class.ImportSingleDocument.php.
$famId |
Definition at line 45 of file Class.ImportSingleDocument.php.
$folderId |
Definition at line 53 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 34 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 23 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 35 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 25 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 24 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 26 of file Class.ImportSingleDocument.php.
$specId |
Definition at line 49 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 39 of file Class.ImportSingleDocument.php.
|
protected |
Definition at line 30 of file Class.ImportSingleDocument.php.