|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Data Structures | |
| class | t3lib_div |
Namespaces | |
| namespace | TYPO3 |
Enumerations | |
| enum | TAB |
| enum | LF |
| enum | CR |
| enum | CRLF |
| enum CR |
Definition at line 210 of file class.t3lib_div.php.
| enum CRLF |
Definition at line 212 of file class.t3lib_div.php.
| enum LF |
Definition at line 208 of file class.t3lib_div.php.
| enum TAB |
Contains the reknown class "t3lib_div" with general purpose functions
Revised for TYPO3 3.6 July/2003 by Kasper Skårhøj XHTML compliant Usage counts are based on search 22/2 2003 through whole source including tslib/
232: class t3lib_div
SECTION: GET/POST Variables 262: function _GP($var) 280: function _GET($var=NULL) 297: function _POST($var=NULL) 313: function _GETset($inputGet,$key='') 336: function GPvar($var,$strip=0) 353: function GParrayMerged($var)
SECTION: IMAGE FUNCTIONS 397: function gif_compress($theFile, $type) 425: function png_to_gif_by_imagemagick($theFile) 450: function read_png_gif($theFile,$output_png=0)
SECTION: STRING FUNCTIONS 499: function fixed_lgd($string,$origChars,$preStr='...') 524: function fixed_lgd_pre($string,$chars) 538: function fixed_lgd_cs($string,$chars) 555: function breakTextForEmail($str,$implChar=LF,$charWidth=76) 574: function breakLinesForEmail($str,$implChar=LF,$charWidth=76) 610: function cmpIP($baseIP, $list) 626: function cmpIPv4($baseIP, $list) 668: function cmpIPv6($baseIP, $list) 711: function IPv6Hex2Bin ($hex) 726: function normalizeIPv6($address) 782: function validIPv6($ip) 805: function cmpFQDN($baseIP, $list) 835: function inList($list,$item) 847: function rmFromList($element,$list) 863: function expandList($list) 894: function intInRange($theInt,$min,$max=2000000000,$zeroValue=0) 910: function intval_positive($theInt) 923: function int_from_ver($verNumberStr) 934: function compat_version($verNumberStr) 952: function md5int($str) 965: function shortMD5($input, $len=10) 978: function uniqueList($in_list, $secondParameter=NULL) 992: function split_fileref($fileref) 1030: function dirname($path) 1046: function modifyHTMLColor($color,$R,$G,$B) 1066: function modifyHTMLColorAll($color,$all) 1077: function rm_endcomma($string) 1090: function danish_strtoupper($string) 1105: function convUmlauts($str) 1118: function testInt($var) 1130: function isFirstPartOfStr($str,$partStr) 1146: function formatSize($sizeInBytes,$labels='') 1181: function convertMicrotime($microtime) 1195: function splitCalc($string,$operators) 1217: function calcPriority($string) 1258: function calcParenthesis($string) 1284: function htmlspecialchars_decode($value) 1299: function deHSCentities($str) 1312: function slashJS($string,$extended=0,$char="'") 1325: function rawUrlEncodeJS($str) 1337: function rawUrlEncodeFP($str) 1348: function validEmail($email) 1363: function formatForTextarea($content)
SECTION: ARRAY FUNCTIONS 1394: function inArray($in_array,$item) 1411: function intExplode($delim, $string) 1430: function revExplode($delim, $string, $count=0) 1450: function trimExplode($delim, $string, $onlyNonEmptyValues=0) 1472: function uniqueArray($valueArray) 1484: function removeArrayEntryByValue($array,$cmpValue) 1513: function implodeArrayForUrl($name,$theArray,$str='',$skipBlank=0,$rawurlencodeParamName=0) 1538: function explodeUrl2Array($string,$multidim=FALSE) 1564: function compileSelectedGetVarsFromArray($varList,$getArray,$GPvarAlt=1) 1587: function addSlashesOnArray(&$theArray) 1611: function stripSlashesOnArray(&$theArray) 1633: function slashArray($arr,$cmd) 1650: function array_merge_recursive_overrule($arr0,$arr1,$notAddKeys=0,$includeEmtpyValues=true) 1683: function array_merge($arr1,$arr2) 1696: function csvValues($row,$delim=',',$quote='"')
SECTION: HTML/XML PROCESSING 1738: function get_tag_attributes($tag) 1775: function split_tag_attributes($tag) 1809: function implodeAttributes($arr,$xhtmlSafe=FALSE,$dontOmitBlankAttribs=FALSE) 1836: function implodeParams($arr,$xhtmlSafe=FALSE,$dontOmitBlankAttribs=FALSE) 1851: function wrapJS($string, $linebreak=TRUE) 1882: function xml2tree($string,$depth=999) 1969: function array2xml($array,$NSprefix='',$level=0,$docTag='phparray',$spaceInd=0, $options=array(),$stackData=array()) 2088: function xml2array($string,$NSprefix='',$reportDocTag=FALSE) 2198: function xmlRecompileFromStructValArray($vals) 2242: function xmlGetHeaderAttribs($xmlData)
SECTION: FILES FUNCTIONS 2275: function getURL($url, $includeHeader=0) 2342: function writeFile($file,$content) 2367: function fixPermissions($file) 2384: function writeFileToTypo3tempDir($filepath,$content) 2427: function mkdir($theNewFolder) 2446: function mkdir_deep($destination,$deepDir) 2468: function get_dirs($path) 2493: function getFilesInDir($path,$extensionList='',$prependPath=0,$order='') 2547: function getAllFilesAndFoldersInPath($fileArr,$path,$extList='',$regDirs=0,$recursivityLevels=99) 2570: function removePrefixPathFromList($fileArr,$prefixToRemove) 2586: function fixWindowsFilePath($theFile) 2598: function resolveBackPath($pathStr) 2626: function locationHeaderUrl($path)
SECTION: DEBUG helper FUNCTIONS 2666: function debug_ordvalue($string,$characters=100) 2683: function view_array($array_in) 2711: function print_array($array_in) 2726: function debug($var="",$brOrHeader=0) 2757: function debug_trail() 2779: function debugRows($rows,$header='')
SECTION: SYSTEM INFORMATION 2857: function getThisUrl() 2873: function linkThisScript($getParams=array()) 2897: function linkThisUrl($url,$getParams=array()) 2920: function getIndpEnv($getEnvName) 3113: function milliseconds() 3125: function clientInfo($useragent='')
SECTION: TYPO3 SPECIFIC FUNCTIONS 3212: function getFileAbsFileName($filename,$onlyRelative=1,$relToTYPO3_mainDir=0) 3248: function validPathStr($theFile) 3259: function isAbsPath($path) 3270: function isAllowedAbsPath($path) 3287: function verifyFilenameAgainstDenyPattern($filename) 3305: function upload_copy_move($source,$destination) 3331: function upload_to_tempfile($uploadedFileName) 3349: function unlink_tempfile($uploadedTempFileName) 3365: function tempnam($filePrefix) 3379: function stdAuthCode($uid_or_record,$fields='',$codeLength=8) 3410: function cHashParams($addQueryParams) 3433: function hideIfNotTranslated($l18n_cfg_fieldValue) 3448: function readLLfile($fileRef,$langKey) 3472: function readLLXMLfile($fileRef,$langKey) 3589: function llXmlAutoFileName($fileRef,$language) 3633: function loadTCA($table) 3653: function resolveSheetDefInDS($dataStructArray,$sheet='sDEF') 3686: function resolveAllSheetsInDS($dataStructArray) 3715: function callUserFunction($funcName,&$params,&$ref,$checkPrefix='user_',$silent=0) 3813: function &getUserObj($classRef,$checkPrefix='user_',$silent=0) 3871: function &makeInstance($className) 3883: function makeInstanceClassName($className) 3897: function &makeInstanceService($serviceType, $serviceSubType='', $excludeServiceKeys=array()) 3961: function plainMailEncoded($email,$subject,$message,$headers='',$enc='',$charset='',$dontEncodeHeader=false) 4031: function quoted_printable($string,$maxlen=76) 4078: function encodeHeader($line,$enc='',$charset='ISO-8859-1') 4121: function substUrlsInPlainText($message,$urlmode='76',$index_script_url='') 4155: function makeRedirectUrl($inUrl,$l=0,$index_script_url='') 4182: function freetypeDpiComp($font_size) 4194: function initSysLog() 4251: function sysLog($msg, $extKey, $severity=0) 4334: function devLog($msg, $extKey, $severity=0, $dataVar=FALSE) 4355: function arrayToLogString($arr, $valueList=array(), $valueLength=20) 4378: function imageMagickCommand($command, $parameters, $path='') 4425: function unQuoteFilenames($parameters,$unQuote=FALSE) 4459: function quoteJSvalue($value, $inScriptTags = false)
TOTAL FUNCTIONS: 138 (This index is automatically created/updated by the extension "extdeveval")
Definition at line 206 of file class.t3lib_div.php.