1,988
edits
(Created page with "The following page describes some important functions used by dolibarr. GETPOST GETPOST() : function to retrieve the content of GET or POST variables in a more secure way. Th...") Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
| Line 1: | Line 1: | ||
{{TemplateDocDev}} | |||
The following page describes some important functions used by dolibarr. | The following page describes some important functions used by dolibarr. | ||
GETPOST | |||
== GETPOST == | |||
GETPOST() : function to retrieve the content of GET or POST variables in a more secure way. The PHP methods $_GET and $_POST should not be used. | GETPOST() : function to retrieve the content of GET or POST variables in a more secure way. The PHP methods $_GET and $_POST should not be used. | ||
| Line 29: | Line 32: | ||
For more information see the comments of the function in the file htdocs/core/lib/functions.lib.php | For more information see the comments of the function in the file htdocs/core/lib/functions.lib.php | ||
GETPOSTISSET() | |||
== GETPOSTISSET() == | |||
GETPOSTISSET(variableName) allows to know if the GET or POST variable passed in parameter is defined. | GETPOSTISSET(variableName) allows to know if the GET or POST variable passed in parameter is defined. | ||
| Line 42: | Line 46: | ||
For more information see the comments of the function in the file htdocs/core/lib/functions.lib.php | For more information see the comments of the function in the file htdocs/core/lib/functions.lib.php | ||
img_picto | |||
== img_picto == | |||
img_picto() function to insert an image. | img_picto() function to insert an image. | ||
| Line 49: | Line 54: | ||
For more information see the comments of the function in the file htdocs/core/lib/functions.lib.php | For more information see the comments of the function in the file htdocs/core/lib/functions.lib.php | ||
edits