Some functions you should know

SPIP contains many extremely useful PHP functions. Some are used more frequently than others and deserve a bit more explanation.

Name Description
charger_fonction
Finds a function
find_all_in_path
Finds a list of files
find_in_path
Finds a function
include_spip
Includes a PHP library
recuperer_fond
Returns the results of compiling a template
spip_log
Outputs additional data to the logs
trouver_table
Provides the description of an SQL table
_request
Retrieves a variable from the URL or a form.

Updated : 16/05/10

Translations : English, français