Full index

Package indexes


a b c d e f g h i j k l m n o p r s t u v x
a
top
add_form_error
cphplib_formular::add_form_error() in cphplib_formular.inc
Add formular error message to stack ($this->form_errors)
age_from_birthday
computes the exact age (considering leap years!) of the person born on the specified birthday measured from today or a specified date
array_rsort
cphplib::array_rsort() in cphplib.inc
reverse sort array (subfunction for usort)
array_sort
cphplib::array_sort() in cphplib.inc
sort array (subfunction for usort)
array_unique
Removes duplicate values from an array (recursive) (this function is much slower than the internal php function)
b
top
$browser_type
cphplib_formular::$browser_type in cphplib_formular.inc
Current browser type
browser_type
Returns type of browser
c
top
$class_button
cphplib_formular::$class_button in cphplib_formular.inc
CSS class for buttons in formular
$class_error_body
cphplib_formular::$class_error_body in cphplib_formular.inc
CSS class for error messages (BODY)
$class_error_header
CSS class for error messages (HEADER)
$class_non_error
cphplib_formular::$class_non_error in cphplib_formular.inc
CSS class for valid input fileds (non-error displaying)
$class_shadow
cphplib_formular::$class_shadow in cphplib_formular.inc
CSS class for buttons in formular (for error displaying)
checkBankId
cphplib::checkBankId() in cphplib.inc
validate German Bankleitzahl ( allowed seperators: "-", "." or " ")
checkBirthday
Check birthday
checkColor
cphplib::checkColor() in cphplib.inc
check if string is a valid color value for HTML and CSS
checkDomainName
validate domain name
checkEAN
cphplib::checkEAN() in cphplib.inc
Verify EAN
checkEmail
cphplib::checkEmail() in cphplib.inc
validate email address format
checkHtmlTag
check if a string has HTML tags
checkIP
cphplib::checkIP() in cphplib.inc
validate IP address
checkMAC
cphplib::checkMAC() in cphplib.inc
validate MAC address
checkNumber
cphplib::checkNumber() in cphplib.inc
is string a valid number?
checkNumWildcard
validate number (positiv) with wildcards
checkPassword
validate password format
checkPhone
cphplib::checkPhone() in cphplib.inc
validate phone number
checkString
cphplib::checkString() in cphplib.inc
validate string with letters only
checkUserName
validate user name (only alpha-numeric, '_' and '-' (but not as first sign, because some systems has problems with this) are allowed)
checkZip
cphplib::checkZip() in cphplib.inc
validate post zip code
check_php_version
checks version of php and if pear is installed
convDate
cphplib::convDate() in cphplib.inc
Convert date format
convDateTime
convert datetime format
convFirstLetter
convert first letter to upper or lower
convHtml
cphplib::convHtml() in cphplib.inc
convert ascii string to HTML string (because of a bug, it is better to set magic_quotes_gpc=Off in your php.ini)
convnumSep
cphplib::convnumSep() in cphplib.inc
convert seperator in number and fill number to specified length
convTime
cphplib::convTime() in cphplib.inc
validate time format and convert it into right format
convToNum
cphplib::convToNum() in cphplib.inc
convert string to number while converting old seperator with "."
convToTimestamp
validate time format and convert it into right format
convUmlaute
cphplib::convUmlaute() in cphplib.inc
convert German Umlaute to HTML and vice versa
convUrl
cphplib::convUrl() in cphplib.inc
checks for protocol, if missing http will be used
countdown
cphplib::countdown() in cphplib.inc
counts days till specified day
cphplib
cphplib::cphplib() in cphplib.inc
constructor
cphplib
cphplib in cphplib.inc
cphplib class
cphplib_formular
cphplib_formular in cphplib_formular.inc
cphplib formular extention
cphplib_formular
cphplib_formular::cphplib_formular() in cphplib_formular.inc
cphplib_formular.inc
cphplib_formular.inc in cphplib_formular.inc
cphplib.inc
cphplib.inc in cphplib.inc
cross_sum
cphplib::cross_sum() in cphplib.inc
Return cross sum of a number
currentDate
cphplib::currentDate() in cphplib.inc
the current date
currentTime
cphplib::currentTime() in cphplib.inc
the current time
d
top
$date_format
cphplib::$date_format in cphplib.inc
Date format
$db
cphplib::$db in cphplib.inc
Database pear object (mysql or pgsql)
$db_type
cphplib::$db_type in cphplib.inc
Type of database
$default_date_period
Default date view mode: M = month Q = quarter Y = year
date2days
cphplib::date2days() in cphplib.inc
calculates days to a given date
dbsessionsub_start
starts sub session within a session. You can use it to group the session in different parts Required : read README file
dbsession_delete
unregister variable in dbsession Required : read README file
dbsession_end
ends dbsession or dbsessionsub (Read the README file for requirements)
dbsession_read
register variable in dbsession
dbsession_start
starts dbsession. Enables session fallback handling. This functions
dbsession_write
register variable in dbsession Required : read README file
db_close
cphplib::db_close() in cphplib.inc
disconnect current database connection (change $this->db for select the right one, if you use more the one connection)
db_connect
cphplib::db_connect() in cphplib.inc
Opens a connection to a database server and select database Furthermore it sets $this->db to the PEAR database object, which is required for dbsession
db_free_id
cphplib::db_free_id() in cphplib.inc
Get number of lowest unused number in a column)
db_insert_id
Get the id generated from the previous INSERT operation
db_next_id
cphplib::db_next_id() in cphplib.inc
Get next available number
db_seq_id
cphplib::db_seq_id() in cphplib.inc
Get next available number
db_version
cphplib::db_version() in cphplib.inc
check right database version
e
top
$error_color
cphplib_formular::$error_color in cphplib_formular.inc
Color for error displaying (only used for opera!)
$error_level
cphplib::$error_level in cphplib.inc
Error level
$error_user_function
User defined function
$err_mode
cphplib_formular::$err_mode in cphplib_formular.inc
Show error messages with class
end_tag
cphplib::end_tag() in cphplib.inc
Return end tag for formular objects attending xhtml settings ($this->xhtml)
f
top
$first_date_year
cphplib_formular::$first_date_year in cphplib_formular.inc
First year in date select box
$formular_name
cphplib_formular::$formular_name in cphplib_formular.inc
Current formular name
$form_errors
cphplib_formular::$form_errors in cphplib_formular.inc
Formular error messages
fileExtension
return file extension
file_exists
cphplib::file_exists() in cphplib.inc
Checks whether a file or directory exists (also checks the include_path in php.ini)
fm_button
cphplib_formular::fm_button() in cphplib_formular.inc
Calculates button string
fm_checkbox
cphplib_formular::fm_checkbox() in cphplib_formular.inc
checkbox for formular
fm_date
cphplib_formular::fm_date() in cphplib_formular.inc
calculates Date select string
fm_end
cphplib_formular::fm_end() in cphplib_formular.inc
close tag for HTML form
fm_file
cphplib_formular::fm_file() in cphplib_formular.inc
calculates file input field
fm_hidden
cphplib_formular::fm_hidden() in cphplib_formular.inc
Hidden field
fm_image
cphplib_formular::fm_image() in cphplib_formular.inc
calculates image button
fm_input
cphplib_formular::fm_input() in cphplib_formular.inc
calculats input tag for formular
fm_month_days
cphplib_formular::fm_month_days() in cphplib_formular.inc
Get day of month
fm_month_options
cphplib_formular::fm_month_options() in cphplib_formular.inc
options with months
fm_quarter_options
options with quarters
fm_radio
cphplib_formular::fm_radio() in cphplib_formular.inc
checkbox for formular
fm_select
cphplib_formular::fm_select() in cphplib_formular.inc
calculates select start for formular
fm_select_period
cphplib_formular::fm_select_period() in cphplib_formular.inc
draw period form dialog
fm_start
cphplib_formular::fm_start() in cphplib_formular.inc
begining for formular (this function can only handle the session_id, if dbsession_start has been called immediately after creating the class object)
fm_submit
cphplib_formular::fm_submit() in cphplib_formular.inc
calculates submit button string
fm_text
cphplib_formular::fm_text() in cphplib_formular.inc
calculates text field for formular
fm_year_options
cphplib_formular::fm_year_options() in cphplib_formular.inc
options with years
g
top
generate_password
generate password with specified characteristics
get_base_url
Calculate active URL of an array for validation (can be used for multi URL sites (e.g. dyndns)
get_client_ip
get the ip address from the client, even if the client is befind a proxy (it doesn't work with transparent proxy!)
get_error_class
cphplib_formular::get_error_class() in cphplib_formular.inc
Get error CSS class
get_filename_from_text
Cleanup text from invalid characters for filename
get_fontsizes
calculates CSS font sizes. This is a small solution, that the appearance looks similar with different browser types and operating systems
get_form_errors
cphplib_formular::get_form_errors() in cphplib_formular.inc
Get formular error messages
get_id_string
create unique identification string
get_image_size
Return size of image file
get_mod_rewrite_url
Get url for mod_rewrite
get_user_var
returns value of special variable type from user input (If register_globals is Off (default since 4.2.0), this function can be used, to handle user variables (insecure variables).
h
top
hitcounter
cphplib::hitcounter() in cphplib.inc
hit counter for web pages Required : every line in filename is a keyword, first line is the description (first line with quotes!!!)
html_head
cphplib::html_head() in cphplib.inc
Write HTML head
html_header
cphplib::html_header() in cphplib.inc
Setup HTML header
i
top
$image_url
cphplib::$image_url in cphplib.inc
Image URL to all images
in_multi_array
search needle in multi array
isvoid
isvoid() in cphplib.inc
Replacement for useless PHP empty function Returns true, if string is empty
is_form_error
cphplib_formular::is_form_error() in cphplib_formular.inc
Exists a formular error
j
top
js_conv
cphplib::js_conv() in cphplib.inc
Convert string to javascript compatible output
k
top
killSpace
cphplib::killSpace() in cphplib.inc
Removes all whitespaces in a string
l
top
$locale
cphplib::$locale in cphplib.inc
locale to use (see "man locale")
m
top
$mod_rewrite
cphplib::$mod_rewrite in cphplib.inc
take special care for mod_rewrite
$m_dbsession_cookies
cookies can be used for dbsession
$m_dbsession_detail_table
$m_dbsession_handler
$m_dbsession_id
$m_dbsession_id_name
$m_dbsession_table
$m_dbsession_timeout
$m_sep_i
cphplib::$m_sep_i in cphplib.inc
International seperator
$m_sep_l
cphplib::$m_sep_l in cphplib.inc
German seperator
$m_sep_s
cphplib::$m_sep_s in cphplib.inc
Science seperator
metatag_write
prints a meta description and meta keywords line for xhtml Required : every line in filename is a keyword, first line is the description (first line with quotes!!!)
n
top
net_access
cphplib::net_access() in cphplib.inc
check, if client IP or hostname is in access list
o
top
$os_type
cphplib_formular::$os_type in cphplib_formular.inc
Current client operating system
os_type
cphplib::os_type() in cphplib.inc
returns type of operating system
p
top
$page_entries
cphplib::$page_entries in cphplib.inc
Max. entries on one page of a list
pager
cphplib::pager() in cphplib.inc
pager (navigation) for list
r
top
rand_value
cphplib::rand_value() in cphplib.inc
generate rand string/number with specified length
remove_form_error
Remove formular error message from error stack ($this->form_errors)
remove_magic_quotes
removes magic quotes
rgb2dec
cphplib::rgb2dec() in cphplib.inc
convert rgb to decimal color code
s
top
$set_formular_id
cphplib_formular::$set_formular_id in cphplib_formular.inc
Set id parameter of formular object
$set_formular_name
cphplib_formular::$set_formular_name in cphplib_formular.inc
Set name parameter of formular object
$sql_like
cphplib::$sql_like in cphplib.inc
like not case sensitive for SQL
set_format
cphplib::set_format() in cphplib.inc
Set date and time format to cphplib
set_locale
cphplib::set_locale() in cphplib.inc
Set locale
set_strings
cphplib::set_strings() in cphplib.inc
Set strings for pager and Date methods
show_dbdate
cphplib::show_dbdate() in cphplib.inc
Get date from db-date format (short form of convDate)
show_dbdatetime
Get Datetime from db-date format (short form of convDate)
show_error
cphplib::show_error() in cphplib.inc
Show cphplib error
show_form_errors
cphplib_formular::show_form_errors() in cphplib_formular.inc
show all formular errors
sql_value
cphplib::sql_value() in cphplib.inc
Envelops a string with quotes (for db INSERT,UPDATES or SELECT)
t
top
$time_format
cphplib::$time_format in cphplib.inc
Time format
table_header
table header for all tables with optional sort support
text_shorten
shorten text to given length for display
u
top
url
cphplib::url() in cphplib.inc
prints url as html tag (this function can only handle the session_id, if dbsession_start has been called immediately after creating the class object)
url_on_scripthost
checks if specified url is on script server (on the host where your scripts are)
v
top
$version
cphplib::$version in cphplib.inc
cphplib version
validate_timestamp
validate given date
x
top
$xhtml
cphplib::$xhtml in cphplib.inc
xhtml output
a b c d e f g h i j k l m n o p r s t u v x