fix some language issues
This commit is contained in:
parent
3cdb2ba8e1
commit
b015c7799a
@ -4,5 +4,5 @@ README (English)
|
|||||||
This directory contains samples of code to use Dolibarr business classes to build
|
This directory contains samples of code to use Dolibarr business classes to build
|
||||||
external interfaces that need to read/update data from/into Dolibarr.
|
external interfaces that need to read/update data from/into Dolibarr.
|
||||||
|
|
||||||
You can also have a look at the Dolibarr doxygen doc that describe all files and classes:
|
You can also have a look at the Dolibarr doxygen doc that describes all files and classes:
|
||||||
http://www.dolibarr.org/html_doxygen/index.html
|
http://www.dolibarr.org/html_doxygen/index.html
|
||||||
|
|||||||
@ -17,9 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file dev/examples/manage_order.php
|
* \file dev/examples/create_invoice.php
|
||||||
* \brief This file is an example for a command line script
|
* \brief This file is an example for a command line script
|
||||||
* \author Put author name here
|
* \author Put author's name here
|
||||||
* \remarks Put here some comments
|
* \remarks Put here some comments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/';
|
|||||||
|
|
||||||
// Test if batch mode
|
// Test if batch mode
|
||||||
if (substr($sapi_type, 0, 3) == 'cgi') {
|
if (substr($sapi_type, 0, 3) == 'cgi') {
|
||||||
echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
|
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -17,9 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file dev/examples/manage_order.php
|
* \file dev/examples/create_order.php
|
||||||
* \brief This file is an example for a command line script
|
* \brief This file is an example for a command line script
|
||||||
* \author Put author name here
|
* \author Put author's name here
|
||||||
* \remarks Put here some comments
|
* \remarks Put here some comments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/';
|
|||||||
|
|
||||||
// Test if batch mode
|
// Test if batch mode
|
||||||
if (substr($sapi_type, 0, 3) == 'cgi') {
|
if (substr($sapi_type, 0, 3) == 'cgi') {
|
||||||
echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
|
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
/**
|
/**
|
||||||
* \file dev/examples/create_product.php
|
* \file dev/examples/create_product.php
|
||||||
* \brief This file is an example for a command line script
|
* \brief This file is an example for a command line script
|
||||||
* \author Put author name here
|
* \author Put author's name here
|
||||||
* \remarks Put here some comments
|
* \remarks Put here some comments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/';
|
|||||||
|
|
||||||
// Test if batch mode
|
// Test if batch mode
|
||||||
if (substr($sapi_type, 0, 3) == 'cgi') {
|
if (substr($sapi_type, 0, 3) == 'cgi') {
|
||||||
echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
|
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ require_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
|
|||||||
// Create instance of object
|
// Create instance of object
|
||||||
$myproduct=new Product($db);
|
$myproduct=new Product($db);
|
||||||
|
|
||||||
// Définition des propriétés de l'instance product
|
// Definition of product instance properties
|
||||||
$myproduct->ref = '1234';
|
$myproduct->ref = '1234';
|
||||||
$myproduct->libelle = 'libelle';
|
$myproduct->libelle = 'libelle';
|
||||||
$myproduct->price = '10';
|
$myproduct->price = '10';
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
/**
|
/**
|
||||||
* \file dev/examples/create_user.php
|
* \file dev/examples/create_user.php
|
||||||
* \brief This file is an example for a command line script
|
* \brief This file is an example for a command line script
|
||||||
* \author Put author name here
|
* \author Put author's name here
|
||||||
* \remarks Put here some comments
|
* \remarks Put here some comments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/';
|
|||||||
|
|
||||||
// Test if batch mode
|
// Test if batch mode
|
||||||
if (substr($sapi_type, 0, 3) == 'cgi') {
|
if (substr($sapi_type, 0, 3) == 'cgi') {
|
||||||
echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
|
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -17,9 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file dev/examples/manage_order.php
|
* \file dev/examples/get_contracts.php
|
||||||
* \brief This file is an example for a command line script
|
* \brief This file is an example for a command line script
|
||||||
* \author Put author name here
|
* \author Put author's name here
|
||||||
* \remarks Put here some comments
|
* \remarks Put here some comments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ $path=dirname(__FILE__).'/';
|
|||||||
|
|
||||||
// Test if batch mode
|
// Test if batch mode
|
||||||
if (substr($sapi_type, 0, 3) == 'cgi') {
|
if (substr($sapi_type, 0, 3) == 'cgi') {
|
||||||
echo "Error: You ar usingr PH for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
|
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user