/core/internal_components/common/globals/php_functions.inc.phpAll the function available into PLICI
PLICI_ADMIN_PLICI_DIRECTORY = "admin_plici"
(line 67)
PLICI_ADMIN_SITES_DIRECTORY = "admin_sites"
(line 66)
PLICI_BD_DIRECTORY = "bd"
(line 68)
PLICI_BD_FOR_PLICI_ADMIN_SUPER_DIRECTORY = PLICI_BD_DIRECTORY."/".PLICI_FOR_PLICI_DIRECTORY."/admin_super"
(line 73)
PLICI_BD_FOR_PLICI_DIRECTORY = PLICI_BD_DIRECTORY."/".PLICI_FOR_PLICI_DIRECTORY
(line 72)
PLICI_BD_MY_ADMIN_SUPER_DIRECTORY = PLICI_BD_MY_DIRECTORY."/admin_super"
(line 70)
PLICI_BD_MY_ALL_SITES_DIRECTORY = PLICI_BD_MY_DIRECTORY."/_all_sites"
(line 71)
PLICI_BD_MY_DIRECTORY = PLICI_BD_DIRECTORY."/".PLICI_MY_DIRECTORY
(line 69)
PLICI_CORE_DIRECTORY = "core"
(line 76)
PLICI_CORE_ENTREES_ADMIN_SITES_DIRECTORY = PLICI_CORE_ENTREES_DIRECTORY."/".PLICI_ADMIN_SITES_DIRECTORY
(line 79)
PLICI_CORE_ENTREES_ADMIN_SITES_MY_DIRECTORY = PLICI_CORE_ENTREES_ADMIN_SITES_DIRECTORY."/".PLICI_MY_DIRECTORY
(line 83)
PLICI_CORE_ENTREES_DIRECTORY = PLICI_CORE_DIRECTORY."/entrees"
(line 77)
PLICI_CORE_ENTREES_FRONT_SITES_DIRECTORY = PLICI_CORE_ENTREES_DIRECTORY."/front_sites"
(line 78)
PLICI_CORE_ENTREES_FRONT_SITES_FOR_PLICI_DIRECTORY = PLICI_CORE_ENTREES_FRONT_SITES_DIRECTORY."/".PLICI_FOR_PLICI_DIRECTORY
(line 82)
PLICI_CORE_ENTREES_FRONT_SITES_MY_DIRECTORY = PLICI_CORE_ENTREES_FRONT_SITES_DIRECTORY."/".PLICI_MY_DIRECTORY
(line 81)
PLICI_CORE_EXTERNAL_COMPONENTS_PEAR_DIRECTORY = PLICI_CORE_DIRECTORY.'/external_components/pears'
(line 85)
PLICI_CORE_INTERNAL_COMMON_GLOBALS = PLICI_CORE_DIRECTORY.'/internal_components/common/globals'
(line 86)
PLICI_CORE_INTERNAL_COMPONENTS_FRONT_SITES_THEME_ELEMENT_DIRECTORY = PLICI_CORE_DIRECTORY."/internal_components/front_sites/theme_elements"
(line 87)
PLICI_CORE_INTERNAL_COMPONENTS_FRONT_SITES_THEME_ELEMENT_MY_DIRECTORY = PLICI_CORE_INTERNAL_COMPONENTS_FRONT_SITES_THEME_ELEMENT_DIRECTORY."/".PLICI_MY_DIRECTORY
(line 88)
PLICI_CORE_MODULE_DIRECTORY = PLICI_CORE_DIRECTORY."/module"
(line 89)
PLICI_FOR_PLICI_DIRECTORY = 'for_plici'
(line 59)
PLICI_INCLUDE_ENTREES_FRONT_SITES_FOR_PLICI_DIRECTORY = "entrees/front_sites/".PLICI_FOR_PLICI_DIRECTORY
(line 80)
PLICI_LOG_DIRECTORY = 'log'
(line 61)
PLICI_MOD_SRC_DIRECTORY = "original_module"
(line 92)
PLICI_MOD_SRC_MY_DIRECTORY = PLICI_MOD_SRC_DIRECTORY."/".PLICI_MY_DIRECTORY
(line 93)
PLICI_MOD_USER_DIRECTORY = "module"
(line 64)
PLICI_MY_DIRECTORY = 'my'
(line 58)
PLICI_PICTURE_DIRECTORY = "picture"
(line 109)
PLICI_PICTURE_EXT_DIRECTORY = PLICI_PICTURE_DIRECTORY."/ext"
(line 110)
PLICI_TMP_DIRECTORY = 'tmp'
(line 62)
PLICI_VIEW_DIRECTORY = "view"
(line 96)
PLICI_VIEW_EXTERNAL_COMPONENTS_DIRECTORY = PLICI_VIEW_DIRECTORY.'/external_components'
(line 105)
PLICI_VIEW_EXTERNAL_COMPONENTS_MY_DIRECTORY = PLICI_VIEW_EXTERNAL_COMPONENTS_DIRECTORY."/".PLICI_MY_DIRECTORY
(line 106)
PLICI_VIEW_EXTERNAL_COMPONENTS_STATS_PHPMV2_LIBS_DIRECTORY = PLICI_VIEW_DIRECTORY.'/external_components/stats/phpmv2/libs'
(line 104)
PLICI_VIEW_SITES_DIRECTORY = PLICI_VIEW_DIRECTORY."/sites"
(line 97)
PLICI_VIEW_SITES_FOR_PLICI_ADMIN_PLICI_DIRECTORY = PLICI_VIEW_SITES_FOR_PLICI_DIRECTORY."/".PLICI_ADMIN_PLICI_DIRECTORY
(line 101)
PLICI_VIEW_SITES_FOR_PLICI_DIRECTORY = PLICI_VIEW_SITES_DIRECTORY."/".PLICI_FOR_PLICI_DIRECTORY
(line 100)
PLICI_VIEW_SITES_MY_ADMIN_SITES_DIRECTORY = PLICI_VIEW_SITES_DIRECTORY."/".PLICI_MY_DIRECTORY.'/'.PLICI_ADMIN_SITES_DIRECTORY
(line 99)
PLICI_VIEW_SITES_MY_DIRECTORY = PLICI_VIEW_SITES_DIRECTORY."/".PLICI_MY_DIRECTORY
(line 98)
Translate an array in a PHP script file wich declare this array
Create the /my directories for PLICI environnement
Delete database cache (/bd/my/website/*.already_made) for a specific website
Delete database cache (/bd/for_plici/website/*.already_made) for a specific website
Delete Smarty file cache (/tmp/websitename/cache/websitename/) for a specific website
Delete all cache (/tmp/website/) for a specific website
Generate a random password
Find the admin directory of a web site
Get list of MY directories needed for PLICI
Transform a Smarty date to a string
Transform a Smarty date to a string and assign to smarty
For run_db_directory, make vars
Find a key in an array an return it or return default value
Find a key (or default value) in an array an assign it to smarty
No return new directory, only return the actual admin dir.
Find the link to connect to a database
Returns true if the given file/dir has been made writable (or is already writable).
Usefull function to support multilanguage request.
It change a "param_name" to "param_name_l1" for language 1 for example.
Drop a database.
BECAREFULL : Use it with care !
execute multiple SQL requests in a string BECAREFULL : She is also declared in databaseconnexion object
run an SQL script file
Execute an SQL script an find the login to connect to the good database
Copy a directory to another
Put a string into a file
Create multiple directories
delete a directory recursively
Scan a directory to list is files and directory (replace the php scan_dir function and add functionnalities)
Net url build a PLICI URL
Escape a string to replace " and ' by html codes
Retreive from an id the convert string in the good language
For the run_db_directory
Returns true if the given file/dir has been made writable (or is already writable).
Make a directory with path ending by a slash or not
Connect to a database and wait 10 times for a free connexion if mysql is out.
Function roud price
Translate a RSS to an Array
Print an integer in byte
Print a string to the PLICI date format
Print an integer with day or days.
Sample : 4 days, 0 day
Print an integer to the format 0.00%
Print a price from a float
Print price with 2 decimals
Print formated weight
Protect email
Recursibly test if is writable
Recursive make writable
Replace in files
Run the database scripts on /db/
A Smarty bloc forcing to not use cache
Delete accent from a string
$tofind = "+-àáâãäåÒÓÔÖØ=óôõöøèéêë>ÇçÝÏìíîïÝ<ùúûüÿÑñ"; $replac = "--aaaaaaOOOOO-oooooeeee-CcYIiiiiY-uuuuyNn";
Transform a string and write it
Transform a string
Update the PLICI config
Delete the database script cache (already made)
List of file into a folder and sub folder $exclude_dirs = Keys are the dirs to excludes
Print an image from t_graphic by smarty
Print a string translated in the current language from smarty
Documentation generated on Tue, 25 Mar 2008 15:35:28 +0100 by phpDocumentor 1.3.2