Documentation TYPO3 par Ameos |
Public Member Functions | |
updateRefIndexTable ($table, $uid, $testOnly=FALSE) | |
generateRefIndexData ($table, $uid) | |
createEntryData ($table, $uid, $field, $flexpointer, $deleted, $ref_table, $ref_uid, $ref_string='', $sort=-1, $softref_key='', $softref_id='') | |
createEntryData_dbRels ($table, $uid, $fieldname, $flexpointer, $deleted, $items) | |
createEntryData_fileRels ($table, $uid, $fieldname, $flexpointer, $deleted, $items) | |
createEntryData_softreferences ($table, $uid, $fieldname, $flexpointer, $deleted, $keys) | |
getRelations ($table, $row) | |
getRelations_flexFormCallBack ($dsArr, $dataValue, $PA, $structurePath, &$pObj) | |
getRelations_procFiles ($value, $conf, $uid) | |
getRelations_procDB ($value, $conf, $uid) | |
isReferenceField ($conf) | |
destPathFromUploadFolder ($folder) | |
error ($msg) | |
updateIndex ($testOnly, $cli_echo=FALSE) | |
Public Attributes | |
$temp_flexRelations = array() | |
$errorLog = array() | |
$WSOL = FALSE | |
$relations = array() | |
$hashVersion = 1 |
Definition at line 83 of file class.t3lib_refindex.php.
|
Create array with field/value pairs ready to insert in database. The "hash" field is a fingerprint value across this table.
Definition at line 249 of file class.t3lib_refindex.php. |
|
Enter database references to ->relations array
Definition at line 276 of file class.t3lib_refindex.php. |
|
Enter file references to ->relations array
Definition at line 293 of file class.t3lib_refindex.php. References t3lib_div::isFirstPartOfStr(). |
|
Enter softref references to ->relations array
Definition at line 314 of file class.t3lib_refindex.php. |
|
Returns destination path to an upload folder given by $folder
Definition at line 613 of file class.t3lib_refindex.php. |
|
Sets error message in the internal error log
Definition at line 623 of file class.t3lib_refindex.php. |
|
Returns array of arrays with an index of all references found in record from table/uid If the result is used to update the sys_refindex table then ->WSOL must NOT be true (no workspace overlay anywhere!)
Definition at line 172 of file class.t3lib_refindex.php. Referenced by updateRefIndexTable(). |
|
Returns relation information for a $table/$row-array Traverses all fields in input row which are configured in TCA/columns It looks for hard relations to files and records in the TCA types "select" and "group"
Definition at line 369 of file class.t3lib_refindex.php. References t3lib_BEfunc::explodeSoftRefParserList(), t3lib_BEfunc::getFlexFormDS(), t3lib_div::loadTCA(), t3lib_div::makeInstance(), t3lib_BEfunc::softRefParserObj(), and t3lib_div::xml2array(). |
|
Callback function for traversing the FlexForm structure in relation to finding file and DB references!
Definition at line 466 of file class.t3lib_refindex.php. References t3lib_BEfunc::explodeSoftRefParserList(), and t3lib_BEfunc::softRefParserObj(). |
|
Check field configuration if it is a DB relation field and extract DB relations if any
Definition at line 566 of file class.t3lib_refindex.php. References t3lib_div::makeInstance(). |
|
Check field configuration if it is a file relation field and extract file relations if any
Definition at line 516 of file class.t3lib_refindex.php. References t3lib_div::makeInstance(). |
|
Returns true if the TCA/columns field type is a DB reference field
Definition at line 603 of file class.t3lib_refindex.php. |
|
Updating Index (External API)
Definition at line 634 of file class.t3lib_refindex.php. References t3lib_div::makeInstance(). |
|
Call this function to update the sys_refindex table for a record. NOTICE: Currently, references updated for a deleted-flagged record will not include those from within flexform fields in some cases where the data structure is defined by another record since the resolving process ignores deleted records! This will also result in bad cleaning up in tcemain I think... Anyway, thats the story of flexforms; as long as the DS can change, lots of references can get lost in no time.
Definition at line 101 of file class.t3lib_refindex.php. References $relations, generateRefIndexData(), and t3lib_BEfunc::getRecordRaw(). |