Element index for package core
Package indexes
[ c ]
[ d ]
[ f ]
[ g ]
[ i ]
[ m ]
[ p ]
[ q ]
[ s ]
[ t ]
[ v ]
c
- cacheImage
- in file functions-image.php, function cacheImage()
Creates the cache folder version of the image, including watermarking
d
- db_connect
- in file functions-db.php, function db_connect()
Connect to the database server and select the database.
- DEBUG_LOCALE
- in file functions-i18n.php, constant DEBUG_LOCALE
g
- generateLanguageList
- in file functions-i18n.php, function generateLanguageList()
Returns an array of available language locales.
- generateLanguageOptionList
- in file functions-i18n.php, function generateLanguageOptionList()
Generates the option list for the language selectin <select>
- getImageRotation
- in file functions-image.php, function getImageRotation()
- getSetClause
- in file functions-db.php, function getSetClause()
Constructs a SET clause ("SET uniqueid1='uniquevalue1', uniqueid2='uniquevalue2' ...") from an array (map) of variables and their values which identifies a unique record in the database table. Used to 'move' records. Note: does not check anything.
- getTimezones
- in file functions-i18n.php, function getTimezones()
Returns a list of timezones
- getUserLocale
- in file functions-i18n.php, function getUserLocale()
Returns a saved (or posted) locale. Posted locales are stored as a cookie.
- getWhereClause
- in file functions-db.php, function getWhereClause()
Constructs a WHERE clause ("WHERE uniqueid1='uniquevalue1' AND uniqueid2='uniquevalue2' ...") from an array (map) of variables and their values which identifies a unique record in the database table.
- get_language_string
- in file functions-i18n.php, function get_language_string()
Returns the sring for the current language from a serialized set of language strings Defaults to the string for the current locale, the en_US string, or the first string which ever is present
i
- imageDebug
- in file functions-image.php, function imageDebug()
Prints debug information from the arguments to i.php.
- imageError
- in file functions-image.php, function imageError()
If in debug mode, prints the given error message and continues; otherwise redirects to the given error message image and exits; designed for a production gallery.
m
- MAX_SIZE
- in file functions-image.php, constant MAX_SIZE
p
- parseHttpAcceptLanguage
- in file functions-i18n.php, function parseHttpAcceptLanguage()
This function will parse a given HTTP Accepted language instruction (or retrieve it from $_SERVER if not provided) and will return a sorted array. For example, it will parse fr;en-us;q=0.8
- prefix
- in file functions-db.php, function prefix()
Prefix a table name with a user-defined string to avoid conflicts.
- propSizes
- in file functions-image.php, function propSizes()
Calculates proprotional width and height Used internally by cacheImage
q
- query
- in file functions-db.php, function query()
The main query function. Runs the SQL on the connection and handles errors.
- query_full_array
- in file functions-db.php, function query_full_array()
Runs a SQL query and returns an array of associative arrays of every row returned.
- query_single_row
- in file functions-db.php, function query_single_row()
Runs a SQL query and returns an associative array of the first row.
s
- setMainDomain
- in file functions-i18n.php, function setMainDomain()
Sets the locale, etc. to the zenphoto domain details.
- setPluginDomain
- in file functions-i18n.php, function setPluginDomain()
Sets the optional textdomain for separate translation files for plugins.
- setThemeDomain
- in file functions-i18n.php, function setThemeDomain()
Sets the optional textdomain for separate translation files for themes.
- setupCurrentLocale
- in file functions-i18n.php, function setupCurrentLocale()
Setup code for gettext translation Returns the result of the setlocale call
- setupLanguageArray
- in file functions-i18n.php, function setupLanguageArray()
t
- timezoneDiff
- in file functions-i18n.php, function timezoneDiff()
Returns the difference between the server timez one and the local (users) time zone
v
- validateLocale
- in file functions-i18n.php, function validateLocale()
checks a "supplied" locale against the valid locales.
|
|