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 ($list, $item) | |
| rmFromList ($element, $list) | |
| expandList ($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) | |
| explodeUrl2Array ($string, $multidim=FALSE) | |
| 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(), $stackData=array()) | |
| xml2array ($string, $NSprefix=', $reportDocTag=FALSE) | |
| xmlRecompileFromStructValArray ($vals) | |
| xmlGetHeaderAttribs ($xmlData) | |
| getURL ($url) | |
| writeFile ($file, $content) | |
| fixPermissions ($file) | |
| 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=') | |
| cHashParams ($addQueryParams) | |
| hideIfNotTranslated ($l18n_cfg_fieldValue) | |
| readLLfile ($fileRef, $langKey) | |
| readLLXMLfile ($fileRef, $langKey) | |
| 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) | |
| imageMagickCommand ($command, $parameters, $path=') | |
| unQuoteFilenames ($parameters) | |
| _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 ($list, $item) | |
| rmFromList ($element, $list) | |
| expandList ($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) | |
| explodeUrl2Array ($string, $multidim=FALSE) | |
| 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(), $stackData=array()) | |
| xml2array ($string, $NSprefix=', $reportDocTag=FALSE) | |
| xmlRecompileFromStructValArray ($vals) | |
| xmlGetHeaderAttribs ($xmlData) | |
| getURL ($url) | |
| writeFile ($file, $content) | |
| fixPermissions ($file) | |
| 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=') | |
| cHashParams ($addQueryParams) | |
| hideIfNotTranslated ($l18n_cfg_fieldValue) | |
| readLLfile ($fileRef, $langKey) | |
| readLLXMLfile ($fileRef, $langKey) | |
| 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) | |
| imageMagickCommand ($command, $parameters, $path=') | |
| unQuoteFilenames ($parameters) | |
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 259 of file class.t3lib_div.php. References $value, stripSlashesOnArray(), and value. |
|
|
||||||||||||
|
Writes input value to $_GET Usage: 2
Definition at line 292 of file class.t3lib_div.php. References $GLOBALS, $key, and addSlashesOnArray(). |
|
||||||||||||
|
Writes input value to $_GET Usage: 2
Definition at line 292 of file class.t3lib_div.php. References $GLOBALS, $key, and 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 241 of file class.t3lib_div.php. References $value, _POST(), stripSlashesOnArray(), and value. |
|
|
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 241 of file class.t3lib_div.php. References $value, _POST(), stripSlashesOnArray(), and value. Referenced by tx_taskcenterrecent::_renderRecent(), tx_sysaction::action_t1_createUpdateBeUser(), SC_mod_tools_em_index::checkDBupdates(), t3lib_SCbase::checkExtObj(), tslib_fe::checkJumpUrl(), tx_install::checkPassword(), tx_install::checkTheDatabase(), SC_mod_tools_log_index::checkUpload(), t3lib_TCEmain::checkValue_flex(), tx_kickstarter_section_fields::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_userAuth::getLoginFormData(), 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(), user_feAdmin::init(), t3lib_SCbase::init(), SC_mod_web_view_index::init(), SC_mod_tools_be_user_index::init(), SC_mod_web_perm_index::init(), SC_mod_tools_em_index::init(), SC_index::init(), SC_mod_web_ts_index::init(), SC_mod_web_modules_index::init(), SC_mod_file_images_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_indexedsearch_modfunc1::main(), tx_impexp_modfunc1::main(), tx_impexp_clickmenu::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_cmsplaintextimport_webfunc::main(), SC_browser::main(), SC_alt_mod_frameset::main(), tx_version_cm1::main(), SC_mod_tools_config_index::main(), SC_mod_tools_be_user_index::main(), SC_mod_web_modules_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_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(), SC_mod_web_perm_index::menuConfig(), SC_mod_tools_em_index::menuConfig(), SC_mod_web_modules_index::menuConfig(), tx_ttnews::news_list(), TSpagegen::pagegenInit(), 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(), SC_mod_tools_log_index::processPresets(), 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(), alt_menu_functions::topMenu(), 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 276 of file class.t3lib_div.php. References $value, stripSlashesOnArray(), and value. |
|
|
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 276 of file class.t3lib_div.php. References $value, stripSlashesOnArray(), and value. Referenced by _GP(), 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(), tslib_cObj::FORM(), t3lib_userAuth::getLoginFormData(), GParrayMerged(), GPvar(), SC_mod_tools_log_index::importData(), freesite_admin::isReady(), tx_indexedsearch_modfunc1::main(), 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 1394 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 1394 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 1774 of file class.t3lib_div.php. References $content, $k, array2xml(), and index. |
|
||||||||||||||||||||||||||||||||
|
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 1774 of file class.t3lib_div.php. References $content, $k, and index. Referenced by array2xml(), 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 1490 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 1490 of file class.t3lib_div.php. Referenced by breakTextForEmail(), and tslib_feUserAuth::fetchGroupData(). |
|
||||||||||||||||||||
|
Merges two arrays recursively and "binary safe" (integer keys are overridden as well), overruling similar 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 1457 of file class.t3lib_div.php. |
|
||||||||||||||||||||
|
Merges two arrays recursively and "binary safe" (integer keys are overridden as well), overruling similar 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 1457 of file class.t3lib_div.php. Referenced by t3lib_TCEmain::checkValue_flex(), mod_web_dmail::cmd_compileMailGroup(), t3lib_tsStyleConfig::ext_mergeIncomingWithExisting(), t3lib_TCEmain::fillInFiel |