Public Member Functions | |
| start ($data, $cmd, $altUserObject='') | |
| setMirror ($mirror) | |
| setDefaultsFromUserTS ($userTS) | |
| process_uploads ($postFiles) | |
| process_uploads_traverseArray (&$outputArr, $inputArr, $keyToSet) | |
| hook_processDatamap_afterDatabaseOperations (&$hookObjectsArr, &$status, &$table, &$id, &$fieldArray) | |
| process_datamap () | |
| placeholderShadowing ($table, $id) | |
| fillInFieldArray ($table, $id, $fieldArray, $incomingFieldArray, $realPid, $status, $tscPID) | |
| checkValue ($table, $field, $value, $id, $status, $realPid, $tscPID) | |
| checkValue_SW ($res, $value, $tcaFieldConf, $table, $id, $curValue, $status, $realPid, $recFID, $field, $uploadedFiles, $tscPID) | |
| checkValue_input ($res, $value, $tcaFieldConf, $PP, $field='') | |
| checkValue_check ($res, $value, $tcaFieldConf, $PP) | |
| checkValue_radio ($res, $value, $tcaFieldConf, $PP) | |
| checkValue_group_select ($res, $value, $tcaFieldConf, $PP, $uploadedFiles, $field) | |
| checkValue_group_select_file ($valueArray, $tcaFieldConf, $curValue, $uploadedFileArray, $status, $table, $id, $recFID) | |
| checkValue_flex ($res, $value, $tcaFieldConf, $PP, $uploadedFiles, $field) | |
| checkValue_flexArray2Xml ($array, $addPrologue=FALSE) | |
| _DELETE_FLEX_FORMdata (&$valueArrayToRemoveFrom, $deleteCMDS) | |
| _MOVE_FLEX_FORMdata (&$valueArrayToMoveIn, $moveCMDS, $direction) | |
| checkValue_inline ($res, $value, $tcaFieldConf, $PP, $field) | |
| checkValue_checkMax ($tcaFieldConf, $valueArray) | |
| getUnique ($table, $field, $value, $id, $newPid=0) | |
| checkValue_input_Eval ($value, $evalArray, $is_in) | |
| checkValue_group_select_processDBdata ($valueArray, $tcaFieldConf, $id, $status, $type, $currentTable) | |
| checkValue_group_select_explodeSelectGroupValue ($value) | |
| checkValue_flex_procInData ($dataPart, $dataPart_current, $uploadedFiles, $dataStructArray, $pParams, $callBackFunc='') | |
| checkValue_flex_procInData_travDS (&$dataValues, $dataValues_current, $uploadedFiles, $DSelements, $pParams, $callBackFunc, $structurePath) | |
| process_cmdmap () | |
| copyRecord ($table, $uid, $destPid, $first=0, $overrideValues=array(), $excludeFields='') | |
| copyPages ($uid, $destPid) | |
| copySpecificPage ($uid, $destPid, $copyTablesArray, $first=0) | |
| copyRecord_raw ($table, $uid, $pid, $overrideArray=array()) | |
| rawCopyPageContent ($old_pid, $new_pid, $copyTablesArray) | |
| insertNewCopyVersion ($table, $fieldArray, $realPid) | |
| copyRecord_procBasedOnFieldType ($table, $uid, $field, $value, $row, $conf, $realDestPid) | |
| copyRecord_flexFormCallBack ($pParams, $dsConf, $dataValue, $dataValue_ext1, $dataValue_ext2) | |
| copyRecord_procFilesRefs ($conf, $uid, $value) | |
| moveRecord ($table, $uid, $destPid) | |
| moveRecord_procFields ($table, $uid, $destPid) | |
| moveRecord_procBasedOnFieldType ($table, $uid, $destPid, $field, $value, $conf) | |
| localize ($table, $uid, $language) | |
| deleteAction ($table, $id) | |
| deleteEl ($table, $uid, $noRecordCheck=FALSE, $forceHardDelete=FALSE) | |
| deleteVersionsForRecord ($table, $uid, $forceHardDelete) | |
| undeleteRecord ($table, $uid) | |
| deleteRecord ($table, $uid, $noRecordCheck=FALSE, $forceHardDelete=FALSE, $undeleteRecord=FALSE) | |
| deleteRecord_flexFormCallBack ($dsArr, $dataValue, $PA, $structurePath, &$pObj) | |
| deletePages ($uid, $force=FALSE, $forceHardDelete=FALSE) | |
| deleteSpecificPage ($uid, $forceHardDelete=FALSE) | |
| canDeletePage ($uid) | |
| cannotDeleteRecord ($table, $id) | |
| deleteRecord_procFields ($table, $uid, $undeleteRecord=false) | |
| deleteRecord_procBasedOnFieldType ($table, $uid, $field, $value, $conf, $undeleteRecord=false) | |
| versionizeRecord ($table, $id, $label, $delete=FALSE, $versionizeTree=-1) | |
| versionizePages ($uid, $label, $versionizeTree) | |
| version_swap ($table, $id, $swapWith, $swapIntoWS=0) | |
| version_clearWSID ($table, $id) | |
| version_setStage ($table, $id, $stageId, $comment='') | |
| remapListedDBRecords () | |
| remapListedDBRecords_flexFormCallBack ($pParams, $dsConf, $dataValue, $dataValue_ext1, $dataValue_ext2) | |
| remapListedDBRecords_procDBRefs ($conf, $value, $MM_localUid, $table) | |
| remapListedDBRecords_procInline ($conf, $value, $uid, $table) | |
| processRemapStack () | |
| checkModifyAccessList ($table) | |
| isRecordInWebMount ($table, $id) | |
| isInWebMount ($pid) | |
| checkRecordUpdateAccess ($table, $id) | |
| checkRecordInsertAccess ($insertTable, $pid, $action=1) | |
| isTableAllowedForThisPage ($page_uid, $checkTable) | |
| doesRecordExist ($table, $id, $perms) | |
| doesRecordExist_pageLookUp ($id, $perms) | |
| doesBranchExist ($inList, $pid, $perms, $recurse) | |
| tableReadOnly ($table) | |
| tableAdminOnly ($table) | |
| destNotInsideSelf ($dest, $id) | |
| getExcludeListArray () | |
| doesPageHaveUnallowedTables ($page_uid, $doktype) | |
| pageInfo ($id, $field) | |
| recordInfo ($table, $id, $fieldList) | |
| getRecordProperties ($table, $id, $noWSOL=FALSE) | |
| getRecordPropertiesFromRow ($table, $row) | |
| updateDB ($table, $id, $fieldArray) | |
| insertDB ($table, $id, $fieldArray, $newVersion=FALSE, $suggestedUid=0, $dontSetNewIdIndex=FALSE) | |
| checkStoredRecord ($table, $id, $fieldArray, $action) | |
| setHistory ($table, $id, $logId) | |
| clearHistory ($maxAgeSeconds=604800, $table) | |
| updateRefIndex ($table, $id) | |
| getSortNumber ($table, $uid, $pid) | |
| resorting ($table, $pid, $sortRow, $return_SortNumber_After_This_Uid) | |
| setTSconfigPermissions ($fieldArray, $TSConfig_p) | |
| newFieldArray ($table) | |
| addDefaultPermittedLanguageIfNotSet ($table, &$incomingFieldArray) | |
| overrideFieldArray ($table, $data) | |
| compareFieldArrayWithCurrentAndUnset ($table, $id, $fieldArray) | |
| assemblePermissions ($string) | |
| rmComma ($input) | |
| convNumEntityToByteValue ($input) | |
| destPathFromUploadFolder ($folder) | |
| deleteClause ($table) | |
| getTCEMAIN_TSconfig ($tscPID) | |
| getTableEntries ($table, $TSconfig) | |
| getPID ($table, $uid) | |
| dbAnalysisStoreExec () | |
| removeRegisteredFiles () | |
| removeCacheFiles () | |
| int_pageTreeInfo ($CPtable, $pid, $counter, $rootID) | |
| compileAdminTables () | |
| fixUniqueInPid ($table, $uid) | |
| fixCopyAfterDuplFields ($table, $uid, $prevUid, $update, $newData=array()) | |
| extFileFields ($table) | |
| getUniqueFields ($table) | |
| isReferenceField ($conf) | |
| getInlineFieldType ($conf) | |
| getCopyHeader ($table, $pid, $field, $value, $count, $prevTitle='') | |
| prependLabel ($table) | |
| resolvePid ($table, $pid) | |
| clearPrefixFromValue ($table, $value) | |
| extFileFunctions ($table, $field, $filelist, $func) | |
| noRecordsFromUnallowedTables ($inList) | |
| notifyStageChange ($stat, $stageId, $table, $id, $comment) | |
| notifyStageChange_getEmails ($listOfUsers, $noTablePrefix=FALSE) | |
| isRecordCopied ($table, $uid) | |
| clear_cache ($table, $uid) | |
| clear_cacheCmd ($cacheCmd) | |
| log ($table, $recuid, $action, $recpid, $error, $details, $details_nr=-1, $data=array(), $event_pid=-1, $NEWid='') | |
| newlog ($message, $error=0) | |
| printLogErrorMessages ($redirect) | |
| internal_clearPageCache () | |
Public Attributes | |
| $storeLogMessages = TRUE | |
| $enableLogging = TRUE | |
| $reverseOrder = FALSE | |
| $checkSimilar = TRUE | |
| $stripslashes_values = TRUE | |
| $checkStoredRecords = TRUE | |
| $checkStoredRecords_loose = TRUE | |
| $deleteTree = FALSE | |
| $neverHideAtCopy = FALSE | |
| $dontProcessTransformations = FALSE | |
| $bypassWorkspaceRestrictions = FALSE | |
| $bypassFileHandling = FALSE | |
| $bypassAccessCheckForRecords = FALSE | |
| $copyWhichTables = '*' | |
| $generalComment = '' | |
| $copyTree = 0 | |
| $defaultValues = array() | |
| $overrideValues = array() | |
| $alternativeFileName = array() | |
| $data_disableFields = array() | |
| $suggestedInsertUids = array() | |
| $callBackObj | |
| $autoVersionIdMap = Array() | |
| $substNEWwithIDs = Array() | |
| $substNEWwithIDs_table = Array() | |
| $newRelatedIDs = Array() | |
| $copyMappingArray_merged = Array() | |
| $copiedFileMap = Array() | |
| $errorLog = Array() | |
| $BE_USER | |
| $userid | |
| $username | |
| $admin | |
| $defaultPermissions | |
| $exclude_array | |
| $datamap = Array() | |
| $cmdmap = Array() | |
| $pMap | |
| $sortIntervals = 256 | |
| $recUpdateAccessCache = Array() | |
| $recInsertAccessCache = Array() | |
| $isRecordInWebMount_Cache = array() | |
| $isInWebMount_Cache = array() | |
| $cachedTSconfig = array() | |
| $pageCache = Array() | |
| $checkWorkspaceCache = Array() | |
| $dbAnalysisStore = array() | |
| $removeFilesStore = array() | |
| $uploadedFileArray = array() | |
| $registerDBList = array() | |
| $registerDBPids = array() | |
| $copyMappingArray = Array() | |
| $remapStack = array() | |
| $remapStackRecords = array() | |
| $updateRefIndexStack = array() | |
| $callFromImpExp = false | |
| $fileFunc | |
| $checkValue_currentRecord = array() | |
| $autoVersioningUpdate = FALSE | |
Definition at line 242 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::start | ( | $ | data, | |
| $ | cmd, | |||
| $ | altUserObject = '' | |||
| ) |
Initializing. For details, see 'TYPO3 Core API' document. This function does not start the processing of data, but merely initializes the object
| array | Data to be modified or inserted in the database | |
| array | Commands to copy, move, delete, localize, versionize records. | |
| object | An alternative userobject you can set instead of the default, which is $GLOBALS['BE_USER'] |
Definition at line 369 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::setMirror | ( | $ | mirror | ) |
Function that can mirror input values in datamap-array to other uid numbers. Example: $mirror[table][11] = '22,33' will look for content in $this->datamap[table][11] and copy it to $this->datamap[table][22] and $this->datamap[table][33]
| array | This array has the syntax $mirror[table_name][uid] = [list of uids to copy data-value TO!] |
Definition at line 408 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::setDefaultsFromUserTS | ( | $ | userTS | ) |
Initializes default values coming from User TSconfig
| array | User TSconfig array |
Definition at line 433 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::process_uploads | ( | $ | postFiles | ) |
Processing of uploaded files. It turns out that some versions of PHP arranges submitted data for files different if sent in an array. This function will unify this so the internal array $this->uploadedFileArray will always contain files arranged in the same structure.
| array | $_FILES array |
Definition at line 456 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::process_uploads_traverseArray | ( | &$ | outputArr, | |
| $ | inputArr, | |||
| $ | keyToSet | |||
| ) |
Traverse the upload array if needed to rearrange values.
| array | $this->uploadedFileArray passed by reference | |
| array | Input array ($_FILES parts) | |
| string | The current $_FILES array key to set on the outermost level. |
Definition at line 494 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::hook_processDatamap_afterDatabaseOperations | ( | &$ | hookObjectsArr, | |
| &$ | status, | |||
| &$ | table, | |||
| &$ | id, | |||
| &$ | fieldArray | |||
| ) |
Hook: processDatamap_afterDatabaseOperations (calls $hookObj->processDatamap_afterDatabaseOperations($status, $table, $id, $fieldArray, $this);)
Note: When using the hook after INSERT operations, you will only get the temporary NEW... id passed to your hook as $id, but you can easily translate it to the real uid of the inserted record using the $this->substNEWwithIDs array.
| object | $hookObjectsArr: (reference) Array with hook objects | |
| string | $status: (reference) Status of the current operation, 'new' or 'update | |
| string | $table: (refrence) The table currently processing data for | |
| string | $id: (reference) The record uid currently processing data for, [integer] or [string] (like 'NEW...') | |
| array | $fieldArray: (reference) The field array of a record |
Definition at line 538 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::process_datamap | ( | ) |
Processing the data-array Call this function to process the data-array set by start()
Definition at line 581 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::placeholderShadowing | ( | $ | table, | |
| $ | id | |||
| ) |
Fix shadowing of data in case we are editing a offline version of a live "New" placeholder record:
| string | Table name | |
| integer | Record uid |
Definition at line 892 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::fillInFieldArray | ( | $ | table, | |
| $ | id, | |||
| $ | fieldArray, | |||
| $ | incomingFieldArray, | |||
| $ | realPid, | |||
| $ | status, | |||
| $ | tscPID | |||
| ) |
Filling in the field array $this->exclude_array is used to filter fields if needed.
| string | Table name | |
| [type] | $id: ... | |
| array | Default values, Preset $fieldArray with 'pid' maybe (pid and uid will be not be overridden anyway) | |
| array | $incomingFieldArray is which fields/values you want to set. There are processed and put into $fieldArray if OK | |
| integer | The real PID value of the record. For updates, this is just the pid of the record. For new records this is the PID of the page where it is inserted. | |
| string | $status = 'new' or 'update' | |
| [type] | $tscPID: ... |
Definition at line 935 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue | ( | $ | table, | |
| $ | field, | |||
| $ | value, | |||
| $ | id, | |||
| $ | status, | |||
| $ | realPid, | |||
| $ | tscPID | |||
| ) |
Evaluates a value according to $table/$field settings. This function is for real database fields - NOT FlexForm "pseudo" fields. NOTICE: Calling this function expects this: 1) That the data is saved! (files are copied and so on) 2) That files registered for deletion IS deleted at the end (with ->removeRegisteredFiles() )
| string | Table name | |
| string | Field name | |
| string | Value to be evaluated. Notice, this is the INPUT value from the form. The original value (from any existing record) must be manually looked up inside the function if needed - or taken from $currentRecord array. | |
| string | The record-uid, mainly - but not exclusively - used for logging | |
| string | 'update' or 'new' flag | |
| integer | The real PID value of the record. For updates, this is just the pid of the record. For new records this is the PID of the page where it is inserted. If $realPid is -1 it means that a new version of the record is being inserted. | |
| integer | $tscPID |
Definition at line 1158 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_SW | ( | $ | res, | |
| $ | value, | |||
| $ | tcaFieldConf, | |||
| $ | table, | |||
| $ | id, | |||
| $ | curValue, | |||
| $ | status, | |||
| $ | realPid, | |||
| $ | recFID, | |||
| $ | field, | |||
| $ | uploadedFiles, | |||
| $ | tscPID | |||
| ) |
Branches out evaluation of a field value based on its type as configured in TCA Can be called for FlexForm pseudo fields as well, BUT must not have $field set if so.
| array | The result array. The processed value (if any!) is set in the "value" key. | |
| string | The value to set. | |
| array | Field configuration from TCA | |
| string | Table name | |
| integer | Return UID | |
| [type] | $curValue: ... | |
| [type] | $status: ... | |
| integer | The real PID value of the record. For updates, this is just the pid of the record. For new records this is the PID of the page where it is inserted. If $realPid is -1 it means that a new version of the record is being inserted. | |
| [type] | $recFID: ... | |
| string | Field name. Must NOT be set if the call is for a flexform field (since flexforms are not allowed within flexforms). | |
| [type] | $uploadedFiles: ... | |
| [type] | $tscPID: ... |
Definition at line 1218 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_input | ( | $ | res, | |
| $ | value, | |||
| $ | tcaFieldConf, | |||
| $ | PP, | |||
| $ | field = '' | |||
| ) |
Evaluate "input" type values.
| array | The result array. The processed value (if any!) is set in the "value" key. | |
| string | The value to set. | |
| array | Field configuration from TCA | |
| array | Additional parameters in a numeric array: $table,$id,$curValue,$status,$realPid,$recFID | |
| string | Field name |
Definition at line 1267 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_check | ( | $ | res, | |
| $ | value, | |||
| $ | tcaFieldConf, | |||
| $ | PP | |||
| ) |
Evaluates 'check' type values.
| array | The result array. The processed value (if any!) is set in the 'value' key. | |
| string | The value to set. | |
| array | Field configuration from TCA | |
| array | Additional parameters in a numeric array: $table,$id,$curValue,$status,$realPid,$recFID |
Definition at line 1305 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_radio | ( | $ | res, | |
| $ | value, | |||
| $ | tcaFieldConf, | |||
| $ | PP | |||
| ) |
Evaluates 'radio' type values.
| array | The result array. The processed value (if any!) is set in the 'value' key. | |
| string | The value to set. | |
| array | Field configuration from TCA | |
| array | Additional parameters in a numeric array: $table,$id,$curValue,$status,$realPid,$recFID |
Definition at line 1328 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_group_select | ( | $ | res, | |
| $ | value, | |||
| $ | tcaFieldConf, | |||
| $ | PP, | |||
| $ | uploadedFiles, | |||
| $ | field | |||
| ) |
Evaluates 'group' or 'select' type values.
| array | The result array. The processed value (if any!) is set in the 'value' key. | |
| string | The value to set. | |
| array | Field configuration from TCA | |
| array | Additional parameters in a numeric array: $table,$id,$curValue,$status,$realPid,$recFID | |
| [type] | $uploadedFiles: ... | |
| string | Field name |
Definition at line 1354 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_group_select_file | ( | $ | valueArray, | |
| $ | tcaFieldConf, | |||
| $ | curValue, | |||
| $ | uploadedFileArray, | |||
| $ | status, | |||
| $ | table, | |||
| $ | id, | |||
| $ | recFID | |||
| ) |
Handling files for group/select function
| array | Array of incoming file references. Keys are numeric, values are files (basically, this is the exploded list of incoming files) | |
| array | Configuration array from TCA of the field | |
| string | Current value of the field | |
| array | Array of uploaded files, if any | |
| string | Status ("update" or ?) | |
| string | tablename of record | |
| integer | UID of record | |
| string | Field identifier ([table:uid:field:....more for flexforms?] |
Definition at line 1465 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_flex | ( | $ | res, | |
| $ | value, | |||
| $ | tcaFieldConf, | |||
| $ | PP, | |||
| $ | uploadedFiles, | |||
| $ | field | |||
| ) |
Evaluates 'flex' type values.
| array | The result array. The processed value (if any!) is set in the 'value' key. | |
| string | The value to set. | |
| array | Field configuration from TCA | |
| array | Additional parameters in a numeric array: $table,$id,$curValue,$status,$realPid,$recFID | |
| array | Uploaded files for the field | |
| array | Current record array. | |
| string | Field name |
Definition at line 1639 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_flexArray2Xml | ( | $ | array, | |
| $ | addPrologue = FALSE | |||
| ) |
Converts an array to FlexForm XML
| array | Array with FlexForm data | |
| boolean | If set, the XML prologue is returned as well. |
Definition at line 1716 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::_DELETE_FLEX_FORMdata | ( | &$ | valueArrayToRemoveFrom, | |
| $ | deleteCMDS | |||
| ) |
Deletes a flex form element
| array | &$valueArrayToRemoveFrom: by reference | |
| array | $deleteCMDS: ... * |
Definition at line 1728 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::_MOVE_FLEX_FORMdata | ( | &$ | valueArrayToMoveIn, | |
| $ | moveCMDS, | |||
| $ | direction | |||
| ) |
Deletes a flex form element
TODO: Like _DELETE_FLEX_FORMdata, this is only a temporary solution!
| array | &$valueArrayToMoveIn: by reference | |
| array | $moveCMDS: ... * | |
| string | $direction: 'up' or 'down' |
Definition at line 1750 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_inline | ( | $ | res, | |
| $ | value, | |||
| $ | tcaFieldConf, | |||
| $ | PP, | |||
| $ | field | |||
| ) |
Evaluates 'inline' type values. (partly copied from the select_group function on this issue)
| array | The result array. The processed value (if any!) is set in the 'value' key. | |
| string | The value to set. | |
| array | Field configuration from TCA | |
| array | Additional parameters in a numeric array: $table,$id,$curValue,$status,$realPid,$recFID | |
| string | Field name |
Definition at line 1790 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_checkMax | ( | $ | tcaFieldConf, | |
| $ | valueArray | |||
| ) |
Checks if a fields has more items than defined via TCA in maxitems. If there are more items than allowd, the item list is truncated to the defined number.
| array | $tcaFieldConf: Field configuration from TCA | |
| array | $valueArray: Current value array of items |
Definition at line 1833 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::getUnique | ( | $ | table, | |
| $ | field, | |||
| $ | value, | |||
| $ | id, | |||
| $ | newPid = 0 | |||
| ) |
Gets a unique value for $table/$id/$field based on $value
| string | Table name | |
| string | Field name for which $value must be unique | |
| string | Value string. | |
| integer | UID to filter out in the lookup (the record itself...) | |
| integer | If set, the value will be unique for this PID |
Definition at line 1885 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_input_Eval | ( | $ | value, | |
| $ | evalArray, | |||
| $ | is_in | |||
| ) |
Evaluation of 'input'-type values based on 'eval' list
| string | Value to evaluate | |
| array | Array of evaluations to traverse. | |
| string | Is-in string |
Definition at line 1923 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_group_select_processDBdata | ( | $ | valueArray, | |
| $ | tcaFieldConf, | |||
| $ | id, | |||
| $ | status, | |||
| $ | type, | |||
| $ | currentTable | |||
| ) |
Returns data for group/db and select fields
| array | Current value array | |
| array | TCA field config | |
| integer | Record id, used for look-up of MM relations (local_uid) | |
| string | Status string ('update' or 'new') | |
| string | The type, either 'select', 'group' or 'inline' | |
| string | Table name, needs to be passed to t3lib_loadDBGroup |
Definition at line 2020 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_group_select_explodeSelectGroupValue | ( | $ | value | ) |
Explodes the $value, which is a list of files/uids (group select)
| string | Input string, comma separated values. For each part it will also be detected if a '|' is found and the first part will then be used if that is the case. Further the value will be rawurldecoded. |
Definition at line 2066 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_flex_procInData | ( | $ | dataPart, | |
| $ | dataPart_current, | |||
| $ | uploadedFiles, | |||
| $ | dataStructArray, | |||
| $ | pParams, | |||
| $ | callBackFunc = '' | |||
| ) |
Starts the processing the input data for flexforms. This will traverse all sheets / languages and for each it will traverse the sub-structure. See checkValue_flex_procInData_travDS() for more details. WARNING: Currently, it traverses based on the actual _data_ array and NOT the _structure_. This means that values for non-valid fields, lKey/vKey/sKeys will be accepted! For traversal of data with a call back function you should rather use class.t3lib_flexformtools.php
| array | The 'data' part of the INPUT flexform data | |
| array | The 'data' part of the CURRENT flexform data | |
| array | The uploaded files for the 'data' part of the INPUT flexform data | |
| array | Data structure for the form (might be sheets or not). Only values in the data array which has a configuration in the data structure will be processed. | |
| array | A set of parameters to pass through for the calling of the evaluation functions | |
| string | Optional call back function, see checkValue_flex_procInData_travDS() DEPRICATED, use class.t3lib_flexformtools.php instead for traversal! |
Definition at line 2090 of file class.t3lib_tcemain.php.
| t3lib_TCEmain::checkValue_flex_procInData_travDS | ( | &$ | dataValues, | |
| $ | dataValues_current, | |||
| $ | uploadedFiles, | |||
| $ | DSelements, | |||
| $ | pParams, | |||
| $ | callBackFunc, | |||
| $ | structurePath | |||
| ) |
Processing of the sheet/language data array When it finds a field with a value the processing is done by ->checkValue_SW() by default but if a call back function name is given that method in this class will be called for the processing instead.
| array | New values (those being processed): Multidimensional Data array for sheet/language, passed by reference! | |
| array | Current values: Multidimensional Data array. May be empty array() if not needed (for callBackFunctions) | |
| array | Uploaded files array for sheet/language. May be empty array() if not needed (for callBackFunctions) | |
| array | Data structure which fits the data array | |
| array | A set of parameters to pass through for the calling of the evaluation functions / call back function | |
| string | Call back function, default is checkValue_SW(). If $this->callBackObj is set to an object, the callback function in that object is called instead. | |
| [type] | $structurePath: ... |
Definition at line 2129 of file