Documentation TYPO3 par Ameos |
Public Member Functions | |
start ($data, $cmd, $altUserObject='') | |
setMirror ($mirror) | |
setDefaultsFromUserTS ($userTS) | |
process_uploads ($postFiles) | |
process_uploads_traverseArray (&$outputArr, $inputArr, $keyToSet) | |
process_datamap () | |
fillInFieldArray ($table, $id, $fieldArray, $incomingFieldArray, $realPid, $status, $tscPID) | |
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) | |
pageInfo ($id, $field) | |
recordInfo ($table, $id, $fieldList) | |
getRecordProperties ($table, $id) | |
getRecordPropertiesFromRow ($table, $row) | |
setTSconfigPermissions ($fieldArray, $TSConfig_p) | |
newFieldArray ($table) | |
overrideFieldArray ($table, $data) | |
assemblePermissions ($string) | |
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) | |
_DELETE_FLEX_FORMdata (&$valueArrayToRemoveFrom, $deleteCMDS) | |
_MOVE_FLEX_FORMdata (&$valueArrayToMoveIn, $moveCMDS, $direction) | |
getUnique ($table, $field, $value, $id, $newPid=0) | |
checkValue_input_Eval ($value, $evalArray, $is_in) | |
checkValue_group_select_processDBdata ($valueArray, $tcaFieldConf, $id, $status, $type) | |
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) | |
updateDB ($table, $id, $fieldArray) | |
compareFieldArrayWithCurrentAndUnset ($table, $id, $fieldArray) | |
insertDB ($table, $id, $fieldArray, $newVersion=FALSE, $suggestedUid=0) | |
checkStoredRecord ($table, $id, $fieldArray, $action) | |
dbAnalysisStoreExec () | |
removeRegisteredFiles () | |
clear_cache ($table, $uid) | |
getPID ($table, $uid) | |
process_cmdmap () | |
moveRecord ($table, $uid, $destPid) | |
copyRecord ($table, $uid, $destPid, $first=0, $overrideValues=array(), $excludeFields='') | |
copyRecord_raw ($table, $uid, $pid, $overrideArray=array()) | |
insertNewCopyVersion ($table, $fieldArray, $realPid) | |
copyRecord_procBasedOnFieldType ($table, $uid, $field, $value, $row, $conf) | |
copyRecord_localize ($table, $uid, $language) | |
copyRecord_flexFormCallBack ($pParams, $dsConf, $dataValue, $dataValue_ext1, $dataValue_ext2) | |
copyRecord_procFilesRefs ($conf, $uid, $value) | |
copyPages ($uid, $destPid) | |
copySpecificPage ($uid, $destPid, $copyTablesArray, $first=0) | |
versionizeRecord ($table, $id, $label) | |
versionizePages ($uid, $label) | |
rawCopyPageContent ($old_pid, $new_pid, $copyTablesArray) | |
version_swap ($table, $id, $swapWith, $swapContent) | |
int_pageTreeInfo ($CPtable, $pid, $counter, $rootID) | |
compileAdminTables () | |
fixUniqueInPid ($table, $uid) | |
fixCopyAfterDuplFields ($table, $uid, $prevUid, $update, $newData=array()) | |
extFileFields ($table) | |
getCopyHeader ($table, $pid, $field, $value, $count, $prevTitle='') | |
prependLabel ($table) | |
resolvePid ($table, $pid) | |
clearPrefixFromValue ($table, $value) | |
remapListedDBRecords () | |
remapListedDBRecords_flexFormCallBack ($pParams, $dsConf, $dataValue, $dataValue_ext1, $dataValue_ext2) | |
remapListedDBRecords_procDBRefs ($conf, $value, $MM_localUid) | |
extFileFunctions ($table, $field, $filelist, $func) | |
deleteRecord ($table, $uid, $noRecordCheck) | |
deletePages ($uid) | |
deleteSpecificPage ($uid) | |
noRecordsFromUnallowedTables ($inList) | |
getSortNumber ($table, $uid, $pid) | |
resorting ($table, $pid, $sortRow, $return_SortNumber_After_This_Uid) | |
rmComma ($input) | |
convNumEntityToByteValue ($input) | |
destPathFromUploadFolder ($folder) | |
destNotInsideSelf ($dest, $id) | |
getExcludeListArray () | |
doesPageHaveUnallowedTables ($page_uid, $doktype) | |
deleteClause ($table) | |
tableReadOnly ($table) | |
tableAdminOnly ($table) | |
getInterfacePagePositionID ($uid) | |
isReferenceField ($conf) | |
getTCEMAIN_TSconfig ($tscPID) | |
getTableEntries ($table, $TSconfig) | |
setHistory ($table, $id, $logId) | |
clearHistory ($table, $id, $keepEntries=10, $maxAgeSeconds=604800) | |
log ($table, $recuid, $action, $recpid, $error, $details, $details_nr=0, $data=array(), $event_pid=-1, $NEWid='') | |
printLogErrorMessages ($redirect) | |
clear_cacheCmd ($cacheCmd) | |
removeCacheFiles () | |
Public Attributes | |
$log_table = 'sys_log' | |
$checkStoredRecords = 1 | |
$checkStoredRecords_loose = 1 | |
$sortIntervals = 256 | |
$deleteTree = 0 | |
$copyTree = 0 | |
$versionizeTree = 0 | |
$neverHideAtCopy = 0 | |
$reverseOrder = 0 | |
$copyWhichTables = '*' | |
$stripslashes_values = 1 | |
$storeLogMessages = 1 | |
$enableLogging = 1 | |
$callBackObj | |
$checkSimilar = 1 | |
$dontProcessTransformations = 0 | |
$pMap | |
$defaultPermissions | |
$alternativeFileName = array() | |
$data_disableFields = array() | |
$defaultValues = array() | |
$overrideValues = array() | |
$suggestedInsertUids = array() | |
$fileFunc | |
$last_log_id | |
$BE_USER | |
$userid | |
$username | |
$admin | |
$exclude_array | |
$data = Array() | |
$datamap = Array() | |
$cmd = Array() | |
$cmdmap = Array() | |
$uploadedFileArray = array() | |
$cachedTSconfig = array() | |
$substNEWwithIDs = Array() | |
$substNEWwithIDs_table = Array() | |
$recUpdateAccessCache = Array() | |
$recInsertAccessCache = Array() | |
$isRecordInWebMount_Cache = array() | |
$isInWebMount_Cache = array() | |
$pageCache = Array() | |
$copyMappingArray = Array() | |
$copyMappingArray_merged = Array() | |
$registerDBList = array() | |
$dbAnalysisStore = array() | |
$removeFilesStore = array() | |
$copiedFileMap = array() | |
$checkValue_currentRecord = array() |
Definition at line 199 of file class.t3lib_tcemain.php.
|
Deletes a flex form element
Definition at line 1804 of file class.t3lib_tcemain.php. |
|
Deletes a flex form element
Definition at line 1825 of file class.t3lib_tcemain.php. |
|
Calculates the bitvalue of the permissions given in a string, comma-sep
Definition at line 1218 of file class.t3lib_tcemain.php. References t3lib_div::trimExplode(). |
|
Checking group modify_table access list Returns true if the user has general access to modify the $table
Definition at line 826 of file class.t3lib_tcemain.php. References t3lib_div::inList(), and tableAdminOnly(). Referenced by process_datamap(). |
|
Checks if user may insert a certain record. Returns true if the user may insert a record from table $insertTable on page $pid
Definition at line 894 of file class.t3lib_tcemain.php. References doesRecordExist(), getRecordProperties(), isTableAllowedForThisPage(), and log(). Referenced by process_datamap(). |
|
Checks if user may update a certain record. Returns true if the user may update the record given by $table and $id
Definition at line 869 of file class.t3lib_tcemain.php. References doesRecordExist(). Referenced by process_datamap(). |
|
Checking stored record to see if the written values are properly updated.
Definition at line 2434 of file class.t3lib_tcemain.php. |
|
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() )
Definition at line 1268 of file class.t3lib_tcemain.php. References t3lib_div::inList(), and t3lib_div::loadTCA(). Referenced by fillInFieldArray(). |
|
Evaluates 'check' type values.
Definition at line 1412 of file class.t3lib_tcemain.php. |
|
Evaluates 'flex' type values.
Definition at line 1714 of file class.t3lib_tcemain.php. References t3lib_div::_GP(), t3lib_div::array_merge_recursive_overrule(), t3lib_BEfunc::getFlexFormDS(), and t3lib_div::xml2array(). |
|
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.
Definition at line 2070 of file class.t3lib_tcemain.php. References t3lib_div::resolveSheetDefInDS(). |
|
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.
Definition at line 2109 of file class.t3lib_tcemain.php. References t3lib_BEfunc::getPagesTSconfig(), t3lib_BEfunc::getSpecConfParts(), t3lib_BEfunc::getTCAtypeValue(), t3lib_BEfunc::RTEgetObj(), and t3lib_BEfunc::RTEsetup(). |
|
[Describe function...]
Definition at line 1787 of file class.t3lib_tcemain.php. References t3lib_div::array2xml(). |
|
Evaluates 'group' or 'select' type values.
Definition at line 1461 of file class.t3lib_tcemain.php. |
|
Explodes the $value, which is a list of files/uids (group select)
Definition at line 2047 of file class.t3lib_tcemain.php. References t3lib_div::trimExplode(). |
|
Handling files for group/select function
Definition at line 1561 of file class.t3lib_tcemain.php. References t3lib_div::fixWindowsFilePath(), t3lib_div::formatSize(), t3lib_div::makeInstance(), t3lib_div::removeArrayEntryByValue(), t3lib_div::split_fileref(), t3lib_div::trimExplode(), and t3lib_div::upload_copy_move(). |
|
Returns data for group/db and select fields
Definition at line 2014 of file class.t3lib_tcemain.php. References t3lib_div::makeInstance(). |
|
Evaluate "input" type values.
Definition at line 1374 of file class.t3lib_tcemain.php. References t3lib_div::trimExplode(). |
|
Evaluation of 'input'-type values based on 'eval' list
Definition at line 1926 of file class.t3lib_tcemain.php. |
|
Evaluates 'radio' type values.
Definition at line 1435 of file class.t3lib_tcemain.php. |
|
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.
Definition at line 1328 of file class.t3lib_tcemain.php. |
|
Clearing the cache based on a page being updated If the $table is 'pages' then cache is cleared for all pages on the same level (and subsequent?) Else just clear the cache for the parent page of the record.
Definition at line 2503 of file class.t3lib_tcemain.php. References t3lib_div::callUserFunction(), t3lib_BEfunc::getTSCpid(), t3lib_extMgm::isLoaded(), and t3lib_div::trimExplode(). |
|
Clears the cache based on a command, $cacheCmd $cacheCmd='pages': Clears cache for all pages. Requires admin-flag to be set for BE_USER $cacheCmd='all': Clears all cache_tables. This is necessary if templates are updated. Requires admin-flag to be set for BE_USER $cacheCmd=[integer]: Clears cache for the page pointed to by $cacheCmd (an integer). Can call a list of post processing functions as defined in $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc'] (num array with values being the function references, called by t3lib_div::callUserFunction())
Definition at line 4719 of file class.t3lib_tcemain.php. References t3lib_extMgm::isLoaded(). |
|
604800 = 60*60*24*7 $keepEntries (int+) defines the number of current entries from sys_history table to keep in addition to the new one which is put in. $maxAgeSeconds (int+) however will set a max age in seconds so that any entry older than current time minus the age removed no matter what. If zero, this is not effective. All snapshots are excluded of course.
Definition at line 4595 of file class.t3lib_tcemain.php. |
|
Removes the prependAtCopy prefix on values
Definition at line 3842 of file class.t3lib_tcemain.php. |
|
Compares the incoming field array with the current record and unsets all fields which are the same. If the returned array is empty, then the record should not be updated! $fieldArray must be an array.
Definition at line 2308 of file class.t3lib_tcemain.php. Referenced by process_datamap(). |
|
List of all tables (those administrators has access to)
Definition at line 3674 of file class.t3lib_tcemain.php. |
|
Converts a HTML entity (like {) to the character '123'
Definition at line 4329 of file class.t3lib_tcemain.php. |
|
Copying pages Main function for copying pages.
Definition at line 3309 of file class.t3lib_tcemain.php. References t3lib_div::inList(). |
|
Copying records
Definition at line 2902 of file class.t3lib_tcemain.php. References t3lib_BEfunc::getTSconfig_pidValue(), t3lib_div::inList(), t3lib_div::loadTCA(), t3lib_div::makeInstance(), and t3lib_div::trimExplode(). |
|
Callback function for traversing the FlexForm structure in relation to creating copied files of file relations inside of flex form structures.
Definition at line 3230 of file class.t3lib_tcemain.php. |
|
Localizes a record to another system language
Definition at line 3171 of file class.t3lib_tcemain.php. References t3lib_BEfunc::getRecord(), t3lib_BEfunc::getRecordsByField(), t3lib_div::inList(), and t3lib_div::loadTCA(). |
|
Processing/Preparing content for copyRecord() function
Definition at line 3118 of file class.t3lib_tcemain.php. References t3lib_BEfunc::getFlexFormDS(), t3lib_div::makeInstance(), and t3lib_div::xml2array(). |
|
Modifying a field value for any situation regarding files/references: For attached files: take current filenames and prepend absolute paths so they get copied. For DB references: Nothing done.
Definition at line 3258 of file class.t3lib_tcemain.php. References t3lib_div::makeInstance(), and t3lib_div::trimExplode(). |
|
Copying records, but makes a "raw" copy of a record. Basically the only thing observed is field processing like the copying of files and correct of ids. All other fields are 1-1 copied. Technically the copy is made with THIS instance of the tcemain class contrary to copyRecord() which creates a new instance and uses the processData() function. The copy is created by insertNewCopyVersion() which bypasses most of the regular input checking associated with processData() - maybe copyRecord() should even do this as well!? This function is used to create new versions of a record. NOTICE: DOES NOT CHECK PERMISSIONS to create! And since page permissions are just passed through and not changed to the user who executes the copy we cannot enforce permissions without getting an incomplete copy - unless we change permissions of course.
Definition at line 3011 of file class.t3lib_tcemain.php. References t3lib_div::loadTCA(). |
|
Copying a single page ($uid) to $destPid and all tables in the array copyTablesArray.
Definition at line 3364 of file class.t3lib_tcemain.php. |
|
Executing dbAnalysisStore
Definition at line 2470 of file class.t3lib_tcemain.php. Referenced by process_datamap(). |
|
Returns delete-clause for the $table
Definition at line 4445 of file class.t3lib_tcemain.php. Referenced by doesBranchExist(), doesRecordExist(), and doesRecordExist_pageLookUp(). |
|
[Describe function...]
Definition at line 4097 of file class.t3lib_tcemain.php. |
|
[Describe function...]
Definition at line 4039 of file class.t3lib_tcemain.php. |
|
[Describe function...]
Definition at line 4139 of file class.t3lib_tcemain.php. |
|
Checks if $id is a uid in the rootline from $dest
Definition at line 4362 of file class.t3lib_tcemain.php. |
|
Returns absolute destination path for the uploadfolder, $folder
Definition at line 4351 of file class.t3lib_tcemain.php. |
|
Checks if a whole branch of pages exists Tests the branch under $pid (like doesRecordExist). It doesn't test the page with $pid as uid. Use doesRecordExist() for this purpose Returns an ID-list or "" if OK. Else -1 which means that somewhere there was no permission (eg. to delete). if $recurse is set, then the function will follow subpages. This MUST be set, if we need the idlist for deleting pages or else we get an incomplete list
Definition at line 1054 of file class.t3lib_tcemain.php. References deleteClause(). |
|
Checks if there are records on a page from tables that are not allowed Returns a list of the tables that are 'present' on the page but not allowed with the page_uid/doktype
Definition at line 4412 of file class.t3lib_tcemain.php. References t3lib_div::trimExplode(). |
|
Checks if record exists Returns true if the record given by $table, $id and $perms
Definition at line 965 of file class.t3lib_tcemain.php. References deleteClause(), doesRecordExist_pageLookUp(), t3lib_BEfunc::fixVersioningPid(), isRecordInWebMount(), and t3lib_div::testInt(). Referenced by checkRecordInsertAccess(), and checkRecordUpdateAccess(). |
|
Looks up a page based on permissions.
Definition at line 1028 of file class.t3lib_tcemain.php. References deleteClause(). Referenced by doesRecordExist(). |
|
Returns all fieldnames from a table which are a list of files
Definition at line 3752 of file class.t3lib_tcemain.php. References t3lib_div::loadTCA(). |
|
[Describe function...]
Definition at line 4007 of file class.t3lib_tcemain.php. References t3lib_div::loadTCA(). |
|
Filling in the field array $this->exclude_array is used to filter fields if needed.
Definition at line 635 of file class.t3lib_tcemain.php. References t3lib_div::array_merge_recursive_overrule(), checkValue(), t3lib_parsehtml_proc::evalWriteFile(), t3lib_BEfunc::getPagesTSconfig(), t3lib_BEfunc::getTCAtypes(), t3lib_BEfunc::getTCAtypeValue(), t3lib_div::loadTCA(), log(), t3lib_div::makeInstance(), pageInfo(), recordInfo(), t3lib_BEfunc::RTEgetObj(), t3lib_BEfunc::RTEsetup(), t3lib_div::stripSlashesOnArray(), and t3lib_div::writeFile(). Referenced by process_datamap(). |
|
When er record is copied you can specify fields from the previous record which should be copied into the new one This function is also called with new elements. But then $update must be set to zero and $newData containing the data array. In that case data in the incoming array is NOT overridden. (250202)
Definition at line 3727 of file class.t3lib_tcemain.php. References t3lib_div::loadTCA(), and t3lib_div::trimExplode(). |
|
Checks if any uniqueInPid eval input fields are in the record and if so, they are re-written to be correct.
Definition at line 3691 of file class.t3lib_tcemain.php. References t3lib_div::loadTCA(), and t3lib_div::trimExplode(). |
|
Get copy header
Definition at line 3778 of file class.t3lib_tcemain.php. |
|
Generate an array of fields to be excluded from editing for the user.
Definition at line 4388 of file class.t3lib_tcemain.php. References t3lib_div::inList(), and t3lib_div::loadTCA(). Referenced by start(). |
|
Finds the Position-ID for this page. This is very handy when we need to update a page in the pagetree in the TYPO3 interface. OBSOLETE WITH the new backend? Usage: 2 (class t3lib_tcemain)
Definition at line 4487 of file class.t3lib_tcemain.php. |
|
Returns the pid of a record from $table with $uid
Definition at line 2607 of file class.t3lib_tcemain.php. |
|
Returns an array with record properties, like header and pid
Definition at line 1126 of file class.t3lib_tcemain.php. References t3lib_BEfunc::fixVersioningPid(). Referenced by checkRecordInsertAccess(), isRecordInWebMount(), and process_datamap(). |
|
Returns an array with record properties, like header and pid, based on the row
Definition at line 1139 of file class.t3lib_tcemain.php. |
|
Returning sorting number $table is the tablename, $uid is set, if the record exists already, $pid is the pointer to the position, neg=before other record, pos=on-top of page. $pid must be an integer Returns false if the sortby field does not exist.
Definition at line 4225 of file class.t3lib_tcemain.php. Referenced by process_datamap(). |
|
[Describe function...]
Definition at line 4544 of file class.t3lib_tcemain.php. References t3lib_div::array_merge_recursive_overrule(). |
|
[Describe function...]
Definition at line 4530 of file class.t3lib_tcemain.php. References t3lib_BEfunc::getPagesTSconfig(). Referenced by process_datamap(). |
|
Gets a unique value for $table/$id/$field based on $value
Definition at line 1888 of file class.t3lib_tcemain.php. References t3lib_div::loadTCA(). |
|
Insert into database Does not check permissions but expects them to be verified on beforehand
Definition at line 2362 of file class.t3lib_tcemain.php. Referenced by process_datamap(). |
|
Inserts a record in the database, passing TCA configuration values through checkValue() but otherwise does NOTHING and checks nothing regarding permissions. Passes the "version" parameter to insertDB() so the copy will look like a new version in the log - should probably be changed or modified a bit for more broad usage...
Definition at line 3067 of file class.t3lib_tcemain.php. |
|
Returns array, $CPtable, of pages under the $pid going down to $counter levels
Definition at line 3653 of file class.t3lib_tcemain.php. |
|
[Describe function...]
Definition at line 852 of file class.t3lib_tcemain.php. Referenced by isRecordInWebMount(). |
|
[Describe function...]
Definition at line 838 of file class.t3lib_tcemain.php. References getRecordProperties(), and isInWebMount(). Referenced by doesRecordExist(). |
|
Returns true if the TCA/columns field type is a DB reference field
Definition at line 4520 of file class.t3lib_tcemain.php. |
|
Checks is a table is allowed on a certain page. $checkTable is the tablename $page_uid is the uid of the page to check
Definition at line 930 of file class.t3lib_tcemain.php. References pageInfo(), and t3lib_div::trimExplode(). Referenced by checkRecordInsertAccess(). |
|
Logging actions $table: The table name $recuid: The record uid $action: The action number. 1=new record, 2=update record, 3= delete record, 4= move record, 5= Check/evaluate $recpid: Normally 0 (zero). If set, it indicates that this log-entry is used to notify the backend of a record which is moved to another location $error: The severity: 0 = message, 1 = error, 2 = System Error, 3 = security notice (admin) $details: This is the default, raw error message in english
Definition at line 4643 of file class.t3lib_tcemain.php. Referenced by checkRecordInsertAccess(), fillInFieldArray(), and process_datamap(). |
|
Moving records
Definition at line 2758 of file class.t3lib_tcemain.php. |
|
Returns a fieldArray with default values.
Definition at line 1174 of file class.t3lib_tcemain.php. References t3lib_div::loadTCA(). Referenced by process_datamap(). |
|
[Describe function...]
Definition at line 4163 of file class.t3lib_tcemain.php. |
|
Returns the $data array from $table overridden in the fields defined in ->overrideValues.
Definition at line 1205 of file class.t3lib_tcemain.php. Referenced by process_datamap(). |
|
Returns the value of the $field from page $id NOTICE; the function caches the result for faster delivery next time. You can use this function repeatedly without performanceloss since it doesn't look up the same record twice!
Definition at line 1089 of file class.t3lib_tcemain.php. Referenced by fillInFieldArray(), and isTableAllowedForThisPage(). |
|
Return "copy" label for a table. Although the name is "prepend" it actually APPENDs the label (after ...)
Definition at line 3807 of file class.t3lib_tcemain.php. |
|
Print log error messages from the operations of this script instance
Definition at line 4657 of file class.t3lib_tcemain.php. References t3lib_div::makeInstance(). |
|
Processing the cmd-array See "TYPO3 Core API" for a description of the options.
Definition at line 2650 of file class.t3lib_tcemain.php. References t3lib_div::array_merge_recursive_overrule(), t3lib_div::getUserObj(), and t3lib_div::intInRange(). |
|
Processing the data-array Call this function to process the data-array set by start()
Definition at line 435 of file class.t3lib_tcemain.php. References checkModifyAccessList(), checkRecordInsertAccess(), checkRecordUpdateAccess(), compareFieldArrayWithCurrentAndUnset(), dbAnalysisStoreExec(), fillInFieldArray(), getRecordProperties(), getSortNumber(), getTCEMAIN_TSconfig(), t3lib_BEfunc::getTSCpid(), t3lib_div::getUserObj(), insertDB(), log(), newFieldArray(), overrideFieldArray(), recordInfo(), removeRegisteredFiles(), setTSconfigPermissions(), tableReadOnly(), t3lib_div::testInt(), and updateDB(). |
|
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.
Definition at line 369 of file class.t3lib_tcemain.php. References process_uploads_traverseArray(). |
|
Traverse the upload array if needed to rearrange values.
Definition at line 399 of file class.t3lib_tcemain.php. Referenced by process_uploads(). |
|
Copies all records from tables in $copyTablesArray from page with $old_pid to page with $new_pid Uses raw-copy for the operation (meant for versioning!)
Definition at line 3504 of file class.t3lib_tcemain.php. |
|
Returns the row of a record given by $table and $id and $fieldList (list of fields, may be '*') NOTICE: No check for deleted or access!
Definition at line 1109 of file class.t3lib_tcemain.php. Referenced by fillInFieldArray(), and process_datamap(). |
|
Processes the fields with references as registered during the copy process. This includes all FlexForm fields which had references.
Definition at line 3853 of file class.t3lib_tcemain.php. References t3lib_BEfunc::getFlexFormDS(), t3lib_div::loadTCA(), and t3lib_div::xml2array(). |
|
Callback function for traversing the FlexForm structure in relation to creating copied files of file relations inside of flex form structures.
Definition at line 3936 of file class.t3lib_tcemain.php. |
|
Performs remapping of old UID values to NEW uid values for a DB reference field.
Definition at line 3962 of file class.t3lib_tcemain.php. References t3lib_div::makeInstance(), and t3lib_div::trimExplode(). |
|
Unlink (delete) typo3conf/temp_CACHED_*.php cache files
Definition at line 4795 of file class.t3lib_tcemain.php. References t3lib_extMgm::currentCacheFiles(). |
|
Executing dbAnalysisStore
Definition at line 2486 of file class.t3lib_tcemain.php. Referenced by process_datamap(). |
|
Get the final pid based on $table and $pid ($destPid type... pos/neg)
Definition at line 3824 of file class.t3lib_tcemain.php. |
|
Resorts a table. Used internally by getSortNumber()
Definition at line 4290 of file class.t3lib_tcemain.php. |
|
Returns the $input string without a comma in the end
Definition at line 4319 of file class.t3lib_tcemain.php. |
|
Initializes default values coming from User TSconfig
Definition at line 346 of file class.t3lib_tcemain.php. |
|
[Describe function...]
Definition at line 4558 of file class.t3lib_tcemain.php. References t3lib_BEfunc::getTSCpid(), and t3lib_div::intInRange(). |
|
[Describe function...]
Definition at line 321 of file class.t3lib_tcemain.php. References t3lib_div::trimExplode(). |
|
[Describe function...]
Definition at line 1158 of file class.t3lib_tcemain.php. References t3lib_div::testInt(). Referenced by process_datamap(). |
|
Initializing. For details, see 'TYPO3 Core API' document. This function does not start the processing of data, but merely initializes the object
Definition at line 288 of file class.t3lib_tcemain.php. References $cmd, $data, $defaultPermissions, and getExcludeListArray(). |
|
Checks if the $table is only editable by admin-users
Definition at line 4473 of file class.t3lib_tcemain.php. Referenced by checkModifyAccessList(). |
|
Checks if the $table is readOnly
Definition at line 4461 of file class.t3lib_tcemain.php. Referenced by process_datamap(). |
|
Update database record Does not check permissions but expects them to be verified on beforehand
Definition at line 2262 of file class.t3lib_tcemain.php. Referenced by process_datamap(). |
|
Swapping versions of a record Version from archive (future/past, called "swap version") will get the uid of the "t3ver_oid", the official element with uid = "t3ver_oid" will get the new versions old uid. PIDs are swapped also
Definition at line 3529 of file class.t3lib_tcemain.php. References t3lib_BEfunc::getRecord(). |
|
Creates a new version of a page including content and possible subpages.
Definition at line 3447 of file class.t3lib_tcemain.php. |
|
Creates a new version of a record (Requires support in the table)
Definition at line 3394 of file class.t3lib_tcemain.php. |
|
Initial value: array( // Can be overridden from $TYPO3_CONF_VARS 'user' => 'show,edit,delete,new,editcontent', 'group' => 'show,edit,new,editcontent', 'everybody' => '' ) Definition at line 230 of file class.t3lib_tcemain.php. Referenced by start(). |
|
Initial value: Array( // Permission mapping 'show' => 1, // 1st bit 'edit' => 2, // 2nd bit 'delete' => 4, // 3rd bit 'new' => 8, // 4th bit 'editcontent' => 16 // 5th bit ) Definition at line 223 of file class.t3lib_tcemain.php. |