| core_util

# Element index for package core_util [ a ] [ b ] [ c ] [ d ] [ e ] [ g ] [ h ] [ i ] [ l ] [ m ] [ n ] [ o ] [ p ] [ r ] [ s ] [ t ] [ u ] [ _ ] ## _ $_Bs_String in file Bs_System.class.php, variable Bs_System::$_Bs_String $_fileFullPath in file Bs_IniHandler.class.php, variable Bs_IniHandler::$_fileFullPath the fullpath to the currently used file. $_isWindows in file Bs_System.class.php, variable Bs_System::$_isWindows $_lastDeltaTime in file Bs_StopWatch.class.php, variable Bs_StopWatch::$_lastDeltaTime $_lastTakeTime in file Bs_StopWatch.class.php, variable Bs_StopWatch::$_lastTakeTime $_preserveCodeHash in file Bs_Stripper.class.php, variable Bs_Stripper::$_preserveCodeHash $_startTime in file Bs_StopWatch.class.php, variable Bs_StopWatch::$_startTime $_stops in file Bs_StopWatch.class.php, variable Bs_StopWatch::$_stops _weightIt in file Bs_StopWatch.class.php, function _weightIt() $_Bs_Array in file Bs_Array_PhpUnit.class.php, variable Bs_Array_PhpUnit::$_Bs_Array (subpackage: ecg) $_Bs_CsvUtil in file Bs_CsvUtil_PhpUnit.class.php, variable Bs_CsvUtil_PhpUnit::$_Bs_CsvUtil (subpackage: ecg) $_Bs_IniHandler in file Bs_IniHandler_PhpUnit.class.php, variable Bs_IniHandler_PhpUnit::$_Bs_IniHandler (subpackage: ecg) $_Bs_Number in file Bs_Number_PhpUnit.class.php, variable Bs_Number_PhpUnit::$_Bs_Number (subpackage: ecg) $_Bs_String in file Bs_String_PhpUnit.class.php, variable Bs_String_PhpUnit::$_Bs_String (subpackage: ecg) $_Bs_UnitConverter in file Bs_UnitConverter_PhpUnit.class.php, variable Bs_UnitConverter_PhpUnit::$_Bs_UnitConverter (subpackage: ecg) __Bs_Array_explode in file Bs_Array_PhpUnit.class.php, method Bs_Array_PhpUnit::__Bs_Array_explode() (subpackage: ecg) __Bs_Array_inArray in file Bs_Array_PhpUnit.class.php, method Bs_Array_PhpUnit::__Bs_Array_inArray() (subpackage: ecg) __Bs_Array_merge in file Bs_Array_PhpUnit.class.php, method Bs_Array_PhpUnit::__Bs_Array_merge() (subpackage: ecg) __Bs_Array_sets in file Bs_Array_PhpUnit.class.php, method Bs_Array_PhpUnit::__Bs_Array_sets() (subpackage: ecg) __Bs_CsvUtil_arrayToCsvString1 in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::__Bs_CsvUtil_arrayToCsvString1() (subpackage: ecg) __Bs_CsvUtil_arrayToCsvString2 in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::__Bs_CsvUtil_arrayToCsvString2() (subpackage: ecg) __Bs_CsvUtil_arrayToCsvString3 in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::__Bs_CsvUtil_arrayToCsvString3() (subpackage: ecg) __Bs_CsvUtil_arrayToCsvString4 in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::__Bs_CsvUtil_arrayToCsvString4() (subpackage: ecg) __Bs_CsvUtil_arrayToCsvString5 in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::__Bs_CsvUtil_arrayToCsvString5() (subpackage: ecg) __Bs_CsvUtil_csvStringToArray in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::__Bs_CsvUtil_csvStringToArray() (subpackage: ecg) __Bs_CsvUtil_csvStringToArray2 in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::__Bs_CsvUtil_csvStringToArray2() (subpackage: ecg) __Bs_CsvUtil_csvStringToArray3 in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::__Bs_CsvUtil_csvStringToArray3() (subpackage: ecg) __Bs_CsvUtil_csvStringToArray4 in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::__Bs_CsvUtil_csvStringToArray4() (subpackage: ecg) __Bs_CsvUtil_csvStringToArray5 in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::__Bs_CsvUtil_csvStringToArray5() (subpackage: ecg) __Bs_CsvUtil_guessSeparator in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::__Bs_CsvUtil_guessSeparator() (subpackage: ecg) __Bs_IniHandler_test1 in file Bs_IniHandler_PhpUnit.class.php, method Bs_IniHandler_PhpUnit::__Bs_IniHandler_test1() (subpackage: ecg) __Bs_IniHandler_test2 in file Bs_IniHandler_PhpUnit.class.php, method Bs_IniHandler_PhpUnit::__Bs_IniHandler_test2() (subpackage: ecg) __Bs_IniHandler_test3 in file Bs_IniHandler_PhpUnit.class.php, method Bs_IniHandler_PhpUnit::__Bs_IniHandler_test3() (subpackage: ecg) __Bs_IniHandler_test4 in file Bs_IniHandler_PhpUnit.class.php, method Bs_IniHandler_PhpUnit::__Bs_IniHandler_test4() (subpackage: ecg) __Bs_IniHandler_test5 in file Bs_IniHandler_PhpUnit.class.php, method Bs_IniHandler_PhpUnit::__Bs_IniHandler_test5() (subpackage: ecg) __Bs_IniHandler_test6 in file Bs_IniHandler_PhpUnit.class.php, method Bs_IniHandler_PhpUnit::__Bs_IniHandler_test6() (subpackage: ecg) __Bs_IniHandler_test7 in file Bs_IniHandler_PhpUnit.class.php, method Bs_IniHandler_PhpUnit::__Bs_IniHandler_test7() (subpackage: ecg) __Bs_Number_isNumericLarge in file Bs_Number_PhpUnit.class.php, method Bs_Number_PhpUnit::__Bs_Number_isNumericLarge() (subpackage: ecg) __Bs_String_escapeForRegexp in file Bs_String_PhpUnit.class.php, method Bs_String_PhpUnit::__Bs_String_escapeForRegexp() (subpackage: ecg) __Bs_String_insert in file Bs_String_PhpUnit.class.php, method Bs_String_PhpUnit::__Bs_String_insert() (subpackage: ecg) __Bs_String_lcFirst in file Bs_String_PhpUnit.class.php, method Bs_String_PhpUnit::__Bs_String_lcFirst() (subpackage: ecg) __Bs_String_removeFromToInt in file Bs_String_PhpUnit.class.php, method Bs_String_PhpUnit::__Bs_String_removeFromToInt() (subpackage: ecg) __Bs_String_strrpos in file Bs_String_PhpUnit.class.php, method Bs_String_PhpUnit::__Bs_String_strrpos() (subpackage: ecg) __Bs_String_studlyCapsToSeparated in file Bs_String_PhpUnit.class.php, method Bs_String_PhpUnit::__Bs_String_studlyCapsToSeparated() (subpackage: ecg) __Bs_String_ucWords in file Bs_String_PhpUnit.class.php, method Bs_String_PhpUnit::__Bs_String_ucWords() (subpackage: ecg) __Bs_UnitConverter_bitsAndBytes in file Bs_UnitConverter_PhpUnit.class.php, method Bs_UnitConverter_PhpUnit::__Bs_UnitConverter_bitsAndBytes() (subpackage: ecg) __Bs_UnitConverter_length in file Bs_UnitConverter_PhpUnit.class.php, method Bs_UnitConverter_PhpUnit::__Bs_UnitConverter_length() (subpackage: ecg) __Bs_UnitConverter_temperature in file Bs_UnitConverter_PhpUnit.class.php, method Bs_UnitConverter_PhpUnit::__Bs_UnitConverter_temperature() (subpackage: ecg) top ## a addLineNumbers in file Bs_String.class.php, method Bs_String::addLineNumbers() Add line number to the left of a given string. arrayMergeRecursive in file Bs_Array.class.php, method Bs_Array::arrayMergeRecursive() like php's array_merge_recursive() but does not fuck up numeric keys (hashs). arrayToCode in file Bs_Array.class.php, method Bs_Array::arrayToCode() --sam 2002-12-18 Since PHP4.2.0 this could be obsolet in some way. See PHP's function var_export() var_export() : Similar to var_dump() with the exception that the returned representation is valid PHP code. arrayToCsvString in file Bs_CsvUtil.class.php, method Bs_CsvUtil::arrayToCsvString() takes an array and creates a csv string from it. arrayToText in file Bs_Array.class.php, method Bs_Array::arrayToText() takes an array (hash) and formats it as plain text. very usable to include array data in emails, for example. array_merge_recursive in file Bs_Array.class.php, method Bs_Array::array_merge_recursive() alias for arrayMergeRecursive() so look there. top ## b bitsAndBytes in file Bs_UnitConverter.class.php, method Bs_UnitConverter::bitsAndBytes() converts bits, bytes etc. booleanSearchQuery in file Bs_String.class.php, method Bs_String::booleanSearchQuery() deprecated, use Bs_TextUtil->parseSearchQuery() !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Bs_Array in file Bs_Array.class.php, method Bs_Array::Bs_Array() constructor. Bs_Array in file Bs_Array.class.php, class Bs_Array This static class provides many useful array methods that don't come with php. BS_ARRAY_VERSION in file Bs_Array.class.php, constant BS_ARRAY_VERSION Bs_CsvUtil in file Bs_CsvUtil.class.php, method Bs_CsvUtil::Bs_CsvUtil() Constructor. Bs_CsvUtil in file Bs_CsvUtil.class.php, class Bs_CsvUtil csv util class. csv = comma separated value. BS_CSVUTIL_VERSION in file Bs_CsvUtil.class.php, constant BS_CSVUTIL_VERSION Bs_Finance in file Bs_Finance.class.php, method Bs_Finance::Bs_Finance() Bs_Finance in file Bs_Finance.class.php, class Bs_Finance This static class provides some useful finance functions. BS_FINANCE_VERSION in file Bs_Finance.class.php, constant BS_FINANCE_VERSION Bs_FormatConverter in file Bs_FormatConverter.class.php, class Bs_FormatConverter Pseudostatic utility class to convert formats. Bs_FormatConverter in file Bs_FormatConverter.class.php, method Bs_FormatConverter::Bs_FormatConverter() BS_FORMATCONVERTER_VERSION in file Bs_FormatConverter.class.php, constant BS_FORMATCONVERTER_VERSION Bs_IniHandler in file Bs_IniHandler.class.php, class Bs_IniHandler This class provides methods to work with ini-style files. Bs_IniHandler in file Bs_IniHandler.class.php, method Bs_IniHandler::Bs_IniHandler() Constructor. BS_INIHANDLER_HEAD_COMMENT in file Bs_IniHandler.class.php, constant BS_INIHANDLER_HEAD_COMMENT BS_INIHANDLER_UNQUOTE_ALL in file Bs_IniHandler.class.php, constant BS_INIHANDLER_UNQUOTE_ALL BS_INIHANDLER_UNQUOTE_DOUBLE in file Bs_IniHandler.class.php, constant BS_INIHANDLER_UNQUOTE_DOUBLE BS_INIHANDLER_UNQUOTE_NONE in file Bs_IniHandler.class.php, constant BS_INIHANDLER_UNQUOTE_NONE BS_INIHANDLER_UNQUOTE_SINGLE in file Bs_IniHandler.class.php, constant BS_INIHANDLER_UNQUOTE_SINGLE BS_INIHANDLER_VERSION in file Bs_IniHandler.class.php, constant BS_INIHANDLER_VERSION Bs_Number in file Bs_Number.class.php, class Bs_Number This static class provides many useful number methods. Bs_Number in file Bs_Number.class.php, method Bs_Number::Bs_Number() constructor. BS_NUMBER_VERSION in file Bs_Number.class.php, constant BS_NUMBER_VERSION Bs_StopWatch in file Bs_StopWatch.class.php, method Bs_StopWatch::Bs_StopWatch() Constructor. Bs_StopWatch in file Bs_StopWatch.class.php, class Bs_StopWatch Stopwatch - class to measure time intervals in microseconds. BS_STOPWATCH_SW_MSEC in file Bs_StopWatch.class.php, constant BS_STOPWATCH_SW_MSEC BS_STOPWATCH_SW_SEC in file Bs_StopWatch.class.php, constant BS_STOPWATCH_SW_SEC BS_STOPWATCH_VERSION in file Bs_StopWatch.class.php, constant BS_STOPWATCH_VERSION Bs_String in file Bs_String.class.php, class Bs_String This static class provides many useful string methods. Bs_String in file Bs_String.class.php, method Bs_String::Bs_String() constructor. BS_STRING_VERSION in file Bs_String.class.php, constant BS_STRING_VERSION Bs_Stripper in file Bs_Stripper.class.php, method Bs_Stripper::Bs_Stripper() constructor. Bs_Stripper in file Bs_Stripper.class.php, class Bs_Stripper This class provides some functions to strip php code. BS_STRIPPER_VERSION in file Bs_Stripper.class.php, constant BS_STRIPPER_VERSION BS_STRIP_ALL in file Bs_Stripper.class.php, constant BS_STRIP_ALL BS_STRIP_COMMENT_ALL in file Bs_Stripper.class.php, constant BS_STRIP_COMMENT_ALL BS_STRIP_COMMENT_ASTERIX in file Bs_Stripper.class.php, constant BS_STRIP_COMMENT_ASTERIX BS_STRIP_COMMENT_HASH in file Bs_Stripper.class.php, constant BS_STRIP_COMMENT_HASH BS_STRIP_COMMENT_SLASH in file Bs_Stripper.class.php, constant BS_STRIP_COMMENT_SLASH BS_STRIP_FORMAT in file Bs_Stripper.class.php, constant BS_STRIP_FORMAT Bs_System in file Bs_System.class.php, class Bs_System This static class provides system functions. Bs_System in file Bs_System.class.php, method Bs_System::Bs_System() BS_SYSTEM_VERSION in file Bs_System.class.php, constant BS_SYSTEM_VERSION Bs_UnitConverter in file Bs_UnitConverter.class.php, class Bs_UnitConverter Pseudostatic utility class to convert units. Bs_UnitConverter in file Bs_UnitConverter.class.php, method Bs_UnitConverter::Bs_UnitConverter() BS_UNITCONVERTER_VERSION in file Bs_UnitConverter.class.php, constant BS_UNITCONVERTER_VERSION Bs_Array.class.php procedural page Bs_Array.class.php Bs_CsvUtil.class.php procedural page Bs_CsvUtil.class.php Bs_Finance.class.php procedural page Bs_Finance.class.php Bs_FormatConverter.class.php procedural page Bs_FormatConverter.class.php Bs_IniHandler.class.php procedural page Bs_IniHandler.class.php Bs_Number.class.php procedural page Bs_Number.class.php Bs_StopWatch.class.php procedural page Bs_StopWatch.class.php Bs_String.class.php procedural page Bs_String.class.php Bs_Stripper.class.php procedural page Bs_Stripper.class.php Bs_System.class.php procedural page Bs_System.class.php Bs_UnitConverter.class.php procedural page Bs_UnitConverter.class.php Bs_Array_PhpUnit.class.php procedural page Bs_Array_PhpUnit.class.php Bs_CsvUtil_PhpUnit.class.php procedural page Bs_CsvUtil_PhpUnit.class.php Bs_IniHandler_PhpUnit.class.php procedural page Bs_IniHandler_PhpUnit.class.php Bs_Number_PhpUnit.class.php procedural page Bs_Number_PhpUnit.class.php Bs_String_PhpUnit.class.php procedural page Bs_String_PhpUnit.class.php Bs_UnitConverter_PhpUnit.class.php procedural page Bs_UnitConverter_PhpUnit.class.php Bs_StopWatch.php procedural page Bs_StopWatch.php Bs_Stripper.php procedural page Bs_Stripper.php Bs_Array_PhpUnit in file Bs_Array_PhpUnit.class.php, class Bs_Array_PhpUnit (subpackage: ecg) Bs_Array_PhpUnit in file Bs_Array_PhpUnit.class.php, method Bs_Array_PhpUnit::Bs_Array_PhpUnit() (subpackage: ecg) Bs_CsvUtil_PhpUnit in file Bs_CsvUtil_PhpUnit.class.php, method Bs_CsvUtil_PhpUnit::Bs_CsvUtil_PhpUnit() (subpackage: ecg) Bs_CsvUtil_PhpUnit in file Bs_CsvUtil_PhpUnit.class.php, class Bs_CsvUtil_PhpUnit (subpackage: ecg) Bs_IniHandler_PhpUnit in file Bs_IniHandler_PhpUnit.class.php, method Bs_IniHandler_PhpUnit::Bs_IniHandler_PhpUnit() (subpackage: ecg) Bs_IniHandler_PhpUnit in file Bs_IniHandler_PhpUnit.class.php, class Bs_IniHandler_PhpUnit (subpackage: ecg) Bs_Number_PhpUnit in file Bs_Number_PhpUnit.class.php, method Bs_Number_PhpUnit::Bs_Number_PhpUnit() (subpackage: ecg) Bs_Number_PhpUnit in file Bs_Number_PhpUnit.class.php, class Bs_Number_PhpUnit (subpackage: ecg) Bs_String_PhpUnit in file Bs_String_PhpUnit.class.php, method Bs_String_PhpUnit::Bs_String_PhpUnit() (subpackage: ecg) Bs_String_PhpUnit in file Bs_String_PhpUnit.class.php, class Bs_String_PhpUnit (subpackage: ecg) Bs_UnitConverter_PhpUnit in file Bs_UnitConverter_PhpUnit.class.php, method Bs_UnitConverter_PhpUnit::Bs_UnitConverter_PhpUnit() (subpackage: ecg) Bs_UnitConverter_PhpUnit in file Bs_UnitConverter_PhpUnit.class.php, class Bs_UnitConverter_PhpUnit (subpackage: ecg) top ## c $commentChars in file Bs_IniHandler.class.php, variable Bs_IniHandler::$commentChars specifies which chars at the start of a line define a comment line. ccVal in file Bs_Finance.class.php, method Bs_Finance::ccVal() ccVal - Credit Card Validation function. clean in file Bs_String.class.php, method Bs_String::clean() This function strips off certain characters from the passed string based on the type specified. complement in file Bs_Array.class.php, method Bs_Array::complement() copyValuesToKeys in file Bs_Array.class.php, method Bs_Array::copyValuesToKeys() copies the value of an array to the key. then key/value are the same. csvArrayToArray in file Bs_CsvUtil.class.php, method Bs_CsvUtil::csvArrayToArray() reads in a cvs array and returns it as a 2-dim vector. csvFileToArray in file Bs_CsvUtil.class.php, method Bs_CsvUtil::csvFileToArray() reads in a cvs-file and returns it as a 2-dim vector. csvStringToArray in file Bs_CsvUtil.class.php, method Bs_CsvUtil::csvStringToArray() takes a csv-string and returns it as a 2-dim vector. top ## d decimalToFraction in file Bs_Number.class.php, method Bs_Number::decimalToFraction() A simple function that converts numbers with decimal remainders to numbers with fractional remainders. diff in file Bs_Array.class.php, method Bs_Array::diff() top ## e endsWith in file Bs_String.class.php, method Bs_String::endsWith() tells whether $haystack ends with $needle. eg "hello world" ends with "world". endsWithI in file Bs_String.class.php, method Bs_String::endsWithI() same as endsWith() but not case sensitive. escapeForRegexp in file Bs_String.class.php, method Bs_String::escapeForRegexp() Adds backslashs to all char in a string that could iterfear with a regular expression. explode in file Bs_Array.class.php, method Bs_Array::explode() similar to php's explode but can explode on multiple strings at once. top ## g gcd in file Bs_Number.class.php, method Bs_Number::gcd() A simple function that finds the Greatest Common Denominator for two numbers. get in file Bs_IniHandler.class.php, method Bs_IniHandler::get() returns [all parameters|parameter] [for the given section]. getCpuAvailable in file Bs_System.class.php, method Bs_System::getCpuAvailable() returns the available cpu, that is idle+nice together. getCpuInfo in file Bs_System.class.php, method Bs_System::getCpuInfo() getCpuStat in file Bs_System.class.php, method Bs_System::getCpuStat() returns a hash with the following keys: 'user' => cpu usage for 'user' processes. getDelta in file Bs_StopWatch.class.php, method Bs_StopWatch::getDelta() Returns total time in ms since last call to getDelta() getLastKey in file Bs_Array.class.php, method Bs_Array::getLastKey() Get the last (highest) key from an array. getLoadAvg in file Bs_System.class.php, method Bs_System::getLoadAvg() returns information about the load average. getMemory in file Bs_System.class.php, method Bs_System::getMemory() getOs in file Bs_System.class.php, method Bs_System::getOs() returns the os we're on. getOsVersion in file Bs_System.class.php, method Bs_System::getOsVersion() getPos in file Bs_Array.class.php, method Bs_Array::getPos() returns the numeric position of a given key or value in the given array. getSerial in file Bs_System.class.php, method Bs_System::getSerial() returns the serial number of the system. getSystemName in file Bs_System.class.php, method Bs_System::getSystemName() tells the systems name. getTime in file Bs_StopWatch.class.php, method Bs_StopWatch::getTime() Returns total time in ms since reset. getUptime in file Bs_System.class.php, method Bs_System::getUptime() is this possible on winblows at all? getVersion in file Bs_System.class.php, method Bs_System::getVersion() guessSeparator in file Bs_CsvUtil.class.php, method Bs_CsvUtil::guessSeparator() tries to find out the separator used to separate the cvs values. guessType in file Bs_Array.class.php, method Bs_Array::guessType() Guess the array type. associative or not. top ## h has in file Bs_IniHandler.class.php, method Bs_IniHandler::has() tells if the section or key specified is set. hashKeysToLower in file Bs_Array.class.php, method Bs_Array::hashKeysToLower() *********************************************************************** Transform all keys of a hash array to lower case NOTE: If 2 keys have the same value after modification, the second overwrites the first. hashKeysToUpper in file Bs_Array.class.php, method Bs_Array::hashKeysToUpper() *********************************************************************** Transform all keys of a hash array to upper case NOTE: If 2 keys have the same value after modification, the second overwrites the first. hasSpecialChars in file Bs_String.class.php, method Bs_String::hasSpecialChars() tells whether there are "special" characters in a string or not. hexToBin in file Bs_FormatConverter.class.php, method Bs_FormatConverter::hexToBin() Convert Hex => Bin convert each 2 chars to a bin character. hexToBin in file Bs_Number.class.php, method Bs_Number::hexToBin() easy function to convert hexdata to bindata. top ## i inArray in file Bs_Array.class.php, method Bs_Array::inArray() tells if the value $needle is a value of the array $haystack. insert in file Bs_String.class.php, method Bs_String::insert() Insert $addThis into $haystack at $position. inStr in file Bs_String.class.php, method Bs_String::inStr() Tells if needle is part of haystack inStrI in file Bs_String.class.php, method Bs_String::inStrI() same as inStr() but not case sensitive. intersect in file Bs_Array.class.php, method Bs_Array::intersect() Similar to PHP's array_diff and array_intersect but is consequent when using hash-arrays. isLower in file Bs_String.class.php, method Bs_String::isLower() Tells if the given string is all lowercase. isNumericLarge in file Bs_Number.class.php, method Bs_Number::isNumericLarge() there is a problem with php's is_numeric: it's limited to 16 digits. a 17 digit number/string would be interpreted as not numeric. :( isUpper in file Bs_String.class.php, method Bs_String::isUpper() Tells if the given string is all uppercase. isWindows in file Bs_System.class.php, method Bs_System::isWindows() Tells if we're on a winblows box. top ## l lcFirst in file Bs_String.class.php, method Bs_String::lcFirst() converts the first character of the given string to lower case. left in file Bs_String.class.php, method Bs_String::left() returns $num chars from the left side of $haystack length in file Bs_UnitConverter.class.php, method Bs_UnitConverter::length() converts length. loadFile in file Bs_IniHandler.class.php, method Bs_IniHandler::loadFile() Loads the given file (read in and parse). loadString in file Bs_IniHandler.class.php, method Bs_IniHandler::loadString() loads the ini stuff from the given string instead of a file (read in and parse). top ## m max in file Bs_Array.class.php, method Bs_Array::max() returns the highest number that exists in the array. maxSizeOfLevel in file Bs_Array.class.php, method Bs_Array::maxSizeOfLevel() returns the max size of elements of an array merge in file Bs_Array.class.php, method Bs_Array::merge() merges 2 arrays. mid in file Bs_String.class.php, method Bs_String::mid() returns $num chars from the middle of $haystack, beginning with $start (included). min in file Bs_Array.class.php, method Bs_Array::min() returns the smallest number that exists in the array. top ## n normalize in file Bs_String.class.php, method Bs_String::normalize() Converts each special character (áéíÁÈÒÖ...) to their normal character (aeiAEOO...) top ## o oneOf in file Bs_String.class.php, method Bs_String::oneOf() Return one of the given arguements randomly. top ## p padding in file Bs_Array.class.php, method Bs_Array::padding() This functions pads the input array of strings on the left, the right, or both sides to the specifed padding length. If length is 0 or not set, the size of longest string in the array will be used as length. top ## r randVal in file Bs_Array.class.php, method Bs_Array::randVal() Return one of the given elements of the array randomly. reindex in file Bs_Array.class.php, method Bs_Array::reindex() reindexes the given array. removeFromToInt in file Bs_String.class.php, method Bs_String::removeFromToInt() removes a part of a $string. starts at $from, ends at $to. reset in file Bs_StopWatch.class.php, method Bs_StopWatch::reset() Resets the stopwatch. reset in file Bs_IniHandler.class.php, method Bs_IniHandler::reset() resets this object so we can re-use it for something else. right in file Bs_String.class.php, method Bs_String::right() returns $num chars from the right side of $haystack rot13 in file Bs_String.class.php, method Bs_String::rot13() ROT13 function - a function to encode and decode text strings roundNoTrim in file Bs_Number.class.php, method Bs_Number::roundNoTrim() rounds a given number to the specified number of digits after the dot. top ## s saveFile in file Bs_IniHandler.class.php, method Bs_IniHandler::saveFile() saves the ini settings to the file specified. set in file Bs_IniHandler.class.php, method Bs_IniHandler::set() sets the given value. setPos in file Bs_Array.class.php, method Bs_Array::setPos() sets the pointer to the given key (hash or vector) we hope that php comes with such a function sometime. setQuoteHandling in file Bs_IniHandler.class.php, method Bs_IniHandler::setQuoteHandling() sets the quote handling. sow in file Bs_String.class.php, method Bs_String::sow() Inserts a string into another string every increment. splitKeyValue in file Bs_Array.class.php, method Bs_Array::splitKeyValue() returns the keys and values of the given array separated in 2 arrays. startsWith in file Bs_String.class.php, method Bs_String::startsWith() tells whether $haystack starts with $needle. eg "hello world" starts with "hello". startsWithI in file Bs_String.class.php, method Bs_String::startsWithI() same as startsWith() but not case sensitive. strip in file Bs_Stripper.class.php, method Bs_Stripper::strip() strips the given string using regular expressions. stripFile in file Bs_Stripper.class.php, method Bs_Stripper::stripFile() strips the file specified. stripJs in file Bs_Stripper.class.php, method Bs_Stripper::stripJs() recommended way of stripping js code, uses Bs_JsCruncher. stripPhp in file Bs_Stripper.class.php, method Bs_Stripper::stripPhp() Spezial stripper for PHP data. strrpos in file Bs_String.class.php, method Bs_String::strrpos() same as php's strrpos() but allows a string (instead of a char) as 2nd param and $offset as 3rd param, just as php's strpos() does. studlyCapsToSeparated in file Bs_String.class.php, method Bs_String::studlyCapsToSeparated() takes a word written in studly caps and returns it in separated words. systemCheckup in file Bs_System.class.php, method Bs_System::systemCheckup() Do some system checks top ## t takeTime in file Bs_StopWatch.class.php, method Bs_StopWatch::takeTime() Takes a time and calculates the total time so far and the delta time since the last take. These values are stored. temperature in file Bs_UnitConverter.class.php, method Bs_UnitConverter::temperature() converts temperature. toHtml in file Bs_StopWatch.class.php, method Bs_StopWatch::toHtml() Displays all stops so far as HTML table. toPercent in file Bs_Finance.class.php, method Bs_Finance::toPercent() returns a percent value, eg 650 -> 6.50% toPrice in file Bs_Finance.class.php, method Bs_Finance::toPrice() returns a number formatted as a price, eg 45115 -> 451.15 toString in file Bs_StopWatch.class.php, function toString() Displays all stops so far as simple string table. toString in file Bs_IniHandler.class.php, method Bs_IniHandler::toString() toString conversion as used in saveFile(), to export the values. toUsefulBitAndByteString in file Bs_UnitConverter.class.php, method Bs_UnitConverter::toUsefulBitAndByteString() takes a number of bytes and converts it to a useful string. top ## u $unQuote in file Bs_IniHandler.class.php, variable Bs_IniHandler::$unQuote should quoted values be unquoted? $useSpecializedJsStripper in file Bs_Stripper.class.php, variable Bs_Stripper::$useSpecializedJsStripper $useSpecializedPhpStripper in file Bs_Stripper.class.php, variable Bs_Stripper::$useSpecializedPhpStripper ucWords in file Bs_String.class.php, method Bs_String::ucWords() Uppercase the first character of each word in a string. unitStringToBytes in file Bs_UnitConverter.class.php, method Bs_UnitConverter::unitStringToBytes() Takes a string with unit (200KB, 1.2M, 0.23G, ...) and converts it to bytes (int or float) U_EB in file Bs_UnitConverter.class.php, constant U_EB U_GB in file Bs_UnitConverter.class.php, constant U_GB U_KB in file Bs_UnitConverter.class.php, constant U_KB U_MB in file Bs_UnitConverter.class.php, constant U_MB U_PB in file Bs_UnitConverter.class.php, constant U_PB U_TB in file Bs_UnitConverter.class.php, constant U_TB top Documentation generated on Mon, 29 Dec 2003 21:07:24 +0100 by phpDocumentor 1.2.3