Public Member Functions | |
__construct ($importFile) | |
setVerifyAttributeAccess ($verifyAttributeAccess) | |
analyzeOnly ($analyze) | |
setPolicy ($policy) | |
setImportDirectory ($dirid) | |
reinitAttribute ($reinit) | |
reset ($reset) | |
setComma ($comma) | |
setCsvOptions ($csvSeparator= ';', $csvEnclosure= '"', $csvLinebreak = '\n') | |
import () | |
getImportedAttribute ($famId, $attrId) | |
Static Public Member Functions | |
static | detectAutoCsvOptions ($csvFileName, &$separator= 'auto', &$enclosure= 'auto') |
static | recordEnum ($famid, $attrid, $phpfunc, $reset=false) |
Data Fields | |
const | attributePrefix = ":ATTR:" |
const | documentPrefix = ":DOC:" |
Protected Member Functions | |
setAutoCsvOptions () | |
doATag (array $data) | |
doBegin (array $data) | |
doEnd (array $data) | |
cleanStructure () | |
cleanDefaultAndParametersValues () | |
doReset (array $data) | |
doDoc (array $data) | |
doSearch (array $data) | |
doDocIcon (array $data) | |
doDocAtag (array $data) | |
doIcon (array $data) | |
doDfldid (array $data) | |
doCfldid (array $data) | |
doWid (array $data) | |
doCvid (array $data) | |
doClass (array $data) | |
doMethod (array $data) | |
doCprofid (array $data) | |
doProfid (array $data) | |
doInitial (array $data) | |
doDefault (array $data) | |
doAccess (array $data) | |
doTagable (array $data) | |
doProfil (array $data) | |
getProfilUid ($defaultReferenceType, $reference) | |
getUserId ($login) | |
doKeys (array $data) | |
doOrder (array $data) | |
doLdapmap (array $data) | |
isTypeCompatible ($curType, $newType) | |
doAttr (array $data) | |
doIattr (array $data) | |
doProp ($data) | |
addImportedAttribute ($famId, DocAttr &$oa) | |
Definition at line 18 of file Class.ImportDescription.php.
__construct | ( | $importFile | ) |
string | $importFile |
Dcp\Exception |
Definition at line 82 of file Class.ImportDescription.php.
|
protected |
Definition at line 2021 of file Class.ImportDescription.php.
analyzeOnly | ( | $analyze | ) |
Definition at line 104 of file Class.ImportDescription.php.
|
protected |
Definition at line 699 of file Class.ImportDescription.php.
|
protected |
Delete undeclared sql columns
Definition at line 678 of file Class.ImportDescription.php.
|
static |
Detect csv options - separator and enclosure arguments are modified if set to auto
$csvFileName | ||
string | &$separator | need to set to 'auto' to detect |
string | &$enclosure | need to set to 'auto' to detect |
Dcp\Exception |
Definition at line 163 of file Class.ImportDescription.php.
|
protected |
analyze ACCESS
array | $data | line of description file |
Definition at line 1374 of file Class.ImportDescription.php.
|
protected |
add application tag
array | $data |
Definition at line 473 of file Class.ImportDescription.php.
|
protected |
analyze IATTR
array | $data | line of description file |
Definition at line 1760 of file Class.ImportDescription.php.
|
protected |
analyze BEGIN
array | $data | line of description file |
Definition at line 487 of file Class.ImportDescription.php.
|
protected |
analyze CFLDID
array | $data | line of description file |
Definition at line 1065 of file Class.ImportDescription.php.
|
protected |
analyze CLASS
array | $data | line of description file |
Definition at line 1176 of file Class.ImportDescription.php.
|
protected |
analyze CPROFID
array | $data | line of description file |
Definition at line 1247 of file Class.ImportDescription.php.
|
protected |
analyze CVID
array | $data | line of description file |
Definition at line 1134 of file Class.ImportDescription.php.
|
protected |
analyze DEFAULT
array | $data | line of description file |
Definition at line 1334 of file Class.ImportDescription.php.
|
protected |
analyze DFLDID
array | $data | line of description file |
Definition at line 1028 of file Class.ImportDescription.php.
|
protected |
analyze DOC
array | $data | line of description file |
Append current document's logical name to list of known logical names and configure the importer to use this list to check for unknown logical names
Definition at line 797 of file Class.ImportDescription.php.
|
protected |
analyze DOCATAG
array | $data | line of description file |
Definition at line 947 of file Class.ImportDescription.php.
|
protected |
analyze DOCICON
array | $data | line of description file |
Definition at line 933 of file Class.ImportDescription.php.
|
protected |
analyze END
array | $data | line of description file |
Definition at line 571 of file Class.ImportDescription.php.
|
protected |
analyze IATTR
array | $data | line of description file |
Definition at line 1921 of file Class.ImportDescription.php.
|
protected |
analyze ICON
array | $data | line of description file |
Definition at line 1013 of file Class.ImportDescription.php.
|
protected |
analyze INITIAL
array | $data | line of description file |
Definition at line 1295 of file Class.ImportDescription.php.
|
protected |
analyze KEYS
array | $data | line of description file |
Definition at line 1640 of file Class.ImportDescription.php.
|
protected |
analyze LDAPMAP
array | $data | line of description file |
Definition at line 1699 of file Class.ImportDescription.php.
|
protected |
analyze METHOD
array | $data | line of description file |
Definition at line 1197 of file Class.ImportDescription.php.
|
protected |
analyze ORDER
array | $data | line of description file |
Definition at line 1669 of file Class.ImportDescription.php.
|
protected |
analyze PROFID
array | $data | line of description file |
Definition at line 1271 of file Class.ImportDescription.php.
|
protected |
analyze PROFIL
array | $data | line of description file |
Definition at line 1488 of file Class.ImportDescription.php.
|
protected |
analyze PROP
array | $data | line of description file |
Definition at line 1990 of file Class.ImportDescription.php.
|
protected |
analyze RESET²
array | $data | line of description file |
Definition at line 723 of file Class.ImportDescription.php.
|
protected |
analyze SEARCH
array | $data | line of description file |
Definition at line 871 of file Class.ImportDescription.php.
|
protected |
analyze TAGABLE
array | $data | tagable parameter |
PhpUndefinedClassInspection Defined in dynacase-tags module
Definition at line 1452 of file Class.ImportDescription.php.
|
protected |
analyze WID
array | $data | line of description file |
Definition at line 1089 of file Class.ImportDescription.php.
getImportedAttribute | ( | $famId, | |
$attrId | |||
) |
Definition at line 2028 of file Class.ImportDescription.php.
|
protected |
Definition at line 1584 of file Class.ImportDescription.php.
|
protected |
Definition at line 1624 of file Class.ImportDescription.php.
import | ( | ) |
Definition at line 206 of file Class.ImportDescription.php.
|
protected |
Verify compatibility between 2 type
string | $curType | |
string | $newType |
Definition at line 1740 of file Class.ImportDescription.php.
|
static |
int | $famid | family identifier |
string | $attrid | attribute identifier |
string | $phpfunc | enum flat description |
bool | $reset | set to true to delete old items before recorded |
Definition at line 1875 of file Class.ImportDescription.php.
reinitAttribute | ( | $reinit | ) |
Definition at line 122 of file Class.ImportDescription.php.
reset | ( | $reset | ) |
Definition at line 127 of file Class.ImportDescription.php.
|
protected |
Definition at line 192 of file Class.ImportDescription.php.
setComma | ( | $comma | ) |
Definition at line 137 of file Class.ImportDescription.php.
setCsvOptions | ( | $csvSeparator = ';' , |
|
$csvEnclosure = '"' , |
|||
$csvLinebreak = '\n' |
|||
) |
Definition at line 142 of file Class.ImportDescription.php.
setImportDirectory | ( | $dirid | ) |
Definition at line 117 of file Class.ImportDescription.php.
setPolicy | ( | $policy | ) |
Definition at line 109 of file Class.ImportDescription.php.
setVerifyAttributeAccess | ( | $verifyAttributeAccess | ) |
boolean | $verifyAttributeAccess |
Definition at line 99 of file Class.ImportDescription.php.
const attributePrefix = ":ATTR:" |
Definition at line 20 of file Class.ImportDescription.php.
const documentPrefix = ":DOC:" |
Definition at line 21 of file Class.ImportDescription.php.