Documentation TYPO3 par Ameos |
Public Member Functions | |
trimExplode ($delim, $string, $onlyNonEmptyValues=0) | |
dirname ($path) | |
revExplode ($delim, $string, $count=0) | |
getIndpEnv ($getEnvName) | |
_GP ($var) | |
_GET ($var=NULL) | |
_POST ($var=NULL) | |
_GETset ($inputGet, $key='') | |
GPvar ($var, $strip=0) | |
GParrayMerged ($var) | |
gif_compress ($theFile, $type) | |
png_to_gif_by_imagemagick ($theFile) | |
read_png_gif ($theFile, $output_png=0) | |
fixed_lgd ($string, $origChars, $preStr='...') | |
fixed_lgd_pre ($string, $chars) | |
fixed_lgd_cs ($string, $chars) | |
breakTextForEmail ($str, $implChar="\n", $charWidth=76) | |
breakLinesForEmail ($str, $implChar="\n", $charWidth=76) | |
cmpIP ($baseIP, $list) | |
cmpFQDN ($baseIP, $list) | |
inList ($in_list, $item) | |
rmFromList ($element, $list) | |
intInRange ($theInt, $min, $max=2000000000, $zeroValue=0) | |
intval_positive ($theInt) | |
int_from_ver ($verNumberStr) | |
md5int ($str) | |
shortMD5 ($input, $len=10) | |
uniqueList ($in_list, $secondParameter=NULL) | |
split_fileref ($fileref) | |
dirname ($path) | |
modifyHTMLColor ($color, $R, $G, $B) | |
modifyHTMLColorAll ($color, $all) | |
rm_endcomma ($string) | |
danish_strtoupper ($string) | |
convUmlauts ($str) | |
testInt ($var) | |
isFirstPartOfStr ($str, $partStr) | |
formatSize ($sizeInBytes, $labels='') | |
convertMicrotime ($microtime) | |
splitCalc ($string, $operators) | |
calcPriority ($string) | |
calcParenthesis ($string) | |
htmlspecialchars_decode ($value) | |
deHSCentities ($str) | |
slashJS ($string, $extended=0, $char="'") | |
rawUrlEncodeJS ($str) | |
rawUrlEncodeFP ($str) | |
validEmail ($email) | |
formatForTextarea ($content) | |
inArray ($in_array, $item) | |
intExplode ($delim, $string) | |
revExplode ($delim, $string, $count=0) | |
trimExplode ($delim, $string, $onlyNonEmptyValues=0) | |
uniqueArray ($valueArray) | |
removeArrayEntryByValue ($array, $cmpValue) | |
implodeArrayForUrl ($name, $theArray, $str='', $skipBlank=0, $rawurlencodeParamName=0) | |
compileSelectedGetVarsFromArray ($varList, $getArray, $GPvarAlt=1) | |
addSlashesOnArray (&$theArray) | |
stripSlashesOnArray (&$theArray) | |
slashArray ($arr, $cmd) | |
array_merge_recursive_overrule ($arr0, $arr1, $notAddKeys=0, $includeEmtpyValues=true) | |
array_merge ($arr1, $arr2) | |
csvValues ($row, $delim=',', $quote='"') | |
get_tag_attributes ($tag) | |
split_tag_attributes ($tag) | |
implodeAttributes ($arr, $xhtmlSafe=FALSE, $dontOmitBlankAttribs=FALSE) | |
implodeParams ($arr, $xhtmlSafe=FALSE, $dontOmitBlankAttribs=FALSE) | |
wrapJS ($string, $linebreak=TRUE) | |
xml2tree ($string, $depth=999) | |
array2xml ($array, $NSprefix='', $level=0, $docTag='phparray', $spaceInd=0, $options=array(), $parentTagName='') | |
xml2array ($string, $NSprefix='') | |
xmlRecompileFromStructValArray ($vals) | |
xmlGetHeaderAttribs ($xmlData) | |
getURL ($url) | |
writeFile ($file, $content) | |
writeFileToTypo3tempDir ($filepath, $content) | |
mkdir ($theNewFolder) | |
get_dirs ($path) | |
getFilesInDir ($path, $extensionList='', $prependPath=0, $order='') | |
getAllFilesAndFoldersInPath ($fileArr, $path, $extList='', $regDirs=0, $recursivityLevels=99) | |
removePrefixPathFromList ($fileArr, $prefixToRemove) | |
fixWindowsFilePath ($theFile) | |
resolveBackPath ($pathStr) | |
locationHeaderUrl ($path) | |
debug_ordvalue ($string, $characters=100) | |
view_array ($array_in) | |
print_array ($array_in) | |
debug ($var="", $brOrHeader=0) | |
getThisUrl () | |
linkThisScript ($getParams=array()) | |
linkThisUrl ($url, $getParams=array()) | |
getIndpEnv ($getEnvName) | |
milliseconds () | |
clientInfo ($useragent='') | |
getFileAbsFileName ($filename, $onlyRelative=1, $relToTYPO3_mainDir=0) | |
validPathStr ($theFile) | |
isAbsPath ($path) | |
isAllowedAbsPath ($path) | |
verifyFilenameAgainstDenyPattern ($filename) | |
upload_copy_move ($source, $destination) | |
upload_to_tempfile ($uploadedFileName) | |
unlink_tempfile ($uploadedTempFileName) | |
tempnam ($filePrefix) | |
stdAuthCode ($uid_or_record, $fields='') | |
loadTCA ($table) | |
resolveSheetDefInDS ($dataStructArray, $sheet='sDEF') | |
resolveAllSheetsInDS ($dataStructArray) | |
callUserFunction ($funcName, &$params, &$ref, $checkPrefix='user_', $silent=0) | |
& | getUserObj ($classRef, $checkPrefix='user_', $silent=0) |
& | makeInstance ($className) |
makeInstanceClassName ($className) | |
& | makeInstanceService ($serviceType, $serviceSubType='', $excludeServiceKeys=array()) |
plainMailEncoded ($email, $subject, $message, $headers='', $enc='', $charset='ISO-8859-1', $dontEncodeSubject=0) | |
quoted_printable ($string, $maxlen=76) | |
substUrlsInPlainText ($message, $urlmode='76', $index_script_url='') | |
makeRedirectUrl ($inUrl, $l=0, $index_script_url='') | |
freetypeDpiComp ($font_size) | |
devLog ($msg, $extKey, $severity=0, $dataVar=FALSE) | |
arrayToLogString ($arr, $valueList=array(), $valueLength=20) | |
_GP ($var) | |
_GET ($var=NULL) | |
_POST ($var=NULL) | |
_GETset ($inputGet, $key='') | |
GPvar ($var, $strip=0) | |
GParrayMerged ($var) | |
gif_compress ($theFile, $type) | |
png_to_gif_by_imagemagick ($theFile) | |
read_png_gif ($theFile, $output_png=0) | |
fixed_lgd ($string, $origChars, $preStr='...') | |
fixed_lgd_pre ($string, $chars) | |
fixed_lgd_cs ($string, $chars) | |
breakTextForEmail ($str, $implChar="\n", $charWidth=76) | |
breakLinesForEmail ($str, $implChar="\n", $charWidth=76) | |
cmpIP ($baseIP, $list) | |
cmpFQDN ($baseIP, $list) | |
inList ($in_list, $item) | |
rmFromList ($element, $list) | |
intInRange ($theInt, $min, $max=2000000000, $zeroValue=0) | |
intval_positive ($theInt) | |
int_from_ver ($verNumberStr) | |
md5int ($str) | |
shortMD5 ($input, $len=10) | |
uniqueList ($in_list, $secondParameter=NULL) | |
split_fileref ($fileref) | |
dirname ($path) | |
modifyHTMLColor ($color, $R, $G, $B) | |
modifyHTMLColorAll ($color, $all) | |
rm_endcomma ($string) | |
danish_strtoupper ($string) | |
convUmlauts ($str) | |
testInt ($var) | |
isFirstPartOfStr ($str, $partStr) | |
formatSize ($sizeInBytes, $labels='') | |
convertMicrotime ($microtime) | |
splitCalc ($string, $operators) | |
calcPriority ($string) | |
calcParenthesis ($string) | |
htmlspecialchars_decode ($value) | |
deHSCentities ($str) | |
slashJS ($string, $extended=0, $char="'") | |
rawUrlEncodeJS ($str) | |
rawUrlEncodeFP ($str) | |
validEmail ($email) | |
formatForTextarea ($content) | |
inArray ($in_array, $item) | |
intExplode ($delim, $string) | |
revExplode ($delim, $string, $count=0) | |
trimExplode ($delim, $string, $onlyNonEmptyValues=0) | |
uniqueArray ($valueArray) | |
removeArrayEntryByValue ($array, $cmpValue) | |
implodeArrayForUrl ($name, $theArray, $str='', $skipBlank=0, $rawurlencodeParamName=0) | |
compileSelectedGetVarsFromArray ($varList, $getArray, $GPvarAlt=1) | |
addSlashesOnArray (&$theArray) | |
stripSlashesOnArray (&$theArray) | |
slashArray ($arr, $cmd) | |
array_merge_recursive_overrule ($arr0, $arr1, $notAddKeys=0, $includeEmtpyValues=true) | |
array_merge ($arr1, $arr2) | |
csvValues ($row, $delim=',', $quote='"') | |
get_tag_attributes ($tag) | |
split_tag_attributes ($tag) | |
implodeAttributes ($arr, $xhtmlSafe=FALSE, $dontOmitBlankAttribs=FALSE) | |
implodeParams ($arr, $xhtmlSafe=FALSE, $dontOmitBlankAttribs=FALSE) | |
wrapJS ($string, $linebreak=TRUE) | |
xml2tree ($string, $depth=999) | |
array2xml ($array, $NSprefix='', $level=0, $docTag='phparray', $spaceInd=0, $options=array(), $parentTagName='') | |
xml2array ($string, $NSprefix='') | |
xmlRecompileFromStructValArray ($vals) | |
xmlGetHeaderAttribs ($xmlData) | |
getURL ($url) | |
writeFile ($file, $content) | |
writeFileToTypo3tempDir ($filepath, $content) | |
mkdir ($theNewFolder) | |
get_dirs ($path) | |
getFilesInDir ($path, $extensionList='', $prependPath=0, $order='') | |
getAllFilesAndFoldersInPath ($fileArr, $path, $extList='', $regDirs=0, $recursivityLevels=99) | |
removePrefixPathFromList ($fileArr, $prefixToRemove) | |
fixWindowsFilePath ($theFile) | |
resolveBackPath ($pathStr) | |
locationHeaderUrl ($path) | |
debug_ordvalue ($string, $characters=100) | |
view_array ($array_in) | |
print_array ($array_in) | |
debug ($var="", $brOrHeader=0) | |
getThisUrl () | |
linkThisScript ($getParams=array()) | |
linkThisUrl ($url, $getParams=array()) | |
getIndpEnv ($getEnvName) | |
milliseconds () | |
clientInfo ($useragent='') | |
getFileAbsFileName ($filename, $onlyRelative=1, $relToTYPO3_mainDir=0) | |
validPathStr ($theFile) | |
isAbsPath ($path) | |
isAllowedAbsPath ($path) | |
verifyFilenameAgainstDenyPattern ($filename) | |
upload_copy_move ($source, $destination) | |
upload_to_tempfile ($uploadedFileName) | |
unlink_tempfile ($uploadedTempFileName) | |
tempnam ($filePrefix) | |
stdAuthCode ($uid_or_record, $fields='') | |
loadTCA ($table) | |
resolveSheetDefInDS ($dataStructArray, $sheet='sDEF') | |
resolveAllSheetsInDS ($dataStructArray) | |
callUserFunction ($funcName, &$params, &$ref, $checkPrefix='user_', $silent=0) | |
& | getUserObj ($classRef, $checkPrefix='user_', $silent=0) |
& | makeInstance ($className) |
makeInstanceClassName ($className) | |
& | makeInstanceService ($serviceType, $serviceSubType='', $excludeServiceKeys=array()) |
plainMailEncoded ($email, $subject, $message, $headers='', $enc='', $charset='ISO-8859-1', $dontEncodeSubject=0) | |
quoted_printable ($string, $maxlen=76) | |
substUrlsInPlainText ($message, $urlmode='76', $index_script_url='') | |
makeRedirectUrl ($inUrl, $l=0, $index_script_url='') | |
freetypeDpiComp ($font_size) | |
devLog ($msg, $extKey, $severity=0, $dataVar=FALSE) | |
arrayToLogString ($arr, $valueList=array(), $valueLength=20) |
Definition at line 5 of file incfile.php.
|
Returns the global GET array (or value from) normalized to contain un-escaped values. ALWAYS use this API function to acquire the GET variables! Usage: 27
Definition at line 257 of file class.t3lib_div.php. References stripSlashesOnArray(). |
|
|
Writes input value to $_GET Usage: 2
Definition at line 290 of file class.t3lib_div.php. References addSlashesOnArray(). |
|
Writes input value to $_GET Usage: 2
Definition at line 290 of file class.t3lib_div.php. References addSlashesOnArray(). Referenced by tslib_fe::mergingWithGetVars(), and SC_rte_select_image::preinit(). |
|
Returns the 'GLOBAL' value of incoming data from POST or GET, with priority to POST (that is equalent to 'GP' order) Strips slashes from all output, both strings and arrays. This function substitutes t3lib_div::GPvar() To enhancement security in your scripts, please consider using t3lib_div::_GET or t3lib_div::_POST if you already know by which method your data is arriving to the scripts! Usage: 537
Definition at line 239 of file class.t3lib_div.php. References stripSlashesOnArray(). |
|
Returns the 'GLOBAL' value of incoming data from POST or GET, with priority to POST (that is equalent to 'GP' order) Strips slashes from all output, both strings and arrays. This function substitutes t3lib_div::GPvar() To enhancement security in your scripts, please consider using t3lib_div::_GET or t3lib_div::_POST if you already know by which method your data is arriving to the scripts! Usage: 537
Definition at line 239 of file class.t3lib_div.php. References stripSlashesOnArray(). Referenced by tx_sysaction::action_t1_createUpdateBeUser(), t3lib_userAuth::check_authentication(), SC_mod_tools_em_index::checkDBupdates(), t3lib_SCbase::checkExtObj(), tslib_fe::checkJumpUrl(), tx_install::checkPassword(), tx_install::checkTheDatabase(), t3lib_TCEmain::checkValue_flex(), tx_kickstarter_wizard::cleanFieldsAndDoCommands(), SC_mod_web_ts_index::clearCache(), mod_web_dmail::cmd_default(), mod_web_dmail::cmd_displayImport(), mod_web_dmail::cmd_displayMailGroup(), mod_web_dmail::cmd_displayUserInfo(), mod_web_dmail::cmd_quickmail(), mod_web_dmail::cmd_send_mail(), mod_web_dmail::cmd_stats(), SC_mod_tools_be_user_index::compareUsers(), mod_web_dmail::createDMail(), SC_mod_web_ts_index::createTemplate(), tslib_fe::determineId(), user_feAdmin::displayCreateScreen(), user_feAdmin::displayEditForm(), freesite_admin::displayExample(), tslib_cObj::editIcons(), tslib_cObj::editPanel(), tslib_cObj::editPanelLinkWrap(), SC_rte_select_image::expandFolder(), localPageTree::ext_tree(), t3lib_tsfeBeUserAuth::extGetCategory_edit(), tslib_menu::filterMenuPages(), tx_ttboard::forum_forum(), SC_mod_tools_dbint_index::func_filesearch(), tx_install::generateConfigForm(), tslib_cObj::getData(), tslib_cObj::getFieldDefaultValue(), t3lib_matchCondition::getGP_ENV_TSFE(), tx_ttproducts::getLinkUrl(), tx_ttnews::getLinkUrl(), t3lib_fullsearch::getQueryResultCode(), tx_ttnews::getSelectConf(), t3lib_TCEforms::getSingleField_typeFlex(), tx_ttproducts::getTrackingInformation(), t3lib_extobjbase::handleExternalFunctionValue(), SC_wizard_tsconfig::init(), SC_wizard_table::init(), SC_wizard_rte::init(), SC_wizard_list::init(), SC_wizard_forms::init(), SC_wizard_edit::init(), SC_wizard_colorpicker::init(), SC_wizard_add::init(), SC_view_help::init(), SC_tce_file::init(), SC_tce_db::init(), SC_db_new_content_el::init(), SC_db_layout::init(), SC_move_el::init(), SC_file_upload::init(), SC_file_rename::init(), SC_file_newfolder::init(), SC_file_list::init(), SC_file_edit::init(), SC_rte_user::init(), SC_rte_rte::init(), SC_db_new::init(), SC_db_list::init(), SC_browse_links::init(), SC_alt_palette::init(), SC_alt_menu::init(), SC_alt_file_navframe::init(), SC_alt_doc::init(), SC_alt_db_navframe::init(), SC_alt_clickmenu::init(), clickMenu::init(), SC_tslib_showpic::init(), user_feAdmin::init(), SC_t3lib_thumbs::init(), t3lib_SCbase::init(), SC_mod_web_perm_index::init(), SC_mod_tools_em_index::init(), SC_index::init(), SC_mod_web_view_index::init(), SC_mod_web_ts_index::init(), SC_mod_web_modules_index::init(), SC_mod_file_images_index::init(), SC_mod_tools_be_user_index::init(), tslib_fe::initFEuser(), t3lib_treeView::initializePositionSaving(), t3lib_folderTree::initializePositionSaving(), tx_install::isTTF(), tslib_fe::jumpUrl(), SC_logout::logout(), SC_rte_select_image::magicProcess(), mod_web_dmail::mailModule_main(), SC_wizard_colorpicker::main(), tx_wizardsortpages_webfunc_2::main(), tx_wizardcrpages_webfunc_2::main(), tx_extrapagecmoptions::main(), SC_show_item::main(), tx_tstemplatestyler_modfunc1::main(), tx_tstemplateobjbrowser::main(), tx_tstemplateinfo::main(), tx_tstemplateceditor::main(), SC_rte_select_image::main(), tx_indexedsearch_modfunc1::main(), tx_impexp_clickmenu::main(), tx_cmsplaintextimport_webfunc::main(), SC_browser::main(), SC_alt_mod_frameset::main(), tx_version_cm1::main(), SC_mod_web_modules_index::main(), SC_mod_tools_config_index::main(), SC_mod_tools_log_index::main(), SC_mod_tools_be_user_index::main(), tx_ttboard::main_board(), SC_browse_links::main_file(), tx_ttnews::main_news(), SC_rte_user::main_user(), SC_db_layout::menuConfig(), SC_file_list::menuConfig(), SC_db_list::menuConfig(), t3lib_SCbase::menuConfig(), SC_mod_web_perm_index::menuConfig(), SC_mod_tools_em_index::menuConfig(), SC_mod_web_modules_index::menuConfig(), SC_mod_tools_dbint_index::menuConfig(), SC_mod_tools_config_index::menuConfig(), SC_mod_tools_isearch_index::menuConfig(), SC_mod_tools_be_user_index::menuConfig(), SC_mod_tools_log_index::menuConfig(), tx_ttnews::news_list(), user_feAdmin::parseValues(), SC_rte_select_image::preinit(), SC_alt_shortcut::preinit(), SC_alt_doc::preInit(), freesite_admin::printSelect(), SC_alt_doc::processData(), user_feAdmin::procesSetFixed(), t3lib_modSettings::processStoreControl(), t3lib_fullsearch::procesStoreControl(), tx_ttproducts::products_basket(), tx_ttproducts::products_display(), tx_ttproducts::products_tracking(), recordHistory::recordHistory(), template::redirectUrls(), tx_sysaction::renderActions(), tx_sysmessages::renderMessages(), tx_sysnotepad::renderNote(), tx_systodos::renderTasks(), t3lib_fullsearch::search(), tslib_cObj::SEARCHRESULT(), user_feAdmin::sendInfoMail(), tx_ttproducts::shopAdmin(), SC_mod_tools_em_index::showExtDetails(), SC_mod_user_setup_index::simulateUser(), recordList::start(), tslib_fe::statistics(), SC_mod_user_setup_index::storeIncomingData(), SC_browse_links::TBE_dragNDrop(), SC_mod_web_ts_index::templateMenu(), tx_tipafriend::tipform(), tx_systodos::todos_createForm(), tx_systodos::todos_displayTodo(), tx_systodos::todos_processIncoming(), SC_mod_tools_em_index::tsStyleConfigForm(), tx_install::tx_install(), and mod_web_dmail::updatePageTS(). |
|
Returns the global POST array (or value from) normalized to contain un-escaped values. ALWAYS use this API function to acquire the POST variables! Usage: 41
Definition at line 274 of file class.t3lib_div.php. References stripSlashesOnArray(). |
|
Returns the global POST array (or value from) normalized to contain un-escaped values. ALWAYS use this API function to acquire the POST variables! Usage: 41
Definition at line 274 of file class.t3lib_div.php. References stripSlashesOnArray(). Referenced by t3lib_userAuth::check_authentication(), SC_mod_tools_em_index::checkClearCache(), SC_mod_tools_em_index::checkUploadFolder(), SC_wizard_colorpicker::colorImage(), tslib_cObj::editPanel(), freesite_admin::enteringData(), t3lib_tsfeBeUserAuth::extInitFeAdmin(), t3lib_tsfeBeUserAuth::extSaveFeAdminConfig(), tslib_fe::fe_tce(), freesite_admin::isReady(), SC_file_list::main(), tx_tstemplateobjbrowser::main(), tx_tstemplateinfo::main(), tx_tstemplateceditor::main(), freesite_admin::main(), SC_db_list::main(), SC_mod_tools_config_index::main(), tx_ttpoll::main_poll(), tx_version_cm1::moduleContent(), t3lib_queryGenerator::procesData(), tslib_cObj::SEARCHRESULT(), tslib_fe::sendFormmail(), SC_mod_tools_em_index::showExtDetails(), SC_mod_user_setup_index::storeIncomingData(), SC_mod_tools_em_index::tsStyleConfigForm(), and tx_kickstarter_wizard::tx_kickstarter_wizard(). |
|
AddSlash array This function traverses a multidimentional array and adds slashes to the values. NOTE that the input array is and argument by reference.!! Twin-function to stripSlashesOnArray Usage: 8
Definition at line 1334 of file class.t3lib_div.php. |
|
AddSlash array This function traverses a multidimentional array and adds slashes to the values. NOTE that the input array is and argument by reference.!! Twin-function to stripSlashesOnArray Usage: 8
Definition at line 1334 of file class.t3lib_div.php. Referenced by _GETset(). |
|
Converts a PHP array into an XML string. The XML output is optimized for readability since associative keys are used as tagnames. This also means that only alphanumeric characters are allowed in the tag names AND only keys NOT starting with numbers (so watch your usage of keys!). However there are options you can set to avoid this problem. Numeric keys are stored with the default tagname "numIndex" but can be overridden to other formats) The function handles input values from the PHP array in a binary-safe way; All characters below 32 (except 9,10,13) will trigger the content to be converted to a base64-string The PHP variable type of the data IS preserved as long as the types are strings, arrays, integers and booleans. Strings are the default type unless the "type" attribute is set. The output XML has been tested with the PHP XML-parser and parses OK under all tested circumstances. However using MSIE to read the XML output didn't always go well: One reason could be that the character encoding is not observed in the PHP data. The other reason may be if the tag-names are invalid in the eyes of MSIE. Also using the namespace feature will make MSIE break parsing. There might be more reasons... Usage: 5
Definition at line 1714 of file class.t3lib_div.php. |
|
Converts a PHP array into an XML string. The XML output is optimized for readability since associative keys are used as tagnames. This also means that only alphanumeric characters are allowed in the tag names AND only keys NOT starting with numbers (so watch your usage of keys!). However there are options you can set to avoid this problem. Numeric keys are stored with the default tagname "numIndex" but can be overridden to other formats) The function handles input values from the PHP array in a binary-safe way; All characters below 32 (except 9,10,13) will trigger the content to be converted to a base64-string The PHP variable type of the data IS preserved as long as the types are strings, arrays, integers and booleans. Strings are the default type unless the "type" attribute is set. The output XML has been tested with the PHP XML-parser and parses OK under all tested circumstances. However using MSIE to read the XML output didn't always go well: One reason could be that the character encoding is not observed in the PHP data. The other reason may be if the tag-names are invalid in the eyes of MSIE. Also using the namespace feature will make MSIE break parsing. There might be more reasons... Usage: 5
Definition at line 1714 of file class.t3lib_div.php. Referenced by t3lib_TCEmain::checkValue_flexArray2Xml(), SC_wizard_table::getConfigCode(), SC_wizard_forms::getConfigCode(), and t3lib_transferData::renderRecord_flexProc(). |
|
An array_merge function where the keys are NOT renumbered as they happen to be with the real php-array_merge function. It is "binary safe" in the sense that integer keys are overridden as well. Usage: 16
Definition at line 1430 of file class.t3lib_div.php. |
|
An array_merge function where the keys are NOT renumbered as they happen to be with the real php-array_merge function. It is "binary safe" in the sense that integer keys are overridden as well. Usage: 16
Definition at line 1430 of file class.t3lib_div.php. Referenced by breakTextForEmail(). |
|
Merges two arrays recursively and "binary safe" (integer keys are overridden as well), overruling similar the values in the first array ($arr0) with the values of the second array ($arr1) In case of identical keys, ie. keeping the values of the second. Usage: 0
Definition at line 1397 of file class.t3lib_div.php. |
|
Merges two arrays recursively and "binary safe" (integer keys are overridden as well), overruling similar the values in the first array ($arr0) with the values of the second array ($arr1) In case of identical keys, ie. keeping the values of the second. Usage: 0
Definition at line 1397 of file class.t3lib_div.php. Referenced by t3lib_TCEmain::checkValue_flex(), mod_web_dmail::cmd_compileMailGroup(), t3lib_tsStyleConfig::ext_mergeIncomingWithExisting(), t3lib_TCEmain::fillInFieldArray(), t3lib_BEfunc::getModTSconfig(), t3lib_TCEmain::getTableEntries(), t3lib_BEfunc::getTCEFORM_TSconfig(), GParrayMerged(), t3lib_extobjbase::incLocalLang(), language::includeLLFile(), mailSelect::initUserDef(), tx_kickstarter_wizard::initWizArray(), linkThisUrl(), tx_belog_webinfo::localLang(), SC_rte_user::main_user(), tslib_fe::mergingWithGetVars(), mod_web_dmail::mod_web_dmail(), tslib_pibase::pi_linkTP_keepPIvars(), tslib_pibase::pi_loadLL(), tslib_pibase::pi_setPiVarDefaults(), t3lib_TCEmain::process_cmdmap(), t3lib_BEfunc::RTEsetup(), language::sL(), and t3lib_pageSelect::versionOL(). |
|
Converts a one dimensional array to a one line string which can be used for logging or debugging output Example: "loginType: FE; refInfo: Array; HTTP_HOST: www.example.org; REMOTE_ADDR: 192.168.1.5; REMOTE_HOST:; security_level:; showHiddenRecords: 0;"
Definition at line 3503 of file class.t3lib_div.php. References fixed_lgd(). |
|
Converts a one dimensional array to a one line string which can be used for logging or debugging output Example: "loginType: FE; refInfo: Array; HTTP_HOST: www.example.org; REMOTE_ADDR: 192.168.1.5; REMOTE_HOST:; security_level:; showHiddenRecords: 0;"
Definition at line 3503 of file class.t3lib_div.php. References fixed_lgd(). Referenced by t3lib_modSettings::processStoreControl(). |
|
Breaks up a single line of text for emails Usage: 5
Definition at line 548 of file class.t3lib_div.php. |
|
Breaks up a single line of text for emails Usage: 5
Definition at line 548 of file class.t3lib_div.php. Referenced by tx_sysmessages::breakLines(), user_plaintext::breakLines(), and breakTextForEmail(). |
|
Breaks up the text for emails Usage: 1
Definition at line 529 of file class.t3lib_div.php. References array_merge(), and breakLinesForEmail(). |
|
Breaks up the text for emails Usage: 1
Definition at line 529 of file class.t3lib_div.php. References array_merge(), and breakLinesForEmail(). Referenced by mod_web_dmail::cmd_quickmail(). |
|
Calculates the input with parenthesis levels Usage: 2
Definition at line 1030 of file class.t3lib_div.php. References calcPriority(). |
|
Calculates the input with parenthesis levels Usage: 2
Definition at line 1030 of file class.t3lib_div.php. References calcPriority(). Referenced by tslib_cObj::stdWrap(). |
|
Calculates the input by +,-,*,/,%,^ with priority to + and - Usage: 1
Definition at line 990 of file class.t3lib_div.php. |
|
Calculates the input by +,-,*,/,%,^ with priority to + and - Usage: 1
Definition at line 990 of file class.t3lib_div.php. Referenced by calcParenthesis(). |
|
Calls a userdefined function/method in class Such a function/method should look like this: "function proc(&$params, &$ref) {...}" Usage: 17
Definition at line 3071 of file class.t3lib_div.php. References getFileAbsFileName(), isFirstPartOfStr(), makeInstance(), and revExplode(). |
|
Calls a userdefined function/method in class Such a function/method should look like this: "function proc(&$params, &$ref) {...}" Usage: 17
Definition at line 3071 of file class.t3lib_div.php. References getFileAbsFileName(), isFirstPartOfStr(), makeInstance(), and revExplode(). Referenced by tx_kickstarter_wizard::add_cat_cm(), tx_kickstarter_wizard::add_cat_emconf(), tx_kickstarter_wizard::add_cat_fields(), tx_kickstarter_wizard::add_cat_languages(), tx_kickstarter_wizard::add_cat_module(), tx_kickstarter_wizard::add_cat_moduleFunction(), tx_kickstarter_wizard::add_cat_pi(), tx_kickstarter_wizard::add_cat_save(), tx_kickstarter_wizard::add_cat_services(), tx_kickstarter_wizard::add_cat_tables(), tx_kickstarter_wizard::add_cat_ts(), tx_kickstarter_wizard::add_cat_TSconfig(), tslib_fe::checkAlternativeIdMethods(), t3lib_TCEmain::clear_cache(), tslib_fe::determineId(), devLog(), tslib_fe::generatePage_postProcessing(), t3lib_TCEforms::getSingleField_typeUser(), t3lib_parsehtml::HTMLcleaner(), tslib_fe::processOutput(), t3lib_transferData::procItems(), t3lib_TCEforms::procItems(), t3lib_TCEforms::renderWizards(), tx_kickstarter_wizard::sidemenu(), tslib_fe::tslib_fe(), and SC_mod_tools_em_index::tsStyleConfigForm(). |
|
Client Browser Information Usage: 4
Definition at line 2699 of file class.t3lib_div.php. References getIndpEnv(). |
|
Client Browser Information Usage: 4
Definition at line 2699 of file class.t3lib_div.php. References getIndpEnv(). Referenced by t3lib_TCEforms::t3lib_TCEforms(), and tslib_fe::tslib_fe(). |
|
Match fully qualified domain name with list of strings with wildcard
Definition at line 625 of file class.t3lib_div.php. References trimExplode(). |
|
Match fully qualified domain name with list of strings with wildcard
Definition at line 625 of file class.t3lib_div.php. References trimExplode(). Referenced by t3lib_matchCondition::match(). |
|
Match IP number with list of numbers with wildcard Usage: 10
Definition at line 583 of file class.t3lib_div.php. References trimExplode(). |
|
Match IP number with list of numbers with wildcard Usage: 10
Definition at line 583 of file class.t3lib_div.php. References trimExplode(). Referenced by tslib_fe::beLoginLinkIPList(), t3lib_tsfeBeUserAuth::checkBackendAccessSettingsFromInitPhp(), t3lib_beUserAuth::checkLockToIP(), and t3lib_matchCondition::match(). |
|
Returns an array with selected keys from incoming data. (Better read source code if you want to find out...) Usage: 3
Definition at line 1311 of file class.t3lib_div.php. |
|
Returns an array with selected keys from incoming data. (Better read source code if you want to find out...) Usage: 3
Definition at line 1311 of file class.t3lib_div.php. Referenced by SC_alt_doc::compileStoreDat(), and template::makeShortcutUrl(). |
|
Returns microtime input to milliseconds Usage: 2
Definition at line 954 of file class.t3lib_div.php. |
|
Returns microtime input to milliseconds Usage: 2
Definition at line 954 of file class.t3lib_div.php. Referenced by tx_install::checkTheImageProcessing(). |
|
Change umlaut characters to plain ASCII with normally two character target Only known characters will be converted, so don't expect a result for any character. (DEPRECIATED: Works only for western europe single-byte charsets! Use t3lib_cs::specCharsToASCII() instead!) ä => ae, Ö => Oe
Definition at line 878 of file class.t3lib_div.php. |
|
Change umlaut characters to plain ASCII with normally two character target Only known characters will be converted, so don't expect a result for any character. (DEPRECIATED: Works only for western europe single-byte charsets! Use t3lib_cs::specCharsToASCII() instead!) ä => ae, Ö => Oe
Definition at line 878 of file class.t3lib_div.php. |
|
Takes a row and returns a CSV string of the values with $delim (default is ,) and $quote (default is ") as separator chars. Usage: 5
Definition at line 1443 of file class.t3lib_div.php. |
|
Takes a row and returns a CSV string of the values with $delim (default is ,) and $quote (default is ") as separator chars. Usage: 5
Definition at line 1443 of file class.t3lib_div.php. Referenced by t3lib_fullsearch::csvValues(), mod_web_dmail::downloadCSV(), and localRecordList::setCsvRow(). |
|
strtoupper which converts danish (and other characters) characters as well (DEPRECIATED, use t3lib_cs::conv_case() instead or for HTML output, wrap your content in ...) Usage: 0
Definition at line 863 of file class.t3lib_div.php. |
|
strtoupper which converts danish (and other characters) characters as well (DEPRECIATED, use t3lib_cs::conv_case() instead or for HTML output, wrap your content in ...) Usage: 0
Definition at line 863 of file class.t3lib_div.php. |
|
Makes debug output Prints $var in bold between two vertical lines If not $var the word 'debug' is printed If $var is an array, the array is printed by t3lib_div::print_array() Usage: 8
Definition at line 2364 of file class.t3lib_div.php. References testInt(). |
|
Makes debug output Prints $var in bold between two vertical lines If not $var the word 'debug' is printed If $var is an array, the array is printed by t3lib_div::print_array() Usage: 8
Definition at line 2364 of file class.t3lib_div.php. References testInt(). |
|
Returns a string with a list of ascii-values for the first $characters characters in $string Usage: 0
Definition at line 2304 of file class.t3lib_div.php. |
|
Returns a string with a list of ascii-values for the first $characters characters in $string Usage: 0
Definition at line 2304 of file class.t3lib_div.php. |
|
Re-converts HTML entities if they have been converted by htmlspecialchars() Usage: 10
Definition at line 1071 of file class.t3lib_div.php. |
|
Re-converts HTML entities if they have been converted by htmlspecialchars() Usage: 10
Definition at line 1071 of file class.t3lib_div.php. Referenced by t3lib_BEfunc::getFuncMenu(), t3lib_TCEforms::getSingleField(), t3lib_TCEforms::getSingleField_typeSelect_checkbox(), t3lib_TCEforms::getSingleField_typeSelect_singlebox(), template::getTabMenu(), language::sL(), and tslib_cObj::stdWrap(). |
|
Developer log; This should be implemented around the source code, both frontend and backend, logging everything from the flow through an application, messages, results from comparisons to fatal errors. The result is meant to make sense to developers during development or debugging of a site. The idea is that this function is only a wrapper for external extensions which can set a hook which will be allowed to handle the logging of the information to any format they might wish and with any kind of filter they would like. If you want to implement the devLog in your applications, simply add lines like: if (TYPO3_DLOG) t3lib_div::devLog('[write message in english here]', 'extension key');
Definition at line 3482 of file class.t3lib_div.php. References callUserFunction(). |
|
Developer log; This should be implemented around the source code, both frontend and backend, logging everything from the flow through an application, messages, results from comparisons to fatal errors. The result is meant to make sense to developers during development or debugging of a site. The idea is that this function is only a wrapper for external extensions which can set a hook which will be allowed to handle the logging of the information to any format they might wish and with any kind of filter they would like. If you want to implement the devLog in your applications, simply add lines like: if (TYPO3_DLOG) t3lib_div::devLog('[write message in english here]', 'extension key');
Definition at line 3482 of file class.t3lib_div.php. References callUserFunction(). Referenced by t3lib_modSettings::addToStoreList(), t3lib_modSettings::addToStoreListFromPrefix(), t3lib_svbase::devLog(), template::endPage(), tslib_fe::initUserGroups(), tx_rte_base::isAvailable(), t3lib_modSettings::processStoreControl(), t3lib_modSettings::setStoreList(), and t3lib_modSettings::writeStoredSetting(). |
|
Returns the directory part of a path without trailing slash If there is no dir-part, then an empty string is returned. Behaviour: '/dir1/dir2/script.php' => '/dir1/dir2' '/dir1/' => '/dir1' 'dir1/script.php' => 'dir1' 'd/script.php' => 'd' '/script.php' => '' '' => '' Usage: 5
Definition at line 803 of file class.t3lib_div.php. References revExplode(). |
|
Returns the directory part of a path without trailing slash If there is no dir-part, then an empty string is returned. Behaviour: '/dir1/dir2/script.php' => '/dir1/dir2' '/dir1/' => '/dir1' 'dir1/script.php' => 'dir1' 'd/script.php' => 'd' '/script.php' => '' '' => '' Usage: 5
Definition at line 803 of file class.t3lib_div.php. References revExplode(). |
|
Truncate string Returns a new string of max. $chars length. If the string is longer, it will be truncated and appended with '...'. DEPRECIATED. Works ONLY for single-byte charsets! USE t3lib_div::fixed_lgd_cs() instead Usage: 39
Definition at line 473 of file class.t3lib_div.php. |
|
Truncate string Returns a new string of max. $chars length. If the string is longer, it will be truncated and appended with '...'. DEPRECIATED. Works ONLY for single-byte charsets! USE t3lib_div::fixed_lgd_cs() instead Usage: 39
Definition at line 473 of file class.t3lib_div.php. Referenced by arrayToLogString(), user_wapversion::cBodytext(), tx_install::checkTheDatabase(), mod_web_dmail::cmd_default(), mod_web_dmail::cmd_displayPageInfo(), user_wapversion::contentAbstract(), mod_web_dmail::directMail_defaultView(), tslib_cObj::editPanel(), SC_rte_select_image::expandFolder(), SC_mod_tools_em_index::extensionListRow(), SC_mod_tools_em_index::extensionTitleIconHeader(), t3lib_timeTrack::fixCLen(), mod_user_task::fixed_lgd(), fixed_lgd_cs(), fixed_lgd_pre(), fileList::formatDirList(), fileList::formatFileList(), tx_install::generateConfigForm(), SC_mod_tools_isearch_index::getPhashExternalDocs(), SC_mod_tools_isearch_index::getPhashT3pages(), freesite_admin::getTemplateDetails(), tx_indexedsearch::makeDescription(), tx_indexedsearch::makeTitle(), SC_mod_web_perm_index::notEdit(), and localFolderTree::printTree(). |
|
Truncates a string with appended/prepended "..." and takes backend character set into consideration Use only from backend! Usage: 75
Definition at line 512 of file class.t3lib_div.php. References fixed_lgd(). |
|
Truncates a string with appended/prepended "..." and takes backend character set into consideration Use only from backend! Usage: 75
Definition at line 512 of file class.t3lib_div.php. References fixed_lgd(). Referenced by t3lib_diff::addClearBuffer(), t3lib_clipboard::confirmMsg(), tx_cms_layout::dataFields(), t3lib_TCEforms::dbFileIcons(), SC_browse_links::expandFolder(), SC_browse_links::expandPage(), tx_impexp::export_addRecord(), SC_browse_links::fileList(), t3lib_TCEforms::foreignTable(), t3lib_admin::genTree(), template::getFileheader(), template::getHeader(), t3lib_BEfunc::getProcessedValue(), t3lib_BEfunc::getRecordTitle(), t3lib_TCEforms::getSingleField_typeFlex_draw(), tx_cms_layout::getTable_tt_content(), t3lib_treeView::getTitleStr(), recordList::linkWrapItems(), TBE_browser_recordList::linkWrapItems(), tx_wizardsortpages_webfunc_2::main(), tx_wizardcrpages_webfunc_2::main(), SC_alt_db_navframe::main(), SC_mod_web_perm_index::main(), SC_mod_web_info_index::main(), SC_mod_web_func_index::main(), SC_mod_web_ts_index::main(), SC_mod_web_perm_index::notEdit(), tx_sysnotepad::overview_main(), SC_browse_links::parseCurUrl(), t3lib_positionMap::positionTree(), t3lib_clipboard::printContentFromTab(), clickMenu::printDBClickMenu(), localFolderTree::printTree(), printAllPageTree_perms::printTree(), t3lib_loadDBGroup::readyForInterface(), tx_cms_webinfo_lang::renderL10nTable(), SC_mod_web_ts_index::renderList(), SC_db_layout::renderQuickEdit(), tx_cms_layout::renderText(), t3lib_TCEforms::replaceTableWrap(), t3lib_transferData::selectAddForeign(), SC_browse_links::TBE_dragNDrop(), tx_cms_layout::tt_board_drawItem(), fileList::writeTop(), and localRecordList::writeTop(). |
|
Truncate string Returns a new string of max. $chars length. If the string is longer, it will be truncated and prepended with '...'. This works like fixed_lgd, but is truncated in the start of the string instead of the end DEPRECIATED. Use either fixed_lgd() or fixed_lgd_cs() (with negative input value for $chars) Usage: 6
Definition at line 498 of file class.t3lib_div.php. References fixed_lgd(). |
|
Truncate string Returns a new string of max. $chars length. If the string is longer, it will be truncated and prepended with '...'. This works like fixed_lgd, but is truncated in the start of the string instead of the end DEPRECIATED. Use either fixed_lgd() or fixed_lgd_cs() (with negative input value for $chars) Usage: 6
Definition at line 498 of file class.t3lib_div.php. References fixed_lgd(). Referenced by t3lib_timeTrack::printTSlog(). |
|
Fixes a path for windows-backslashes and reduces double-slashes to single slashes Usage: 2
Definition at line 2225 of file class.t3lib_div.php. |
|
Fixes a path for windows-backslashes and reduces double-slashes to single slashes Usage: 2
Definition at line 2225 of file class.t3lib_div.php. Referenced by t3lib_TCEmain::checkValue_group_select_file(). |
|
Formats a string for output between <textarea>-tags All content outputted in a textarea form should be passed through this function Not only is the content htmlspecialchar'ed on output but there is also a single newline added in the top. The newline is necessary because browsers will ignore the first newline after <textarea> if that is the first character. Therefore better set it! Usage: 23
Definition at line 1135 of file class.t3lib_div.php. |
|
Formats a string for output between <textarea>-tags All content outputted in a textarea form should be passed through this function Not only is the content htmlspecialchar'ed on output but there is also a single newline added in the top. The newline is necessary because browsers will ignore the first newline after <textarea> if that is the first character. Therefore better set it! Usage: 23
Definition at line 1135 of file class.t3lib_div.php. Referenced by mod_web_dmail::cmd_displayImport(), mod_web_dmail::cmd_quickmail(), t3lib_rteapi::drawRTE(), tslib_cObj::FORM(), t3lib_fullsearch::getQueryResultCode(), t3lib_TCEforms::getSingleField_typeText(), SC_file_edit::main(), tx_tstemplateinfo::main(), tx_kickstarter_wizard::renderTextareaBox(), SC_mod_tools_em_index::showExtDetails(), tx_systodos::todos_createForm(), and tx_install::typo3conf_edit(). |
|
Formats the input integer $sizeInBytes as bytes/kilobytes/megabytes (-/K/M) Usage: 53
Definition at line 919 of file class.t3lib_div.php. |
|
Formats the input integer $sizeInBytes as bytes/kilobytes/megabytes (-/K/M) Usage: 53
Definition at line 919 of file class.t3lib_div.php. Referenced by tslib_cObj::bytes(), tx_install::checkTheDatabase(), tx_install::checkTheImageProcessing(), t3lib_TCEmain::checkValue_group_select_file(), mod_web_dmail::cmd_default(), mod_web_dmail::cmd_displayPageInfo(), tx_install::displayTwinImage(), tx_impexp::export_addFilesFromRelations(), tx_impexp::export_addRecord(), SC_mod_tools_em_index::extDumpTables(), t3lib_tsfeBeUserAuth::extGetCategory_info(), fileList::formatFileList(), SC_mod_tools_em_index::getImportExtList(), SC_mod_tools_isearch_index::getPhashExternalDocs(), SC_mod_tools_isearch_index::getPhashT3pages(), SC_rte_user::main_user(), tx_indexedsearch::makeInfo(), tx_install::typo3conf_edit(), and tx_kickstarter_wizard::view_result(). |
|
Function to compensate for FreeType2 96 dpi Usage: 21
Definition at line 3463 of file class.t3lib_div.php. |
|
Function to compensate for FreeType2 96 dpi Usage: 21
Definition at line 3463 of file class.t3lib_div.php. Referenced by SC_t3lib_thumbs::fontGif(), t3lib_stdGraphic::ImageTTFBBoxWrapper(), t3lib_stdGraphic::ImageTTFTextWrapper(), and tx_install::isTTF(). |
|
Returns an array with the names of folders in a specific path Will return 'error' (string) if there were an error with reading directory content. Usage: 11
Definition at line 2107 of file class.t3lib_div.php. |
|
Returns an array with the names of folders in a specific path Will return 'error' (string) if there were an error with reading directory content. Usage: 11
Definition at line 2107 of file class.t3lib_div.php. Referenced by SC_mod_tools_dbint_index::findFile(), SC_mod_tools_dbint_index::func_filesearch(), getAllFilesAndFoldersInPath(), t3lib_folderTree::getCount(), t3lib_folderTree::getFolderTree(), SC_mod_tools_em_index::getInstExtList(), and SC_mod_tools_em_index::makeDetailedExtensionAnalysis(). |
|
Returns an array with all attributes of the input HTML tag as key/value pairs. Attributes are only lowercase a-z $tag is either a whole tag (eg '<TAG option="" attrib="VALUE>">') or the parameterlist (ex ' OPTION ATTRIB=VALUE>') If a attribute is empty (I call it 'an option'), then the value for the key is empty. You can check if it existed with isset() Usage: 8
Definition at line 1485 of file class.t3lib_div.php. References split_tag_attributes(). |
|
Returns an array with all attributes of the input HTML tag as key/value pairs. Attributes are only lowercase a-z $tag is either a whole tag (eg '<TAG option="" attrib="VALUE>">') or the parameterlist (ex ' OPTION ATTRIB=VALUE>') If a attribute is empty (I call it 'an option'), then the value for the key is empty. You can check if it existed with isset() Usage: 8
Definition at line 1485 of file class.t3lib_div.php. References split_tag_attributes(). Referenced by tslib_cObj::_parseFunc(), tslib_cObj::addParams(), t3lib_TSparser::checkIncludeLines(), tslib_cObj::encaps_lineSplit(), SC_browse_links::init(), tslib_pibase::pi_openAtagHrefInJSwindow(), tx_indexedsearch_indexer::splitHTMLContent(), and xmlGetHeaderAttribs(). |
|
Recursively gather all files and folders of a path. Usage: 5
Definition at line 2186 of file class.t3lib_div.php. References get_dirs(), getAllFilesAndFoldersInPath(), and getFilesInDir(). |
|
Recursively gather all files and folders of a path. Usage: 5
Definition at line 2186 of file class.t3lib_div.php. References get_dirs(), and getFilesInDir(). Referenced by t3lib_TCEforms::addSelectOptionsToItemArray(), getAllFilesAndFoldersInPath(), SC_mod_tools_em_index::getClassIndexLocallangFiles(), SC_mod_tools_em_index::getFileListOfExtension(), SC_mod_tools_em_index::makeUploadArray(), and SC_mod_tools_em_index::removeExtDirectory(). |
|
Returns the absolute filename of a relative reference, resolves the "EXT:" prefix (way of referring to files inside extensions) and checks that the file is inside the PATH_site of the TYPO3 installation and implies a check with t3lib_div::validPathStr(). Returns false if checks failed. Does not check if the file exists. Usage: 24
Definition at line 2786 of file class.t3lib_div.php. References t3lib_extMgm::extPath(), isAbsPath(), isFirstPartOfStr(), t3lib_extMgm::isLoaded(), and validPathStr(). |
|
Returns the absolute filename of a relative reference, resolves the "EXT:" prefix (way of referring to files inside extensions) and checks that the file is inside the PATH_site of the TYPO3 installation and implies a check with t3lib_div::validPathStr(). Returns false if checks failed. Does not check if the file exists. Usage: 24
Definition at line 2786 of file class.t3lib_div.php. References t3lib_extMgm::extPath(), isAbsPath(), isFirstPartOfStr(), t3lib_extMgm::isLoaded(), and validPathStr(). Referenced by t3lib_TCEforms::addSelectOptionsToItemArray(), callUserFunction(), t3lib_TSparser::checkIncludeLines(), t3lib_BEfunc::getFlexFormDS(), t3lib_TCEforms::getIcon(), t3lib_TCEforms::getSingleField_typeGroup(), getUserObj(), SC_mod_tools_log_index::importData(), SC_wizard_colorpicker::init(), t3lib_cs::initCaseFolding(), t3lib_cs::initCharset(), t3lib_recordList::initializeLanguages(), t3lib_cs::initToASCII(), t3lib_cs::initUnicodeData(), tx_tstemplateinfo::main(), SC_view_help::make_seeAlso(), SC_index::makeLoginBoxImage(), tslib_fe::pageNotFoundHandler(), SC_view_help::printImage(), language::readLLfile(), language::readLLXMLfile(), tx_cssstyledcontent_pi1::render_uploads(), t3lib_TCEforms::renderWizards(), resolveSheetDefInDS(), and t3lib_parsehtml_proc::TS_images_db(). |
|
Returns an array with the names of files in a specific path Usage: 18
Definition at line 2132 of file class.t3lib_div.php. |
|
Returns an array with the names of files in a specific path Usage: 18
Definition at line 2132 of file class.t3lib_div.php. Referenced by tx_install::checkTheDatabase(), SC_rte_select_image::expandFolder(), SC_browse_links::expandFolder(), SC_mod_tools_dbint_index::findFile(), getAllFilesAndFoldersInPath(), SC_mod_tools_em_index::getInstExtList(), SC_mod_tools_log_index::importData(), SC_rte_user::main_user(), SC_index::makeLoginBoxImage(), tx_install::stepOutput(), SC_browse_links::TBE_dragNDrop(), SC_browse_links::TBE_expandFolder(), tx_install::typo3conf_edit(), and tx_install::typo3TempManager(). |
|
Abstraction method which returns System Environment Variables regardless of server OS, CGI/MODULE version etc. Basically this is SERVER variables for most of them. This should be used instead of getEnv() and $_SERVER/ENV_VARS to get reliable values for all situations. Usage: 221
Definition at line 2498 of file class.t3lib_div.php. References getIndpEnv(). |
|
Abstraction method which returns System Environment Variables regardless of server OS, CGI/MODULE version etc. Basically this is SERVER variables for most of them. This should be used instead of getEnv() and $_SERVER/ENV_VARS to get reliable values for all situations. Usage: 221
Definition at line 2498 of file class.t3lib_div.php. References getIndpEnv(). |
|
Abstraction method which returns System Environment Variables regardless of server OS, CGI/MODULE version etc. Basically this is SERVER variables for most of them. This should be used instead of getEnv() and HTTP_SERVER_VARS/ENV_VARS to get reliable values for all situations. Usage: 226
Definition at line 41 of file incfile.php. Referenced by alt_menu_functions::adminFunctions(), tslib_fe::beLoginLinkIPList(), t3lib_userAuth::check_authentication(), tslib_fe::checkAlternativeIdMethods(), t3lib_tsfeBeUserAuth::checkBackendAccessSettingsFromInitPhp(), tslib_fe::checkDataSubmission(), tslib_fe::checkJumpUrl(), t3lib_beUserAuth::checkLockToIP(), tx_install::checkPassword(), clientInfo(), clickMenu::DB_db_list(), tslib_cObj::editIcons(), t3lib_BEfunc::editOnClick(), tslib_cObj::editPanelLinkWrap(), tslib_cObj::editPanelLinkWrap_doWrap(), t3lib_beUserAuth::emailAtLogin(), SC_browse_links::fileList(), tslib_fe::findDomainRecord(), SC_alt_main::generateJScode(), tslib_fe::getConfigArray(), tslib_cObj::getData(), tx_systodos::getEditRedirectUrlForReference(), t3lib_matchCondition::getGP_ENV_TSFE(), getIndpEnv(), t3lib_BEfunc::getPathType_web_nonweb(), tx_cms_layout::getTable_tt_content(), getThisUrl(), t3lib_parsehtml::HTMLcleaner(), SC_rte_user::init(), SC_rte_cleaner::init(), SC_rte_rte::init(), SC_browse_links::init(), user_feAdmin::init(), t3lib_basicFileFunctions::init(), t3lib_userAuth::ipLockClause_remoteIPNumber(), template::issueCommand(), tx_cms_layout::languageSelector(), tx_indexedsearch::linkPage(), linkThisScript(), fileList::linkWrapFile(), locationHeaderUrl(), mod_web_dmail::mailModule_main(), SC_wizard_list::main(), SC_wizard_add::main(), SC_tce_file::main(), SC_tce_db::main(), tx_indexedsearch::main(), SC_db_list::main(), SC_alt_file_navframe::main(), SC_alt_db_navframe::main(), SC_mod_web_view_index::main(), makeRedirectUrl(), localRecordList::makeReturnUrl(), SC_mod_tools_em_index::makeReturnUrl(), template::makeShortcutIcon(), t3lib_matchCondition::match(), tslib_cObj::netprintApplication_offsiteLinkWrap(), tx_cms_layout::newContentElementOnClick(), t3lib_positionMap::onClickInsertRecord(), TSpagegen::pagegenInit(), tslib_fe::pageNotFoundHandler(), template::parseTime(), tx_install::phpinformation(), tslib_pibase::pi_getEditIcon(), tslib_fe::prefixLocalAnchorsWithScript(), SC_rte_select_image::preinit(), SC_alt_doc::preInit(), freesite_admin::previewData(), tslib_fe::printError(), SC_alt_doc::processData(), TSpagegen::renderContentWithHeader(), SC_db_layout::renderQuickEdit(), mod_user_task::sendEmail(), SC_alt_doc::setDocument(), tslib_fe::setIDfromArgV(), freesite_admin::setNoDomainUrl(), t3lib_parsehtml_proc::siteUrl(), t3lib_formmail::start(), tslib_fe::statistics(), tx_tipafriend::tipform(), tx_tipafriend::tiplink(), t3lib_beUserAuth::trackBeUser(), tx_cms_layout::tt_content_drawHeader(), mod_web_dmail::updatePageTS(), t3lib_BEfunc::viewOnClick(), template::viewPageIcon(), t3lib_userAuthGroup::writelog(), and tx_indexedsearch::writeSearchStat(). |
|
Returns the HOST+DIR-PATH of the current script (The URL, but without 'http://' and without script-filename) Usage: 1
Definition at line 2433 of file class.t3lib_div.php. References dirname(), and getIndpEnv(). |
|
Returns the HOST+DIR-PATH of the current script (The URL, but without 'http://' and without script-filename) Usage: 1
Definition at line 2433 of file class.t3lib_div.php. References dirname(), and getIndpEnv(). |
|
Reads the file or url $url and returns the content If you are having trouble with proxys when reading URLs you can configure your way out of that with settings like $TYPO3_CONF_VARS['SYS']['curlUse'] etc. Usage: 83
Definition at line 1977 of file class.t3lib_div.php. |
|
Reads the file or url $url and returns the content If you are having trouble with proxys when reading URLs you can configure your way out of that with settings like $TYPO3_CONF_VARS['SYS']['curlUse'] etc. Usage: 83
Definition at line 1977 of file class.t3lib_div.php. Referenced by t3lib_stdGraphic::cacheImageDimensions(), mod_web_dmail::cmd_fetch(), freesite_admin::createdOutput(), freesite_admin::enteringData(), t3lib_stdGraphic::getCachedImageDimensions(), t3lib_parsehtml_proc::getURL(), and freesite_admin::printSelect(). |
|
Creates and returns reference to a user defined object. This function can return an object reference if you like. Just prefix the function call with "&": "$objRef = &t3lib_div::getUserObj('EXT:myext/class.tx_myext_myclass.php:&tx_myext_myclass');". This will work ONLY if you prefix the class name with "&" as well. See description of function arguments. Usage: 5
Definition at line 3170 of file class.t3lib_div.php. References getFileAbsFileName(), isFirstPartOfStr(), makeInstance(), and revExplode(). |
|
Creates and returns reference to a user defined object. This function can return an object reference if you like. Just prefix the function call with "&": "$objRef = &t3lib_div::getUserObj('EXT:myext/class.tx_myext_myclass.php:&tx_myext_myclass');". This will work ONLY if you prefix the class name with "&" as well. See description of function arguments. Usage: 5
Definition at line 3170 of file class.t3lib_div.php. References getFileAbsFileName(), isFirstPartOfStr(), makeInstance(), and revExplode(). Referenced by tslib_fe::generatePage_postProcessing(), tx_wizardcrpages_webfunc_2::main(), t3lib_TCEmain::process_datamap(), tslib_fe::realPageCacheContent(), t3lib_parsehtml_proc::RTE_transform(), t3lib_BEfunc::RTEgetObj(), and tslib_fe::sendFormmail(). |
|
Compressing a GIF file if not already LZW compressed This function is a workaround for the fact that ImageMagick and/or GD does not compress GIF-files to their minimun size (that is RLE or no compression used) The function takes a file-reference, $theFile, and saves it again through GD or ImageMagick in order to compress the file GIF: If $type is not set, the compression is done with ImageMagick (provided that $GLOBALS['TYPO3_CONF_VARS']['GFX']['im_path_lzw'] is pointing to the path of a lzw-enabled version of 'convert') else with GD (should be RLE-enabled!) If $type is set to either 'IM' or 'GD' the compression is done with ImageMagick and GD respectively PNG: No changes. $theFile is expected to be a valid GIF-file! The function returns a code for the operation. Usage: 9
Definition at line 374 of file class.t3lib_div.php. References gif_compress(). |
|
Compressing a GIF file if not already LZW compressed This function is a workaround for the fact that ImageMagick and/or GD does not compress GIF-files to their minimun size (that is RLE or no compression used) The function takes a file-reference, $theFile, and saves it again through GD or ImageMagick in order to compress the file GIF: If $type is not set, the compression is done with ImageMagick (provided that $GLOBALS['TYPO3_CONF_VARS']['GFX']['im_path_lzw'] is pointing to the path of a lzw-enabled version of 'convert') else with GD (should be RLE-enabled!) If $type is set to either 'IM' or 'GD' the compression is done with ImageMagick and GD respectively PNG: No changes. $theFile is expected to be a valid GIF-file! The function returns a code for the operation. Usage: 9
Definition at line 374 of file class.t3lib_div.php. Referenced by tx_install::checkTheImageProcessing(), gif_compress(), t3lib_stdGraphic::imageMagickConvert(), t3lib_iconWorks::makeIcon(), and t3lib_stdGraphic::output(). |
|
Returns the GET/POST global arrays merged with POST taking precedence. Usage: 1
Definition at line 330 of file class.t3lib_div.php. References array_merge_recursive_overrule(), and stripSlashesOnArray(). |
|
Returns the GET/POST global arrays merged with POST taking precedence. Usage: 1
Definition at line 330 of file class.t3lib_div.php. References array_merge_recursive_overrule(), and stripSlashesOnArray(). Referenced by tslib_pibase::tslib_pibase(). |
|
GET/POST variable Returns the 'GLOBAL' value of incoming data from POST or GET, with priority to POST (that is equalent to 'GP' order) Strips slashes of string-outputs, but not arrays UNLESS $strip is set. If $strip is set all output will have escaped characters unescaped. Usage: 2
Definition at line 313 of file class.t3lib_div.php. References stripSlashesOnArray(). |
|
GET/POST variable Returns the 'GLOBAL' value of incoming data from POST or GET, with priority to POST (that is equalent to 'GP' order) Strips slashes of string-outputs, but not arrays UNLESS $strip is set. If $strip is set all output will have escaped characters unescaped. Usage: 2
Definition at line 313 of file class.t3lib_div.php. References stripSlashesOnArray(). |
|
Inverse version of htmlspecialchars() Usage: 4
Definition at line 1056 of file class.t3lib_div.php. |
|
Inverse version of htmlspecialchars() Usage: 4
Definition at line 1056 of file class.t3lib_div.php. Referenced by tx_indexedsearch_indexer::extractLinks(), t3lib_parsehtml::get_tag_attributes(), SC_alt_doc::makeDocSel(), and user_plaintext::parseBody(). |
|
Implodes a multidim-array into GET-parameters (eg. ¶m[key][key2]=value2¶m[key][key3]=value3) Usage: 24
Definition at line 1284 of file class.t3lib_div.php. |
|
Implodes a multidim-array into GET-parameters (eg. ¶m[key][key2]=value2¶m[key][key3]=value3) Usage: 24
Definition at line 1284 of file class.t3lib_div.php. Referenced by SC_alt_doc::compileStoreDat(), SC_alt_doc::functionMenus(), t3lib_BEfunc::getFuncCheck(), t3lib_BEfunc::getFuncInput(), t3lib_BEfunc::getFuncMenu(), template::getTabMenu(), SC_browse_links::init(), SC_alt_doc::init(), tx_cms_layout::linkRTEbutton(), linkThisScript(), linkThisUrl(), tslib_fe::makeCacheHash(), template::makeShortcutUrl(), tx_indexedsearch_modfunc1::printPhashRow(), SC_alt_doc::processData(), SC_db_layout::renderQuickEdit(), and t3lib_TCEforms::renderWizards(). |
|
Implodes attributes in the array $arr for an attribute list in eg. and HTML tag (with quotes) Usage: 14
Definition at line 1556 of file class.t3lib_div.php. |
|
Implodes attributes in the array $arr for an attribute list in eg. and HTML tag (with quotes) Usage: 14
Definition at line 1556 of file class.t3lib_div.php. Referenced by tslib_cObj::addParams(), tslib_cObj::encaps_lineSplit(), implodeParams(), TSpagegen::renderContentWithHeader(), t3lib_parsehtml_proc::TS_images_db(), and t3lib_parsehtml_proc::TS_images_rte(). |
|
Implodes attributes in the array $arr for an attribute list in eg. and HTML tag (with quotes)
Definition at line 1583 of file class.t3lib_div.php. References implodeAttributes(). |
|
Implodes attributes in the array $arr for an attribute list in eg. and HTML tag (with quotes)
Definition at line 1583 of file class.t3lib_div.php. References implodeAttributes(). |
|
Check if an item exists in an array Please note that the order of parameters is reverse compared to the php4-function in_array()!!! Usage: 3
Definition at line 1166 of file class.t3lib_div.php. |
|
Check if an item exists in an array Please note that the order of parameters is reverse compared to the php4-function in_array()!!! Usage: 3
Definition at line 1166 of file class.t3lib_div.php. Referenced by t3lib_BEfunc::blindGroupNames(), and tslib_menu::filterMenuPages(). |
|
Check for item in list Check if an item exists in a comma-separated list of items. Usage: 163
Definition at line 655 of file class.t3lib_div.php. |
|
Check for item in list Check if an item exists in a comma-separated list of items. Usage: 163
Definition at line 655 of file class.t3lib_div.php. Referenced by tslib_cObj::_parseFunc(), tx_kickstarter_wizard::add_cat_tables(), t3lib_treeView::addField(), t3lib_TCEforms::addSelectOptionsToItemArray(), t3lib_extMgm::addToAllTCAtypes(), t3lib_BEfunc::blindUserNames(), tslib_fe::cHashParams(), tslib_cObj::checkIf(), t3lib_TCEmain::checkModifyAccessList(), tx_install::checkTheDatabase(), t3lib_TCEmain::checkValue(), tx_kickstarter_wizard::cleanUpFieldName(), mod_web_dmail::cmd_displayMailGroup(), t3lib_sqlparser::compileWhereClause(), t3lib_htmlmail::constructHTML_media(), t3lib_TCEmain::copyPages(), t3lib_TCEmain::copyRecord(), t3lib_TCEmain::copyRecord_localize(), mod_web_dmail::createDMail(), tslib_cObj::DBgetInsert(), tslib_cObj::DBgetUpdate(), tslib_cObj::DBmayFEUserEdit(), tx_install::displaySuggestions(), clickMenu::enableDisableItems(), user_feAdmin::evalValues(), SC_browse_links::expandPage(), t3lib_tsparser_ext::ext_getObjTree(), t3lib_tsparser_ext::ext_procesInput(), SC_mod_tools_em_index::extDelete(), SC_mod_tools_em_index::extensionListRow(), SC_mod_tools_em_index::extInformationArray(), tx_kickstarter_compilefiles::fieldIsRTE(), tslib_cObj::filelink(), SC_browse_links::fileList(), tslib_cObj::filelist(), tslib_cObj::fileResource(), tslib_menu::filterMenuPages(), t3lib_TCEforms::foreignTable(), t3lib_extFileFunctions::func_edit(), SC_mod_tools_dbint_index::func_filesearch(), t3lib_extFileFunctions::func_newfile(), SC_mod_tools_dbint_index::func_records(), recordList::generateList(), t3lib_install::getDatabaseExtra(), t3lib_TCEmain::getExcludeListArray(), SC_mod_tools_em_index::getFileListOfExtension(), SC_wizard_forms::getFormHTML(), t3lib_stdGraphic::getImageDimensions(), tslib_cObj::getImgResource(), tx_ttproducts::getLinkUrl(), tx_ttnews::getLinkUrl(), t3lib_BEfunc::getModuleData(), tx_ttboard::getPagesInPage(), t3lib_BEfunc::getProcessedValue(), t3lib_TCEforms::getSingleField(), t3lib_TCEforms::getSingleField_typeSelect(), localRecordList::getTable(), tx_cms_layout::getTableMenu(), t3lib_userAuth::hashLockClause_getHashInt(), tslib_cObj::HMENU(), t3lib_stdGraphic::imageMagickConvert(), tx_kickstarter_compilefiles::implodeColumns(), t3lib_TStemplate::includeStaticTypoScriptSources(), t3lib_basicFileFunctions::is_allowed(), t3lib_TCEforms::isDisplayCondition(), tx_install::isExtensionEnabled(), fileList::isImage(), tslib_menu::isSubMenu(), SC_db_new::isTableAllowedForThisPage(), tx_kickstarter_wizard::linkCurrentItems(), recordList::listURL(), TBE_browser_recordList::listURL(), tx_wizardsortpages_webfunc_2::main(), SC_file_edit::main(), tx_tstemplateinfo::main(), mod_web_dmail::main(), SC_tslib_showpic::main(), SC_t3lib_thumbs::main(), SC_mod_tools_em_index::main(), tx_kickstarter_compilefiles::makeFieldTCA(), tslib_menu::makeMenu(), SC_mod_tools_em_index::makeUploadArray(), t3lib_matchCondition::match(), SC_db_layout::menuConfig(), tx_version_cm1::moduleContent(), tslib_cObj::MULTIMEDIA(), tslib_pibase::pi_list_query(), t3lib_clipboard::printContentFromTab(), clickMenu::printFileClickMenu(), tx_tstemplateinfo::procesResources(), tslib_cObj::processParams(), t3lib_TStemplate::processTemplate(), fileList::readDirectory(), tx_tstemplatestyler_modfunc1::readStylesheets(), transferData::regItem(), user_feAdmin::removeRequired(), tx_kickstarter_compilefiles::renderExtPart_fields(), tx_sysmessages::renderMessages(), tx_tstemplateinfo::resourceListForCopy(), SC_mod_tools_em_index::showExtDetails(), tx_kickstarter_wizard::sidemenu(), t3lib_stdGraphic::splitString(), tslib_menu::start(), t3lib_formmail::start(), tslib_fe::statistics(), SC_mod_tools_log_index::tableSelector(), SC_browse_links::TBE_dragNDrop(), t3lib_BEfunc::thumbCode(), t3lib_parsehtml_proc::TS_images_db(), t3lib_parsehtml_proc::TS_links_rte(), t3lib_parsehtml_proc::TS_transform_rte(), tslib_cObj::typoLink(), t3lib_tsparser_ext::upload_copy_file(), tx_kickstarter_wizard::view_result(), and tx_tstemplatestyler_modfunc1::writeStyleContent(). |
|
Returns an integer from a three part version number, eg '4.12.3' -> 4012003 Usage: 2
Definition at line 714 of file class.t3lib_div.php. |
|
Returns an integer from a three part version number, eg '4.12.3' -> 4012003 Usage: 2
Definition at line 714 of file class.t3lib_div.php. |
|
Explodes a $string delimited by $delim and passes each item in the array through intval(). Corresponds to explode(), but with conversion to integers for all values. Usage: 76
Definition at line 1183 of file class.t3lib_div.php. |
|
Explodes a $string delimited by $delim and passes each item in the array through intval(). Corresponds to explode(), but with conversion to integers for all values. Usage: 76
Definition at line 1183 of file class.t3lib_div.php. Referenced by t3lib_stdGraphic::adjust(), t3lib_stdGraphic::calcTextCordsForMap(), t3lib_queryGenerator::cleanInputVal(), t3lib_DB::cleanIntList(), mod_web_dmail::cmd_compileMailGroup(), mod_web_dmail::cmd_testmail(), t3lib_stdGraphic::copyGifOntoGif(), t3lib_stdGraphic::crop(), tslib_cObj::DBmayFEUserEditSelect(), tx_indexedsearch::execFinalQuery(), localPageTree::ext_tree(), tslib_gmenu_foldout::extProc_finish(), tslib_tmenu_layers::extProc_init(), tslib_gmenu_layers::extProc_init(), tslib_feUserAuth::fetchGroupData(), tx_sysaction::fixUserGroup(), mod_web_dmail::getMailGroups(), tslib_fe::getPageShortcut(), tx_ttboard::getPagesInPage(), tslib_cObj::getWhere(), tslib_cObj::imageLinkWrap(), t3lib_stdGraphic::IMparams(), t3lib_TStemplate::includeStaticTypoScriptSources(), SC_db_new_content_el::main(), SC_db_layout::main(), SC_move_el::main(), tx_indexedsearch::main(), tx_ttboard::main_board(), tx_ttguest::main_guestbook(), tx_ttnews::main_news(), tx_ttrating::main_rating(), t3lib_stdGraphic::makeBox(), t3lib_stdGraphic::makeEmboss(), tslib_imgmenu::makeImageMap(), tslib_menu::makeMenu(), t3lib_queryGenerator::makeSelectorTable(), t3lib_stdGraphic::makeShadow(), t3lib_stdGraphic::objPosition(), TSpagegen::pagegenInit(), t3lib_TStemplate::processTemplate(), SC_db_layout::renderListContent(), t3lib_TCEforms::renderWizards(), tx_indexedsearch::sectionTableWhere(), tx_ttproducts::setBasketExtras(), tslib_fe::settingLanguage(), t3lib_stdGraphic::setWorkArea(), t3lib_stdGraphic::splitString(), tslib_menu::start(), tslib_gifBuilder::start(), tslib_controlTable::start(), tslib_tableOffset::start(), tslib_cObj::substring(), tx_systodos::todos_createForm(), tx_systodos::todos_printStatus(), and t3lib_stdGraphic::txtPosition(). |
|
Forces the integer $theInt into the boundaries of $min and $max. If the $theInt is 'false' then the $zeroValue is applied. Usage: 224
Definition at line 685 of file class.t3lib_div.php. |
|
Forces the integer $theInt into the boundaries of $min and $max. If the $theInt is 'false' then the $zeroValue is applied. Usage: 224
Definition at line 685 of file class.t3lib_div.php. Referenced by t3lib_TCEforms::addSelectOptionsToItemArray(), tx_indexedsearch_indexer::bodyDescription(), user_plaintext::breakBulletlist(), t3lib_stdGraphic::calcBBox(), tx_install::checkTheDatabase(), tslib_cObj::COLUMNS(), t3lib_stdGraphic::convertColor(), t3lib_stdGraphic::copyGifOntoGif(), tx_ttproducts::createOrder(), t3lib_TCEforms::dbFileIcons(), recordHistory::displayHistory(), t3lib_dmailer::dmailer_prepare(), tx_indexedsearch::doSearch(), tslib_cObj::editPanelPreviewBorder(), t3lib_tsparser_ext::ext_procesInput(), tslib_tmenu_layers::extProc_beforeLinking(), tslib_gmenu_layers::extProc_beforeLinking(), tslib_gmenu_foldout::extProc_finish(), tx_indexedsearch_indexer::fileContentParts(), tslib_cObj::FORM(), tx_install::formatImCmds(), t3lib_TStemplate::generateConfig(), tslib_fe::getConfigArray(), t3lib_TCEforms::getExcludeElements(), tx_ttnews::getItemMarkerArray(), tslib_cObj::getQuery(), t3lib_TCEforms::getSingleField_typeGroup(), t3lib_TCEforms::getSingleField_typeInput(), t3lib_TCEforms::getSingleField_typeNone_render(), t3lib_TCEforms::getSingleField_typeSelect_multiple(), t3lib_TCEforms::getSingleField_typeSelect_singlebox(), t3lib_TCEforms::getSingleField_typeText(), tslib_cObj::HRULER(), t3lib_parsehtml::HTMLcleaner(), tslib_cObj::IMGTEXT(), t3lib_stdGraphic::IMparams(), SC_tce_db::init(), SC_alt_clickmenu::init(), tx_ttproducts::initBasket(), tx_indexedsearch_indexer::initExternalReaders(), t3lib_clipboard::initializeClipboard(), SC_alt_db_navframe::initializeTemporaryDBmount(), t3lib_stdGraphic::inputLevels(), t3lib_userAuth::ipLockClause_remoteIPNumber(), SC_rte_select_image::magicProcess(), SC_file_upload::main(), SC_file_newfolder::main(), SC_file_list::main(), SC_db_list::main(), SC_alt_mod_frameset::main(), SC_tslib_showpic::main(), SC_t3lib_thumbs::main(), SC_mod_file_images_index::main(), tx_ttnews::main_news(), tx_ttproducts::main_products(), user_wapversion::main_wapversion(), tx_kickstarter_compilefiles::makeFieldTCA(), tslib_menu::makeMenu(), t3lib_stdGraphic::makeOutline(), tx_indexedsearch::makePointerSelector(), tx_indexedsearch::makeRating(), t3lib_stdGraphic::makeShadow(), modifyHTMLColor(), tx_ttnews::news_list(), t3lib_TCEforms::optionTagStyle(), t3lib_stdGraphic::output(), t3lib_stdGraphic::outputLevels(), user_plaintext::pad(), TSpagegen::pagegenInit(), user_feAdmin::parseValues(), tslib_pibase::pi_getPidList(), tx_indexedsearch::pi_list_browseresults(), tslib_pibase::pi_list_browseresults(), tslib_pibase::pi_list_query(), t3lib_positionMap::printRecordMap(), t3lib_TCEmain::process_cmdmap(), t3lib_sqlengine::processAccordingToConfig(), tx_ttproducts::products_display(), tx_cssstyledcontent_pi1::render_table(), tx_sysaction::renderActions(), user_plaintext::renderHeader(), SC_db_layout::renderListContent(), tx_sysmessages::renderMessages(), t3lib_TCEforms::renderWizards(), tslib_cObj::SEARCHRESULT(), t3lib_TCEmain::setHistory(), recordList::start(), tslib_gifBuilder::start(), t3lib_userAuth::start(), t3lib_formmail::start(), SC_mod_user_setup_index::storeIncomingData(), mod_web_dmail::storeRecRec(), tx_install::suggestFieldDefinition(), t3lib_parsehtml_proc::TS_transform_rte(), t3lib_stdGraphic::v5_blur(), and t3lib_stdGraphic::v5_sharpen(). |
|
Returns the $integer if greater than zero, otherwise returns zero. Usage: 1
Definition at line 701 of file class.t3lib_div.php. |
|
Returns the $integer if greater than zero, otherwise returns zero. Usage: 1
Definition at line 701 of file class.t3lib_div.php. Referenced by user_feAdmin::evalValues(). |
|
Checks if the $path is absolute or relative (detecting either '/' or 'x:/' as first part of string) and returns true if so. Usage: 8
Definition at line 2833 of file class.t3lib_div.php. |
|
Checks if the $path is absolute or relative (detecting either '/' or 'x:/' as first part of string) and returns true if so. Usage: 8
Definition at line 2833 of file class.t3lib_div.php. Referenced by tslib_cObj::clean_directory(), getFileAbsFileName(), isAllowedAbsPath(), loadTCA(), alt_menu_functions::mIconFile(), alt_menu_functions::mIconFilename(), SC_alt_shortcut::mIconFilename(), and t3lib_stdGraphic::prependAbsolutePath(). |
|
Returns true if the path is absolute, without backpath '..' and within the PATH_site OR within the lockRootPath Usage: 5
Definition at line 2844 of file class.t3lib_div.php. References isAbsPath(), isFirstPartOfStr(), and validPathStr(). |
|
Returns true if the path is absolute, without backpath '..' and within the PATH_site OR within the lockRootPath Usage: 5
Definition at line 2844 of file class.t3lib_div.php. References isAbsPath(), isFirstPartOfStr(), and validPathStr(). Referenced by tslib_fe::getConfigArray(), SC_show_item::init(), SC_t3lib_thumbs::init(), t3lib_clipboard::printContentFromTab(), and clickMenu::printFileClickMenu(). |
|
Returns true if the first part of $str matches the string $partStr Usage: 59
Definition at line 903 of file class.t3lib_div.php. |
|
Returns true if the first part of $str matches the string $partStr Usage: 59
Definition at line 903 of file class.t3lib_div.php. Referenced by tx_sysaction::action_getUserMainDir(), t3lib_userAuthGroup::addFileMount(), tslib_cObj::callUserFunction(), callUserFunction(), t3lib_basicFileFunctions::checkPathAgainstMounts(), freesite_admin::createDirs(), SC_browse_links::createFolder(), t3lib_stdGraphic::createTempSubDir(), SC_rte_rte::filterStyleEl(), tx_ttproducts::finalizeOrder(), t3lib_extFileFunctions::func_copy(), t3lib_extFileFunctions::func_move(), SC_mod_tools_em_index::getClassIndexLocallangFiles(), getFileAbsFileName(), tx_tstemplatestyler_modfunc1::getFileName(), t3lib_BEfunc::getPathType_web_nonweb(), getUserObj(), t3lib_parsehtml::HTMLcleaner(), t3lib_basicFileFunctions::is_webpath(), isAllowedAbsPath(), SC_browse_links::isWebFolder(), fileList::linkWrapFile(), SC_mod_tools_em_index::makeDetailedExtensionAnalysis(), t3lib_matchCondition::match(), tslib_fe::pageNotFoundHandler(), SC_browse_links::parseCurUrl(), SC_mod_tools_em_index::removeExtDirectory(), removePrefixPathFromList(), SC_view_help::render_TOC(), SC_show_item::renderFileInfo(), SC_mod_tools_em_index::showExtDetails(), tslib_fe::statistics(), t3lib_parsehtml_proc::TS_images_db(), tx_install::typo3conf_edit(), unlink_tempfile(), tx_impexp::unlinkTempFiles(), SC_rte_select_image::uploadForm(), SC_browse_links::uploadForm(), writeFileToTypo3tempDir(), and tx_tstemplatestyler_modfunc1::writeResourceFile(). |
|
Returns the link-url to the current script. In $getParams you can set associative keys corresponding to the GET-vars you wish to add to the URL. If you set them empty, they will remove existing GET-vars from the current URL. REMEMBER to always htmlspecialchar() content in href-properties to ampersands get converted to entities (XHTML requirement and XSS precaution) Usage: 52
Definition at line 2449 of file class.t3lib_div.php. References _GET(), getIndpEnv(), and implodeArrayForUrl(). |
|
Returns the link-url to the current script. In $getParams you can set associative keys corresponding to the GET-vars you wish to add to the URL. If you set them empty, they will remove existing GET-vars from the current URL. REMEMBER to always htmlspecialchar() content in href-properties to ampersands get converted to entities (XHTML requirement and XSS precaution) Usage: 52
Definition at line 2449 of file class.t3lib_div.php. References _GET(), getIndpEnv(), and implodeArrayForUrl(). Referenced by t3lib_clipboard::deleteUrl(), ext_posMap_tt_content::linkPageTitle(), ext_posMap_pages::linkPageTitle(), tx_cms_layout::linkRTEbutton(), tx_kickstarter_wizard::linkThisCmd(), SC_db_layout::local_linkThisScript(), tx_extrapagecmoptions::main(), t3lib_clipboard::pasteUrl(), t3lib_clipboard::printClipboard(), template::redirectUrls(), t3lib_clipboard::removeUrl(), t3lib_clipboard::selUrlDB(), t3lib_clipboard::selUrlFile(), SC_alt_doc::shortCutLink(), SC_mod_tools_em_index::showExtDetails(), t3lib_TCEforms::thisReturnUrl(), and SC_mod_tools_em_index::updatesForm(). |
|
Takes a full URL, $url, possibly with a querystring and overlays the $getParams arrays values onto the quirystring, packs it all together and returns the URL again. So basically it adds the parameters in $getParams to an existing URL, $url Usage: 2
Definition at line 2473 of file class.t3lib_div.php. References array_merge_recursive_overrule(), and implodeArrayForUrl(). |
|
Takes a full URL, $url, possibly with a querystring and overlays the $getParams arrays values onto the quirystring, packs it all together and returns the URL again. So basically it adds the parameters in $getParams to an existing URL, $url Usage: 2
Definition at line 2473 of file class.t3lib_div.php. References array_merge_recursive_overrule(), and implodeArrayForUrl(). |
|
Loads the $TCA (Table Configuration Array) for the $table Requirements: 1) must be configured table (the ctrl-section configured), 2) columns must not be an array (which it is always if whole table loaded), and 3) there is a value for dynamicConfigFile (filename in typo3conf) Usage: 84
Definition at line 2992 of file class.t3lib_div.php. References isAbsPath(). |
|
Loads the $TCA (Table Configuration Array) for the $table Requirements: 1) must be configured table (the ctrl-section configured), 2) columns must not be an array (which it is always if whole table loaded), and 3) there is a value for dynamicConfigFile (filename in typo3conf) Usage: 84
Definition at line 2992 of file class.t3lib_div.php. References isAbsPath(). Referenced by t3lib_extMgm::addPiFlexFormValue(), t3lib_extMgm::addPlugin(), t3lib_extMgm::addStaticFile(), t3lib_extMgm::addTCAcolumns(), t3lib_extMgm::addToAllTCAtypes(), t3lib_extMgm::addToInsertRecords(), t3lib_userAuthGroup::checkAuthMode(), t3lib_TCEmain::checkValue(), mod_web_dmail::cmd_fetch(), t3lib_TCEmain::copyRecord(), t3lib_TCEmain::copyRecord_localize(), t3lib_TCEmain::copyRecord_raw(), t3lib_admin::countRecords(), tx_cms_layout::dataFields(), user_feAdmin::deleteFilesFromRecord(), freesite_admin::displayDataForms(), local_beUserAuth::ext_printOverview(), t3lib_TCEmain::extFileFields(), t3lib_TCEmain::extFileFunctions(), t3lib_transferData::fetchRecord(), localRecordList::fieldSelectBox(), t3lib_TCEmain::fillInFieldArray(), t3lib_TCEmain::fixCopyAfterDuplFields(), t3lib_TCEmain::fixUniqueInPid(), recordList::generateList(), tslib_fe::getCompressedTCarray(), t3lib_admin::getDBFields(), t3lib_TCEforms::getDefaultRecord(), t3lib_BEfunc::getExcludeFields(), t3lib_TCEmain::getExcludeListArray(), t3lib_BEfunc::getExplicitAuthFieldValues(), t3lib_admin::getFileFields(), t3lib_admin::getGroupFields(), t3lib_BEfunc::getItemLabel(), t3lib_BEfunc::getLabelFromItemlist(), t3lib_TCEforms::getListedFields(), t3lib_TCEforms::getMainFields(), t3lib_TCEforms::getPaletteFields(), t3lib_BEfunc::getProcessedValue(), tx_impexp::getRelations(), t3lib_TCEforms::getSingleField(), t3lib_TCEforms::getSingleHiddenField(), t3lib_TCEforms::getSoloField(), tx_cms_layout::getTable(), localRecordList::getTable(), t3lib_BEfunc::getTCAtypes(), t3lib_BEfunc::getTCAtypeValue(), t3lib_TCEmain::getUnique(), tx_cms_layout::headerFields(), tx_install::includeTCA(), SC_show_item::init(), t3lib_treeView::init(), t3lib_queryGenerator::init(), t3lib_recordList::initializeLanguages(), t3lib_admin::lostRecords(), SC_wizard_edit::main(), tx_tstemplateinfo::main(), SC_mod_tools_config_index::main(), SC_view_help::make_seeAlso(), localRecordList::makeControl(), SC_mod_tools_em_index::makeDetailedExtensionAnalysis(), recordList::makeFieldList(), t3lib_queryGenerator::makeFieldList(), recordList::makeSearchString(), mod_web_dmail::mod_web_dmail(), tx_version_cm1::moduleContent(), t3lib_TCEmain::newFieldArray(), SC_view_help::printItem(), user_feAdmin::processFiles(), t3lib_userAuthGroup::recordEditAccessInternals(), transferData::regItem(), t3lib_TCEmain::remapListedDBRecords(), recordHistory::removeFilefields(), SC_view_help::render_Table(), tx_kickstarter_compilefiles::renderExtPart_fields(), tx_kickstarter_compilefiles::renderExtPart_PI(), SC_db_layout::renderListContent(), t3lib_transferData::renderRecord(), t3lib_transferData::renderRecordRaw(), t3lib_fullsearch::search(), t3lib_admin::selectNonEmptyRecordsWithFkeys(), recordList::showSysNotesForPage(), tslib_feTCE::start(), t3lib_BEfunc::thumbCode(), tx_cms_layout::tt_content_drawHeader(), and t3lib_admin::whereIsRecordReferenced(). |
|
Prefixes a URL used with 'header-location' with 'http://...' depending on whether it has it already.
Definition at line 2264 of file class.t3lib_div.php. References getIndpEnv(). |
|
Prefixes a URL used with 'header-location' with 'http://...' depending on whether it has it already.
Definition at line 2264 of file class.t3lib_div.php. References getIndpEnv(). Referenced by SC_index::checkRedirect(), tx_install::checkTheDatabase(), SC_alt_doc::closeDocument(), SC_tce_file::finish(), SC_tce_db::finish(), tslib_fe::getConfigArray(), SC_wizard_table::getConfigCode(), SC_wizard_forms::getConfigCode(), SC_wizard_add::init(), SC_index::init(), SC_logout::logout(), SC_wizard_list::main(), SC_wizard_edit::main(), SC_wizard_add::main(), SC_mod_help_quick_index::main(), tx_install::outputExitBasedOnStep(), tslib_fe::pageNotFoundHandler(), SC_mod_web_view_index::printContent(), tx_sysaction::renderActions(), SC_db_layout::renderQuickEdit(), recordHistory::revertToPreviousValues(), SC_alt_doc::setDocument(), SC_mod_tools_be_user_index::switchUser(), tx_systodos::todos_processIncoming(), and mod_web_dmail::updatePageTS(). |
|
Make instance of class Takes the class-extensions API of TYPO3 into account Please USE THIS instead of the PHP "new" keyword. Eg. "$obj = new myclass;" should be "$obj = t3lib_div::makeInstance("myclass")" instead! Usage: 447
Definition at line 3228 of file class.t3lib_div.php. References makeInstance(). |
|
Make instance of class Takes the class-extensions API of TYPO3 into account Please USE THIS instead of the PHP "new" keyword. Eg. "$obj = new myclass;" should be "$obj = t3lib_div::makeInstance("myclass")" instead! Usage: 447
Definition at line 3228 of file class.t3lib_div.php. Referenced by tx_sysaction::action_t1_createUpdateBeUser(), t3lib_TCEforms::addSelectOptionsToItemArray(), SC_wizard_tsconfig::browseTSprop(), callUserFunction(), SC_mod_tools_em_index::checkClearCache(), t3lib_SCbase::checkExtObj(), SC_browse_links::checkFolder(), tslib_gifBuilder::checkTextObj(), tx_install::checkTheImageProcessing(), t3lib_TCEmain::checkValue_group_select_file(), t3lib_TCEmain::checkValue_group_select_processDBdata(), SC_db_layout::clearCache(), SC_db_list::clearCache(), SC_mod_web_ts_index::clearCache(), mod_web_dmail::cmd_displayPageInfo(), mod_web_dmail::cmd_displayUserInfo(), mod_web_dmail::cmd_fetch(), mod_web_dmail::cmd_query(), mod_web_dmail::cmd_send_mail(), tslib_cObj::cObjGetSingle(), SC_mod_tools_be_user_index::compareUsers(), tslib_cObj::CONTENT(), freesite_admin::copyDummyPages(), t3lib_TCEmain::copyRecord(), t3lib_TCEmain::copyRecord_procBasedOnFieldType(), t3lib_TCEmain::copyRecord_procFilesRefs(), mod_web_dmail::createDMail(), user_feAdmin::createFileFuncObj(), SC_mod_web_ts_index::createTemplate(), tslib_cObj::CTABLE(), tslib_fe::determineId(), tslib_cObj::editPanel(), t3lib_sqlengine::exec_SELECTquery(), SC_rte_select_image::expandFolder(), SC_mod_tools_log_index::exportData(), local_beUserAuth::ext_compileUserInfoForHash(), t3lib_tsStyleConfig::ext_mergeIncomingWithExisting(), local_beUserAuth::ext_printOverview(), t3lib_tsfeBeUserAuth::extEditAction(), tx_indexedsearch_indexer::extractLinks(), tslib_fe::fe_tce(), tslib_fe::fetch_the_id(), t3lib_userAuthGroup::fetchGroupData(), SC_browse_links::fileList(), t3lib_TCEmain::fillInFieldArray(), tx_ttproducts::finalizeOrder(), SC_mod_tools_dbint_index::func_records(), SC_mod_tools_dbint_index::func_relations(), SC_mod_tools_dbint_index::func_search(), SC_mod_tools_dbint_index::func_tree(), t3lib_TStemplate::generateConfig(), t3lib_tsparser_ext::generateConfig_constants(), tslib_fe::generatePage_postProcessing(), SC_wizard_table::getConfigCode(), SC_wizard_forms::getConfigCode(), t3lib_transferData::getDataIdList(), t3lib_install::getFieldDefinitions_sqlContent_parseTypes(), tslib_cObj::getImgResource(), tx_impexp::getNewTCE(), freesite_admin::getPagesHTML(), t3lib_BEfunc::getPagesTSconfig(), SC_mod_web_perm_index::getRecursiveSelect(), SC_mod_web_modules_index::getRecursiveSelect(), tx_ttnews::getRelated(), tx_impexp::getRelations(), tslib_gifBuilder::getResource(), tx_indexedsearch::getSearchWords(), recordList::getTreeObject(), getUserObj(), tslib_feUserAuth::getUserTSconf(), t3lib_syntaxhl::highLight_DS(), t3lib_syntaxhl::highLight_FF(), tslib_cObj::HMENU(), tslib_cObj::HTMLparser_TSbridge(), tslib_cObj::imageLinkWrap(), SC_mod_tools_log_index::importData(), mod_web_dmail::importRecords(), SC_wizard_tsconfig::init(), SC_wizard_table::init(), SC_wizard_rte::init(), SC_wizard_forms::init(), SC_wizard_colorpicker::init(), SC_tce_db::init(), language::init(), SC_db_new_content_el::init(), SC_show_rechis::init(), SC_show_item::init(), SC_move_el::init(), SC_file_upload::init(), SC_file_rename::init(), SC_file_newfolder::init(), SC_file_list::init(), SC_file_edit::init(), SC_rte_user::init(), SC_rte_select_image::init(), SC_rte_cleaner::init(), SC_db_new::init(), SC_browse_links::init(), SC_alt_shortcut::init(), SC_alt_palette::init(), SC_alt_menu::init(), SC_alt_main::init(), SC_alt_intro::init(), SC_alt_file_navframe::init(), SC_alt_doc_nodoc::init(), SC_alt_doc::init(), SC_alt_db_navframe::init(), SC_alt_clickmenu::init(), SC_mod_user_setup_index::init(), SC_mod_web_perm_index::init(), SC_mod_tools_em_index::init(), SC_mod_tools_dbint_index::init(), SC_mod_tools_config_index::init(), SC_mod_tools_isearch_index::init(), SC_mod_file_images_index::init(), SC_mod_tools_be_user_index::init(), SC_mod_tools_log_index::init(), SC_tce_file::initClipboard(), SC_tce_db::initClipboard(), tslib_fe::initFEuser(), tx_tstemplatestyler_modfunc1::initialize_editor(), tx_tstemplateobjbrowser::initialize_editor(), tx_tstemplateinfo::initialize_editor(), tx_tstemplateceditor::initialize_editor(), tx_tstemplateanalyzer::initialize_editor(), freesite_admin::initialize_editor(), tx_kickstarter_modfunc1::initKickstarter(), tslib_fe::initTemplate(), SC_mod_tools_be_user_index::initUsers(), mod_web_dmail::invokeMEngine(), tx_sysaction::JScode(), SC_rte_select_image::magicProcess(), SC_wizard_edit::main(), SC_wizard_add::main(), SC_tce_file::main(), tx_wizardsortpages_webfunc_2::main(), tx_wizardcrpages_webfunc_2::main(), tx_infopagetsconfig_webinfo::main(), tx_cms_webinfo_lang::main(), tx_cms_webinfo_page::main(), SC_db_new_content_el::main(), SC_db_layout::main(), SC_show_rechis::main(), SC_move_el::main(), SC_file_list::main(), tx_tstemplateobjbrowser::main(), tx_tstemplateinfo::main(), tx_tstemplateceditor::main(), SC_rte_select_image::main(), SC_mod_user_task_overview::main(), tx_indexedsearch::main(), tx_indexedsearch_modfunc1::main(), tx_belog_webinfo::main(), SC_db_list::main(), SC_alt_topmenu_dummy::main(), SC_alt_menu_sel::main(), SC_alt_menu::main(), SC_alt_intro::main(), SC_alt_doc_nodoc::main(), SC_alt_doc::main(), SC_alt_clickmenu::main(), SC_tslib_showpic::main(), SC_mod_user_setup_index::main(), SC_mod_web_info_index::main(), SC_mod_web_func_index::main(), tx_version_cm1::main(), SC_mod_web_ts_index::main(), SC_mod_user_task_index::main(), SC_mod_web_modules_index::main(), SC_mod_tools_phpadmin_index::main(), SC_mod_tools_config_index::main(), SC_mod_tools_log_index::main(), SC_mod_file_images_index::main(), tx_ttboard::main_board(), SC_browse_links::main_db(), SC_browse_links::main_file(), tx_ttguest::main_guestbook(), tx_ttnews::main_news(), SC_browse_links::main_rte(), tslib_frameset::make(), SC_alt_doc::makeEditForm(), tslib_imgmenu::makeImageMap(), makeInstance(), makeInstanceService(), tslib_menu::makeMenu(), t3lib_TStemplate::matching(), tslib_cObj::mergeTSRef(), tx_version_cm1::moduleContent(), tslib_cObj::netprintApplication_offsiteLinkWrap(), tslib_fe::newCObj(), tx_ttnews::news_archiveMenu(), SC_mod_web_perm_index::notEdit(), SC_mod_web_ts_index::noTemplate(), tslib_cObj::OTABLE(), SC_db_new::pagesOnly(), tslib_cObj::parseFunc(), tx_tstemplatestyler_modfunc1::parseHTMLdocument(), tslib_pibase::pi_getEditPanel(), t3lib_positionMap::positionTree(), SC_alt_shortcut::preinit(), t3lib_TCEmain::printLogErrorMessages(), t3lib_extFileFunctions::printLogErrorMessages(), SC_alt_doc::processData(), clickMenu::processingByExtClassArray(), tslib_fe::processOutput(), t3lib_fullsearch::queryMaker(), tslib_cObj::RECORDS(), t3lib_TCEmain::remapListedDBRecords_procDBRefs(), SC_view_help::render_TOC(), tx_sysaction::renderActions(), TSpagegen::renderContentWithHeader(), t3lib_TCEforms::renderDefaultLanguageDiff(), recordHistory::renderEntry(), SC_show_item::renderFileInfo(), fileList_ext::renderImage(), SC_db_layout::renderListContent(), SC_db_layout::renderQuickEdit(), t3lib_transferData::renderRecord_groupProc(), t3lib_transferData::renderRecord_typesProc(), tx_tstemplateinfo::resourceListForCopy(), recordHistory::revertToPreviousValues(), t3lib_fullsearch::saveQueryInAction(), tslib_cObj::SEARCHRESULT(), t3lib_transferData::selectAddSpecial(), t3lib_admin::selectNonEmptyRecordsWithFkeys(), tslib_fe::sendFormmail(), user_feAdmin::sendHTMLMail(), tx_tipafriend::sendTip(), user_feAdmin::setCObjects(), SC_mod_user_setup_index::simulateUser(), t3lib_sqlengine::sql_query(), tslib_gifBuilder::start(), freesite_admin::startCreate(), tslib_cObj::stdWrap(), SC_mod_user_setup_index::storeIncomingData(), tslib_menu::subMenu(), tslib_cObj::TEMPLATE(), SC_mod_web_ts_index::templateMenu(), tx_systodos::todos_beginWorkflow(), tx_systodos::todos_createForm(), tx_systodos::todos_finalizeWorkflow(), t3lib_rteapi::transformContent(), t3lib_parsehtml_proc::TS_images_db(), tslib_fe::tslib_fe(), SC_mod_tools_em_index::tsStyleConfigForm(), t3lib_tsparser_ext::upload_copy_file(), t3lib_admin::whereIsRecordReferenced(), SC_db_new_content_el::wizardArray(), tx_tstemplatestyler_modfunc1::writeHTMLdocument(), tslib_tmenu::writeMenu(), and tx_tstemplatestyler_modfunc1::writeStyle(). |
|
Return classname for new instance Takes the class-extensions API of TYPO3 into account Usage: 17
Definition at line 3240 of file class.t3lib_div.php. References makeInstanceClassName(). |
|
Return classname for new instance Takes the class-extensions API of TYPO3 into account Usage: 17
Definition at line 3240 of file class.t3lib_div.php. Referenced by tslib_cObj::callUserFunction(), local_beUserAuth::ext_getReadableButNonmounted(), local_beUserAuth::ext_printOverview(), tx_ttproducts::finalizeOrder(), t3lib_fullsearch::getQueryResultCode(), SC_mod_web_modules_index::main(), user_wapversion::main_wapversion(), tx_ttnews::main_xmlnewsfeed(), user_xmlversion::main_xmlversion(), makeInstanceClassName(), user_feAdmin::sendHTMLMail(), and tx_tipafriend::sendTip(). |
|
Find the best service and check if it works. Returns object of the service class.
Definition at line 3254 of file class.t3lib_div.php. References t3lib_extMgm::deactivateService(), t3lib_extMgm::findService(), makeInstance(), trimExplode(), and view_array(). |
|
Find the best service and check if it works. Returns object of the service class.
Definition at line 3254 of file class.t3lib_div.php. References t3lib_extMgm::deactivateService(), t3lib_extMgm::findService(), makeInstance(), trimExplode(), and view_array(). |
|
Subfunction for substUrlsInPlainText() above. Usage: 2
Definition at line 3436 of file class.t3lib_div.php. References getIndpEnv(). |
|
Subfunction for substUrlsInPlainText() above. Usage: 2
Definition at line 3436 of file class.t3lib_div.php. References getIndpEnv(). Referenced by substUrlsInPlainText(). |
|
Makes a positive integer hash out of the first 7 chars from the md5 hash of the input Usage: 5
Definition at line 726 of file class.t3lib_div.php. |
|
Makes a positive integer hash out of the first 7 chars from the md5 hash of the input Usage: 5
Definition at line 726 of file class.t3lib_div.php. Referenced by t3lib_TStemplate::getCurrentPageData(), t3lib_userAuth::hashLockClause_getHashInt(), and t3lib_TStemplate::start(). |
|
milliseconds microtime recalculated to t3lib_div::milliseconds(1/1000 sec) Usage: 20
Definition at line 2687 of file class.t3lib_div.php. |
|
milliseconds microtime recalculated to t3lib_div::milliseconds(1/1000 sec) Usage: 20
Definition at line 2687 of file class.t3lib_div.php. Referenced by t3lib_dmailer::dmailer_masssend(), tx_indexedsearch::doSearch(), SC_mod_tools_em_index::fetchServerData(), tx_indexedsearch_indexer::indexRegularDocument(), tx_indexedsearch_indexer::indexTypo3PageContent(), t3lib_dmailer::runcron(), and t3lib_dmailer::shipOfMail(). |
|
Wrapper function for mkdir, setting folder permissions according to $GLOBALS['TYPO3_CONF_VARS']['BE']['folderCreateMask'] and group ownership according to $GLOBALS['TYPO3_CONF_VARS']['BE']['createGroup'] Usage: 6
Definition at line 2087 of file class.t3lib_div.php. |
|
Wrapper function for mkdir, setting folder permissions according to $GLOBALS['TYPO3_CONF_VARS']['BE']['folderCreateMask'] and group ownership according to $GLOBALS['TYPO3_CONF_VARS']['BE']['createGroup'] Usage: 6
Definition at line 2087 of file class.t3lib_div.php. Referenced by SC_mod_tools_em_index::checkUploadFolder(), SC_mod_tools_em_index::clearAndMakeExtensionDir(), SC_mod_tools_em_index::createDirsInPath(), t3lib_stdGraphic::createTempSubDir(), t3lib_extFileFunctions::func_newfolder(), and writeFileToTypo3tempDir(). |
|
Modifies a HTML Hex color by adding/subtracting $R,$G and $B integers Usage: 11
Definition at line 819 of file class.t3lib_div.php. References intInRange(). |
|
Modifies a HTML Hex color by adding/subtracting $R,$G and $B integers Usage: 11
Definition at line 819 of file class.t3lib_div.php. References intInRange(). Referenced by tx_impexp::addRelations(), modifyHTMLColorAll(), t3lib_queryGenerator::printCodeArray(), and tx_impexp::singleRecordLines(). |
|
Modifies a HTML Hex color by adding/subtracting $all integer from all R/G/B channels Usage: 6
Definition at line 839 of file class.t3lib_div.php. References modifyHTMLColor(). |
|
Modifies a HTML Hex color by adding/subtracting $all integer from all R/G/B channels Usage: 6
Definition at line 839 of file class.t3lib_div.php. References modifyHTMLColor(). Referenced by t3lib_TCEforms::t3lib_TCEforms(). |
|
Simple substitute for the PHP function mail() which allows you to specify encoding and character set The fifth parameter, $enc, will allow you to specify 'base64' encryption for the output (set $enc=base64) Further the output has the charset set to ISO-8859-1 by default. Usage: 4
Definition at line 3315 of file class.t3lib_div.php. References quoted_printable(), and trimExplode(). |
|
Simple substitute for the PHP function mail() which allows you to specify encoding and character set The fifth parameter, $enc, will allow you to specify 'base64' encryption for the output (set $enc=base64) Further the output has the charset set to ISO-8859-1 by default. Usage: 4
Definition at line 3315 of file class.t3lib_div.php. References quoted_printable(), and trimExplode(). Referenced by mod_web_dmail::cmd_quickmail(). |
|
Converts a png file to gif This converts a png file to gif IF the FLAG $GLOBALS['TYPO3_CONF_VARS']['FE']['png_to_gif'] is set true. Usage: 5
Definition at line 400 of file class.t3lib_div.php. |
|
Converts a png file to gif This converts a png file to gif IF the FLAG $GLOBALS['TYPO3_CONF_VARS']['FE']['png_to_gif'] is set true. Usage: 5
Definition at line 400 of file class.t3lib_div.php. Referenced by tslib_cObj::cImage(), tslib_tmenu::getBeforeAfter(), and tslib_imgmenu::makeImageMap(). |
|
Prints an array Usage: 6
Definition at line 2349 of file class.t3lib_div.php. References view_array(). |
|
Prints an array Usage: 6
Definition at line 2349 of file class.t3lib_div.php. References view_array(). |
|
Implementation of quoted-printable encode. This functions is buggy. It seems that in the part where the lines are breaked every 76th character, that it fails if the break happens right in a quoted_printable encode character! (Originally taken from class.t3lib_htmlmail.php - which may be updated if this function should ever be improved! See RFC 1521, section 5.1 Quoted-Printable Content-Transfer-Encoding Usage: 2
Definition at line 3360 of file class.t3lib_div.php. |
|
Implementation of quoted-printable encode. This functions is buggy. It seems that in the part where the lines are breaked every 76th character, that it fails if the break happens right in a quoted_printable encode character! (Originally taken from class.t3lib_htmlmail.php - which may be updated if this function should ever be improved! See RFC 1521, section 5.1 Quoted-Printable Content-Transfer-Encoding Usage: 2
Definition at line 3360 of file class.t3lib_div.php. Referenced by plainMailEncoded(). |
|
rawurlencode which preserves "/" chars Usefull when filepaths should keep the "/" chars, but have all other special chars encoded. Usage: 5
Definition at line 1109 of file class.t3lib_div.php. |
|
rawurlencode which preserves "/" chars Usefull when filepaths should keep the "/" chars, but have all other special chars encoded. Usage: 5
Definition at line 1109 of file class.t3lib_div.php. |
|
Version of rawurlencode() where all spaces (20) are re-converted to space-characters. Usefull when passing text to JavaScript where you simply url-encode it to get around problems with syntax-errors, linebreaks etc. Usage: 4
Definition at line 1097 of file class.t3lib_div.php. |
|
Version of rawurlencode() where all spaces (20) are re-converted to space-characters. Usefull when passing text to JavaScript where you simply url-encode it to get around problems with syntax-errors, linebreaks etc. Usage: 4
Definition at line 1097 of file class.t3lib_div.php. Referenced by SC_rte_rte::JSout(). |
|
Returns filename of the png/gif version of the input file (which can be png or gif). If input file type does not match the wanted output type a conversion is made and temp-filename returned. Usage: 2
Definition at line 424 of file class.t3lib_div.php. |
|
Returns filename of the png/gif version of the input file (which can be png or gif). If input file type does not match the wanted output type a conversion is made and temp-filename returned. Usage: 2
Definition at line 424 of file class.t3lib_div.php. Referenced by t3lib_iconWorks::imagecreatefrom(). |
|
Removes the value $cmpValue from the $array if found there. Returns the modified array Usage: 3
Definition at line 1256 of file class.t3lib_div.php. |
|
Removes the value $cmpValue from the $array if found there. Returns the modified array Usage: 3
Definition at line 1256 of file class.t3lib_div.php. Referenced by t3lib_TCEmain::checkValue_group_select_file(), and tslib_menu::start(). |
|
Removes the absolute part of all files/folders in fileArr Usage: 2
Definition at line 2209 of file class.t3lib_div.php. References isFirstPartOfStr(). |
|
Removes the absolute part of all files/folders in fileArr Usage: 2
Definition at line 2209 of file class.t3lib_div.php. References isFirstPartOfStr(). Referenced by t3lib_TCEforms::addSelectOptionsToItemArray(), SC_mod_tools_em_index::getClassIndexLocallangFiles(), and SC_mod_tools_em_index::removeExtDirectory(). |
|
Resolves ALL sheet definitions in dataStructArray If no sheet is found, then the default "sDEF" will be created with the dataStructure inside.
Definition at line 3042 of file class.t3lib_div.php. References resolveSheetDefInDS(). |
|
Resolves ALL sheet definitions in dataStructArray If no sheet is found, then the default "sDEF" will be created with the dataStructure inside.
Definition at line 3042 of file class.t3lib_div.php. References resolveSheetDefInDS(). |
|
Resolves "../" sections in the input path string. For example "fileadmin/directory/../other_directory/" will be resolved to "fileadmin/other_directory/" Usage: 2
Definition at line 2237 of file class.t3lib_div.php. |
|
Resolves "../" sections in the input path string. For example "fileadmin/directory/../other_directory/" will be resolved to "fileadmin/other_directory/" Usage: 2
Definition at line 2237 of file class.t3lib_div.php. Referenced by t3lib_loadModules::checkMod(), and SC_index::makeLoginBoxImage(). |
|
Looks for a sheet-definition in the input data structure array. If found it will return the data structure for the sheet given as $sheet (if found). If the sheet definition is in an external file that file is parsed and the data structure inside of that is returned. Usage: 5
Definition at line 3012 of file class.t3lib_div.php. References getFileAbsFileName(), and xml2array(). |
|
Looks for a sheet-definition in the input data structure array. If found it will return the data structure for the sheet given as $sheet (if found). If the sheet definition is in an external file that file is parsed and the data structure inside of that is returned. Usage: 5
Definition at line 3012 of file class.t3lib_div.php. References getFileAbsFileName(), and xml2array(). Referenced by t3lib_TCEmain::checkValue_flex_procInData(), t3lib_TCEforms::getSingleField_typeFlex(), t3lib_transferData::renderRecord_flexProc_procInData(), and resolveAllSheetsInDS(). |
|
Reverse explode which explodes the string counting from behind. Thus t3lib_div::revExplode(':','my:words:here',2) will return array('my:words','here') Usage: 8
Definition at line 1202 of file class.t3lib_div.php. |
|
Reverse explode which explodes the string counting from behind. Thus t3lib_div::revExplode(':','my:words:here',2) will return array('my:words','here') Usage: 8
Definition at line 1202 of file class.t3lib_div.php. |
|
Removes comma (if present) in the end of string Usage: 2
Definition at line 850 of file class.t3lib_div.php. |
|
Removes comma (if present) in the end of string Usage: 2
Definition at line 850 of file class.t3lib_div.php. Referenced by SC_mod_tools_dbint_index::func_records(). |
|
Removes an item from a comma-separated list of items. Usage: 1
Definition at line 667 of file class.t3lib_div.php. |
|
Removes an item from a comma-separated list of items. Usage: 1
Definition at line 667 of file class.t3lib_div.php. Referenced by fileList::getTable(). |
|
Returns the first 10 positions of the MD5-hash (changed from 6 to 10 recently) Usage: 37
Definition at line 739 of file class.t3lib_div.php. |
|
Returns the first 10 positions of the MD5-hash (changed from 6 to 10 recently) Usage: 37
Definition at line 739 of file class.t3lib_div.php. Referenced by tslib_cObj::getImgResource(), t3lib_stdGraphic::imageMagickConvert(), SC_alt_clickmenu::init(), tslib_fe::jumpUrl(), tslib_fe::makeCacheHash(), t3lib_modSettings::processStoreControl(), t3lib_parsehtml_proc::TS_images_db(), t3lib_extMgm::typo3_loadExtensions(), and template::wrapClickMenuOnIcon(). |
|
Either slashes ($cmd=add) or strips ($cmd=strip) array $arr depending on $cmd Usage: 0
Definition at line 1380 of file class.t3lib_div.php. |
|
Either slashes ($cmd=add) or strips ($cmd=strip) array $arr depending on $cmd Usage: 0
Definition at line 1380 of file class.t3lib_div.php. |
|
This function is used to escape any ' -characters when transferring text to JavaScript! Usage: 3
Definition at line 1084 of file class.t3lib_div.php. |
|
This function is used to escape any ' -characters when transferring text to JavaScript! Usage: 3
Definition at line 1084 of file class.t3lib_div.php. |
|
Splits a reference to a file in 5 parts Usage: 43
Definition at line 766 of file class.t3lib_div.php. |
|
Splits a reference to a file in 5 parts Usage: 43
Definition at line 766 of file class.t3lib_div.php. Referenced by tslib_fe::checkAlternativeIdMethods(), t3lib_TCEmain::checkValue_group_select_file(), tslib_cObj::filelink(), tslib_cObj::filelist(), tslib_cObj::fileResource(), t3lib_extFileFunctions::findRecycler(), t3lib_extFileFunctions::func_copy(), t3lib_extFileFunctions::func_edit(), t3lib_extFileFunctions::func_move(), t3lib_extFileFunctions::func_newfile(), t3lib_extFileFunctions::func_rename(), t3lib_extFileFunctions::func_unzip(), t3lib_extFileFunctions::func_upload(), template::getFileheader(), SC_mod_tools_em_index::getFileListOfExtension(), t3lib_TStemplate::getFileName(), tslib_cObj::getImgResource(), t3lib_basicFileFunctions::getTotalFileInfo(), t3lib_basicFileFunctions::getUniqueName(), tx_tstemplateinfo::main(), tslib_cObj::MULTIMEDIA(), tx_tstemplateinfo::procesResources(), fileList::readDirectory(), SC_show_item::renderFileInfo(), SC_mod_tools_em_index::showExtDetails(), t3lib_BEfunc::thumbCode(), and t3lib_tsparser_ext::upload_copy_file(). |
|
Returns an array with the 'components' from an attribute list from an HTML tag. The result is normally analyzed by get_tag_attributes Removes tag-name if found Usage: 2
Definition at line 1522 of file class.t3lib_div.php. |
|
Returns an array with the 'components' from an attribute list from an HTML tag. The result is normally analyzed by get_tag_attributes Removes tag-name if found Usage: 2
Definition at line 1522 of file class.t3lib_div.php. Referenced by get_tag_attributes(). |
|
This splits a string by the chars in $operators (typical /+-*) and returns an array with them in Usage: 2
Definition at line 968 of file class.t3lib_div.php. |
|
This splits a string by the chars in $operators (typical /+-*) and returns an array with them in Usage: 2
Definition at line 968 of file class.t3lib_div.php. Referenced by tslib_cObj::calc(), and tslib_gifBuilder::calcOffset(). |
|
standard authentication code - can't remember what it's used for. Usage: 2
Definition at line 2958 of file class.t3lib_div.php. References trimExplode(). |
|
standard authentication code - can't remember what it's used for. Usage: 2
Definition at line 2958 of file class.t3lib_div.php. References trimExplode(). Referenced by tslib_fe::checkJumpUrl(), and t3lib_dmailer::dmailer_sendAdvanced(). |
|
StripSlash array This function traverses a multidimentional array and strips slashes to the values. NOTE that the input array is and argument by reference.!! Twin-function to addSlashesOnArray Usage: 10
Definition at line 1358 of file class.t3lib_div.php. |
|
StripSlash array This function traverses a multidimentional array and strips slashes to the values. NOTE that the input array is and argument by reference.!! Twin-function to addSlashesOnArray Usage: 10
Definition at line 1358 of file class.t3lib_div.php. Referenced by _GET(), _GP(), _POST(), t3lib_TCEmain::fillInFieldArray(), GParrayMerged(), and GPvar(). |
|
Takes a clear-text message body for a plain text email, finds all 'http://' links and if they are longer than 76 chars they are converted to a shorter URL with a hash parameter. The real parameter is stored in the database and the hash-parameter/URL will be redirected to the real parameter when the link is clicked. This function is about preserving long links in messages. Usage: 3
Definition at line 3402 of file class.t3lib_div.php. References makeRedirectUrl(). |
|
Takes a clear-text message body for a plain text email, finds all 'http://' links and if they are longer than 76 chars they are converted to a shorter URL with a hash parameter. The real parameter is stored in the database and the hash-parameter/URL will be redirected to the real parameter when the link is clicked. This function is about preserving long links in messages. Usage: 3
Definition at line 3402 of file class.t3lib_div.php. References makeRedirectUrl(). Referenced by mod_web_dmail::cmd_quickmail(), and t3lib_dmailer::dmailer_sendAdvanced(). |
|
Create temporary filename (Create file with unique file name) This function should be used for getting temporary filenames - will make your applications safe for open_basedir = on REMEMBER to delete the temporary files after use! This is done by t3lib_div::unlink_tempfile() Usage: 7
Definition at line 2945 of file class.t3lib_div.php. |
|
Create temporary filename (Create file with unique file name) This function should be used for getting temporary filenames - will make your applications safe for open_basedir = on REMEMBER to delete the temporary files after use! This is done by t3lib_div::unlink_tempfile() Usage: 7
Definition at line 2945 of file class.t3lib_div.php. Referenced by t3lib_diff::getDiff(), tx_tstemplateinfo::main(), tx_indexedsearch_indexer::readFileContent(), t3lib_svbase::tempFile(), tslib_fe::tidyHTML(), and upload_to_tempfile(). |
|
Tests if the input is an integer. Usage: 77
Definition at line 891 of file class.t3lib_div.php. |
|
Tests if the input is an integer. Usage: 77
Definition at line 891 of file class.t3lib_div.php. Referenced by tslib_cObj::calcAge(), SC_wizard_table::changeFunc(), SC_wizard_forms::changeFunc(), tslib_fe::checkAndSetAlias(), tslib_fe::checkJumpUrl(), tx_install::checkTheDatabase(), tx_ttproducts::cleanConfArr(), user_feAdmin::compileMail(), SC_mod_tools_em_index::construct_ext_emconf_file(), t3lib_loadDBGroup::convertPosNeg(), mod_web_dmail::createDMail(), debug(), tslib_fe::determineId(), t3lib_TCEmain::doesRecordExist(), SC_alt_main::editPageHandling(), SC_alt_shortcut::editPageIdFunc(), tslib_cObj::editPanelLinkWrap(), SC_browse_links::expandPage(), t3lib_tsparser_ext::ext_getObjTree(), tslib_cObj::fillInMarkerArray(), t3lib_timeTrack::fixContent(), t3lib_TCEforms::getExcludeElements(), t3lib_BEfunc::getFlexFormDS(), tx_install::getItemArrayType(), t3lib_BEfunc::getPidForModTSconfig(), t3lib_TCEforms::getSingleField(), t3lib_BEfunc::getTSconfig_pidValue(), mod_web_dmail::importRecords_sort(), SC_wizard_add::init(), tx_ttproducts::initBasket(), t3lib_clipboard::initializeClipboard(), tslib_cObj::listNum(), SC_wizard_edit::main(), tx_cmsplaintextimport_webfunc::main(), SC_alt_doc::makeButtonPanel(), tslib_menu::makeMenu(), t3lib_matchCondition::match(), tslib_fe::pageNotFoundHandler(), SC_browse_links::parseCurUrl(), tslib_pibase::pi_getFFvalueFromSheetArray(), tslib_pibase::pi_isOnlyFields(), SC_alt_shortcut::preprocess(), t3lib_TCEmain::process_datamap(), t3lib_loadDBGroup::readList(), SC_mod_web_ts_index::renderList(), SC_db_layout::renderQuickEdit(), tx_tstemplatestyler_modfunc1::renderSelector(), t3lib_TCEforms::renderWizards(), tslib_cObj::SEARCHRESULT(), user_feAdmin::sendInfoMail(), t3lib_TCEmain::setTSconfigPermissions(), t3lib_parsehtml_proc::TS_links_rte(), tx_install::typo3TempManager(), tslib_cObj::typoLink(), tx_tstemplateobjbrowser::verify_TSobjects(), and t3lib_arrayBrowser::wrapArrayKey(). |
|
Explodes a string and trims all values for whitespace in the ends. If $onlyNonEmptyValues is set, then all blank ('') values are removed. Usage: 256
Definition at line 1222 of file class.t3lib_div.php. |
|
Explodes a string and trims all values for whitespace in the ends. If $onlyNonEmptyValues is set, then all blank ('') values are removed. Usage: 256
Definition at line 1222 of file class.t3lib_div.php. |
|
Remove duplicate values from an array This function is deprecated, use the PHP function array_unique instead Usage: 0
Definition at line 1244 of file class.t3lib_div.php. |
|
Remove duplicate values from an array This function is deprecated, use the PHP function array_unique instead Usage: 0
Definition at line 1244 of file class.t3lib_div.php. |
|
Takes comma-separated lists and arrays and removes all duplicates If a value in the list is trim(empty), the value is ignored. Usage: 16
Definition at line 752 of file class.t3lib_div.php. References trimExplode(), and uniqueList(). |
|
Takes comma-separated lists and arrays and removes all duplicates If a value in the list is trim(empty), the value is ignored. Usage: 16
Definition at line 752 of file class.t3lib_div.php. References trimExplode(). Referenced by t3lib_userAuthGroup::fetchGroupData(), tslib_cObj::filelist(), fileList::getTable(), t3lib_basicFileFunctions::init(), and uniqueList(). |
|
Deletes (unlink) a temporary filename in 'PATH_site."typo3temp/"' given as input. The function will check that the file exists, is in PATH_site."typo3temp/" and does not contain back-spaces ("../") so it should be pretty safe. Use this after upload_to_tempfile() or tempnam() from this class! Usage: 9
Definition at line 2929 of file class.t3lib_div.php. References isFirstPartOfStr(), and validPathStr(). |
|
Deletes (unlink) a temporary filename in 'PATH_site."typo3temp/"' given as input. The function will check that the file exists, is in PATH_site."typo3temp/" and does not contain back-spaces ("../") so it should be pretty safe. Use this after upload_to_tempfile() or tempnam() from this class! Usage: 9
Definition at line 2929 of file class.t3lib_div.php. References isFirstPartOfStr(), and validPathStr(). Referenced by SC_mod_tools_em_index::importExtFromRep(), user_feAdmin::init(), tx_tstemplateinfo::main(), t3lib_formmail::start(), t3lib_svbase::unlinkTempFiles(), and t3lib_tsparser_ext::upload_copy_file(). |
|
Moves $source file to $destination if uploaded, otherwise try to make a copy Usage: 4
Definition at line 2879 of file class.t3lib_div.php. |
|
Moves $source file to $destination if uploaded, otherwise try to make a copy Usage: 4
Definition at line 2879 of file class.t3lib_div.php. Referenced by t3lib_TCEmain::checkValue_group_select_file(), t3lib_extFileFunctions::func_upload(), and user_feAdmin::processFiles(). |
|
Will move an uploaded file (normally in "/tmp/xxxxx") to a temporary filename in PATH_site."typo3temp/" from where TYPO3 can use it under safe_mode. Use this function to move uploaded files to where you can work on them. REMEMBER to use t3lib_div::unlink_tempfile() afterwards - otherwise temp-files will build up! They are NOT automatically deleted in PATH_site."typo3temp/"! Usage: 6
Definition at line 2911 of file class.t3lib_div.php. References tempnam(). |
|
Will move an uploaded file (normally in "/tmp/xxxxx") to a temporary filename in PATH_site."typo3temp/" from where TYPO3 can use it under safe_mode. Use this function to move uploaded files to where you can work on them. REMEMBER to use t3lib_div::unlink_tempfile() afterwards - otherwise temp-files will build up! They are NOT automatically deleted in PATH_site."typo3temp/"! Usage: 6
Definition at line 2911 of file class.t3lib_div.php. References tempnam(). Referenced by SC_mod_tools_em_index::importExtFromRep(), tx_tstemplateinfo::main(), user_feAdmin::processFiles(), t3lib_formmail::start(), and t3lib_tsparser_ext::upload_copy_file(). |
|
Checking syntax of input email address Usage: 5
Definition at line 1120 of file class.t3lib_div.php. |
|
Checking syntax of input email address Usage: 5
Definition at line 1120 of file class.t3lib_div.php. Referenced by tslib_cObj::checkEmail(), t3lib_readmail::extractNameEmail(), and tx_tipafriend::getRecipients(). |
|
Checks for malicious file paths. Returns true if no '//', '..' or '\' is in the $theFile This should make sure that the path is not pointing 'backwards' and further doesn't contain double/back slashes. So it's compatible with the UNIX style path strings valid for TYPO3 internally. Usage: 14
Definition at line 2822 of file class.t3lib_div.php. |
|
Checks for malicious file paths. Returns true if no '//', '..' or '\' is in the $theFile This should make sure that the path is not pointing 'backwards' and further doesn't contain double/back slashes. So it's compatible with the UNIX style path strings valid for TYPO3 internally. Usage: 14
Definition at line 2822 of file class.t3lib_div.php. Referenced by t3lib_userAuthGroup::addFileMount(), tslib_cObj::clean_directory(), t3lib_parsehtml_proc::evalWriteFile(), getFileAbsFileName(), SC_tslib_showpic::init(), t3lib_cs::initCharset(), t3lib_cs::initUnicodeData(), isAllowedAbsPath(), t3lib_basicFileFunctions::isPathValid(), tx_install::typo3conf_edit(), unlink_tempfile(), and writeFileToTypo3tempDir(). |
|
Verifies the input filename againts the 'fileDenyPattern'. Returns true if OK. Usage: 2
Definition at line 2861 of file class.t3lib_div.php. |
|
Verifies the input filename againts the 'fileDenyPattern'. Returns true if OK. Usage: 2
Definition at line 2861 of file class.t3lib_div.php. Referenced by t3lib_basicFileFunctions::checkIfAllowed(), and user_feAdmin::processFiles(). |
|
Returns HTML-code, which is a visual representation of a multidimensional array use t3lib_div::print_array() in order to print an array Returns false if $array_in is not an array Usage: 31
Definition at line 2321 of file class.t3lib_div.php. References view_array(). |
|
Returns HTML-code, which is a visual representation of a multidimensional array use t3lib_div::print_array() in order to print an array Returns false if $array_in is not an array Usage: 31
Definition at line 2321 of file class.t3lib_div.php. Referenced by t3lib_DB::debug(), SC_mod_tools_em_index::extensionListRow(), SC_mod_tools_em_index::extInformationArray(), tslib_cObj::getData(), makeInstanceService(), tx_install::phpinformation(), print_array(), tx_impexp::printErrorLog(), t3lib_timeTrack::printTSlog(), and view_array(). |
|
Wraps JavaScript code XHTML ready with <script>-tags Automatic re-identing of the JS code is done by using the first line as ident reference. This is nice for identing JS code with PHP code on the same level.
Definition at line 1598 of file class.t3lib_div.php. |
|
Wraps JavaScript code XHTML ready with <script>-tags Automatic re-identing of the JS code is done by using the first line as ident reference. This is nice for identing JS code with PHP code on the same level.
Definition at line 1598 of file class.t3lib_div.php. |
|
Writes $content to the file $file Usage: 30
Definition at line 2019 of file class.t3lib_div.php. |
|
Writes $content to the file $file Usage: 30
Definition at line 2019 of file class.t3lib_div.php. Referenced by SC_mod_tools_em_index::checkUploadFolder(), SC_mod_tools_em_index::extDumpTables(), t3lib_TCEmain::fillInFieldArray(), t3lib_extFileFunctions::func_edit(), t3lib_extFileFunctions::func_newfile(), t3lib_diff::getDiff(), tx_impexp::import_addFileNameToBeCopied(), SC_mod_tools_em_index::importExtFromRep(), TSpagegen::inline2TempFile(), tx_tstemplateinfo::main(), SC_mod_tools_em_index::processRepositoryReturnData(), SC_mod_tools_em_index::showExtDetails(), t3lib_parsehtml_proc::TS_images_db(), tx_install::typo3conf_edit(), SC_mod_tools_em_index::updateLocalEM_CONF(), t3lib_extMgm::writeCacheFiles(), writeFileToTypo3tempDir(), tx_tstemplatestyler_modfunc1::writeResourceFile(), and t3lib_install::writeToLocalconf_control(). |
|
Writes $content to a filename in the typo3temp/ folder (and possibly a subfolder...) Accepts an additional subdirectory in the file path!
Definition at line 2044 of file class.t3lib_div.php. References isFirstPartOfStr(), mkdir(), validPathStr(), and writeFile(). |
|
Writes $content to a filename in the typo3temp/ folder (and possibly a subfolder...) Accepts an additional subdirectory in the file path!
Definition at line 2044 of file class.t3lib_div.php. References isFirstPartOfStr(), mkdir(), validPathStr(), and writeFile(). Referenced by t3lib_cs::initCharset(), t3lib_cs::initToASCII(), t3lib_cs::initUnicodeData(), and language::readLLXMLfile(). |
|
Converts an XML string to a PHP array. This is the reverse function of array2xml() Usage: 17
Definition at line 1799 of file class.t3lib_div.php. |
|
Converts an XML string to a PHP array. This is the reverse function of array2xml() Usage: 17
Definition at line 1799 of file class.t3lib_div.php. Referenced by t3lib_TCEmain::checkValue_flex(), t3lib_TCEmain::copyRecord_procBasedOnFieldType(), SC_wizard_table::getConfigCode(), SC_wizard_forms::getConfigCode(), t3lib_BEfunc::getFlexFormDS(), t3lib_TCEforms::getSingleField_typeFlex(), t3lib_syntaxhl::highLight_DS(), t3lib_syntaxhl::highLight_FF(), tslib_pibase::pi_initPIflexForm(), language::readLLXMLfile(), t3lib_TCEmain::remapListedDBRecords(), t3lib_transferData::renderRecord_flexProc(), and resolveSheetDefInDS(). |
|
Parses XML input into a PHP array with associative keys Usage: 0
Definition at line 1628 of file class.t3lib_div.php. References xmlRecompileFromStructValArray(). |
|
Parses XML input into a PHP array with associative keys Usage: 0
Definition at line 1628 of file class.t3lib_div.php. References xmlRecompileFromStructValArray(). |
|
Extract the encoding scheme as found in the first line of an XML document (typically) Usage: 1
Definition at line 1945 of file class.t3lib_div.php. References get_tag_attributes(). |
|
Extract the encoding scheme as found in the first line of an XML document (typically) Usage: 1
Definition at line 1945 of file class.t3lib_div.php. References get_tag_attributes(). Referenced by t3lib_TCEforms::getSingleField_typeFlex(). |
|
This implodes an array of XML parts (made with xml_parse_into_struct()) into XML again. Usage: 2
Definition at line 1901 of file class.t3lib_div.php. |
|
This implodes an array of XML parts (made with xml_parse_into_struct()) into XML again. Usage: 2
Definition at line 1901 of file class.t3lib_div.php. Referenced by xml2tree(). |