[Horde_Util] element index

Package indexes

All elements
a b c d e f g h i k l m n p r s t u v w _
_
top
Variable $_expectedVariables
Variable $_vars
Variables::$_vars in Variables.php
Function _
_() in Util.php
Method __get
Variables::__get() in Variables.php
Method __isset
Variables::__isset() in Variables.php
Method __set
Variables::__set() in Variables.php
Method __unset
Variables::__unset() in Variables.php
a
top
Method add
Variables::add() in Variables.php
Set $varname to $value ONLY if it's not already present.
Method addParameter
Adds a name=value pair to the end of an URL, taking care of whether there are existing parameters and whether to use ?, & or & as the glue. All data will be urlencoded.
Method arraySort
Sorts an array on a specified key. If the key does not exist, defaults to the first key of the array.
Method array_merge_recursive_overwrite
Enhanced array_merge_recursive() function. Main difference from PHP's stock function is later value always overwrites earlier value (stock function will instead create an array with all values of key).
Method assertDriverConfig
Checks if all necessary parameters for a driver's configuration are set and returns a PEAR_Error if something is missing.
Page Array.php
Array.php in Array.php
b
top
Function bindtextdomain
bindtextdomain() in Util.php
Method bufferOutput
Buffers the output from a function call, like readfile() or highlight_string(), that prints the output directly, so that instead it can be returned as a string and used.
c
top
Method cloneObject
Returns an object's clone.
Method closeWindowJS
Outputs javascript code to close the current window.
Method combine
Creates an array by using one array for keys and another for its values. Only exists in PHP5, so we call array_combine if it exists and otherwise emulate it.
Method compare
Compare two associative arrays by the array key defined in self::$key.
Method compareKeys
Compare array keys case insensitively for uksort.
Method convertCharset
Converts a string from one charset to another.
Method count
Variables::count() in Variables.php
Method createTempDir
Creates a temporary directory in the system's temporary directory.
d
top
Method date2strftime
Returns a format string to be used by strftime().
Method deleteAtShutdown
Removes given elements at request shutdown.
Method dispelMagicQuotes
If magic_quotes_gpc is in use, run stripslashes() on $var.
e
top
Method exists
Variables::exists() in Variables.php
Method extensionExists
Caches the result of extension_loaded() calls.
f
top
Method formInput
Util::formInput() in Util.php
Returns a hidden form input containing the session name and id.
g
top
Method get
Variables::get() in Variables.php
Method getArrayParts
Given an HTML type array field "example[key1][key2][key3]" breaks up the keys so that they could be used to reference a regular PHP array.
Method getDefaultVariables
Method getElement
Using an array of keys iterate through the array following the keys to find the final key value. If a value is passed then set that value.
Method getExists
Variables::getExists() in Variables.php
Method getFormData
Gets a form variable from GET or POST data, stripped of magic quotes if necessary. If the variable is somehow set in both the GET data and the POST data, the value from the POST data will be returned and the GET value will be ignored.
Method getGet
Util::getGet() in Util.php
Gets a form variable from GET data, stripped of magic quotes if necessary. This function will NOT return a POST variable.
Method getPathInfo
Utility function to obtain PATH_INFO information.
Method getPost
Util::getPost() in Util.php
Gets a form variable from POST data, stripped of magic quotes if necessary. This function will NOT return a GET variable.
Method getRectangle
Returns a rectangle of a two-dimensional array.
Method getTempDir
Util::getTempDir() in Util.php
Determines the location of the system temporary directory.
Method getTempFile
Creates a temporary filename for the lifetime of the script, and (optionally) register it to be deleted at request shutdown.
h
top
Method hmac
Util::hmac() in Util.php
Calculate an HMAC for a given $data and secret $key using SHA-1.
Class Horde_Array
Horde_Array in Array.php
The Horde_Array:: class provides various methods for array manipulation.
Class Horde_Array_Sort_Helper
Constant HORDE_ERROR_DRIVER_CONFIG
Error code for an incomplete driver configuration.
Constant HORDE_ERROR_DRIVER_CONFIG_MISSING
Error code for a missing driver configuration.
i
top
Method isAlpha
String::isAlpha() in String.php
Returns true if the every character in the parameter is an alphabetic character.
Method isLower
String::isLower() in String.php
Returns true if ever character in the parameter is a lowercase letter in the current locale.
Method isUpper
String::isUpper() in String.php
Returns true if every character in the parameter is an uppercase letter in the current locale.
k
top
Variable $key
The array key to sort by.
l
top
Method length
String::length() in String.php
Returns the character (not byte) length of a string.
Method loadExtension
Tries to load a PHP extension, behaving correctly for all operating systems.
Method lower
String::lower() in String.php
Makes a string lowercase.
m
top
Method merge
Variables::merge() in Variables.php
n
top
Function ngettext
ngettext() in Util.php
Method nocacheUrl
Util::nocacheUrl() in Util.php
Returns a url with the 'nocache' parameter added, if the browser is buggy and caches old URLs.
Method nonInputVar
Checks to see if a value has been set by the script and not by GET, POST, or cookie input. The value being checked MUST be in the global scope.
p
top
Method pad
String::pad() in String.php
Returns a string padded to a certain length with another string.
Method pformInput
Util::pformInput() in Util.php
Prints a hidden form input containing the session name and id.
Method pos
String::pos() in String.php
Returns the numeric position of the first occurrence of $needle in the $haystack string.
Method prepareAddressList
Prepare a list of addresses for storage.
r
top
Method realPath
Util::realPath() in Util.php
Returns the canonical path of the string. Like PHP's built-in realpath() except the directory need not exist on the local server.
Method regexMatch
String::regexMatch() in String.php
Performs a multibyte safe regex match search on the text provided.
Method remove
Variables::remove() in Variables.php
Method removeParameter
Removes name=value pairs from a URL.
Method reverseCompare
Compare, in reverse order, two associative arrays by the array key defined in self::$key.
Method reverseCompareKeys
Compare, in reverse order, array keys case insensitively for uksort.
s
top
Method set
Variables::set() in Variables.php
Method setDefaultCharset
Sets a default charset that the String:: methods will use if none is explicitly specified.
Method sortAddressList
Function used by usort() to sort an address list.
Method strftime2date
Returns a format string to be used by date().
Class String
String in String.php
The String:: class provides static methods for charset and locale safe string manipulation.
Method substr
String::substr() in String.php
Returns part of a string.
Page String.php
String.php in String.php
t
top
Function textdomain
textdomain() in Util.php
u
top
Method ucfirst
String::ucfirst() in String.php
Returns a string with the first letter capitalized if it is alphabetic.
Method upper
String::upper() in String.php
Makes a string uppercase.
Method uriB64Decode
Decode URL-safe base64 data, dealing with missing =
Method uriB64Encode
URL-safe base64 encoding, with trimmed =
Class Util
Util in Util.php
The Util:: class provides generally useful methods of different kinds.
Page Util.php
Util.php in Util.php
v
top
Page Variables.php
Variables.php in Variables.php
Method valuesToKeys
Given an array, returns an associative array with each element key derived from its value.
Method Variables
Variables::Variables() in Variables.php
Class Variables
Variables in Variables.php
Variables:: class.
w
top
Method wordwrap
String::wordwrap() in String.php
Wraps the text of a message.
Method wrap
String::wrap() in String.php
Wraps the text of a message.
a b c d e f g h i k l m n p r s t u v w _