Update and standardize code
This commit is contained in:
parent
db3c17668e
commit
a669830427
@ -1633,7 +1633,11 @@ class Account extends CommonObject
|
|||||||
*/
|
*/
|
||||||
class AccountLine extends CommonObject
|
class AccountLine extends CommonObject
|
||||||
{
|
{
|
||||||
var $error;
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
var $db;
|
var $db;
|
||||||
var $element='bank';
|
var $element='bank';
|
||||||
var $table_element='bank';
|
var $table_element='bank';
|
||||||
|
|||||||
@ -29,7 +29,11 @@
|
|||||||
class PaymentTerm // extends CommonObject
|
class PaymentTerm // extends CommonObject
|
||||||
{
|
{
|
||||||
var $db; //!< To store db handler
|
var $db; //!< To store db handler
|
||||||
var $error; //!< To return error code (or message)
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
|
|||||||
@ -37,8 +37,11 @@ abstract class ActionsContactCardCommon
|
|||||||
var $tpl = array();
|
var $tpl = array();
|
||||||
//! Object container
|
//! Object container
|
||||||
var $object;
|
var $object;
|
||||||
//! Error string
|
|
||||||
var $error;
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -30,7 +30,10 @@
|
|||||||
*/
|
*/
|
||||||
class AntiVir
|
class AntiVir
|
||||||
{
|
{
|
||||||
var $error;
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
|
|||||||
@ -29,7 +29,11 @@
|
|||||||
class Canvas
|
class Canvas
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
|
|||||||
@ -33,7 +33,11 @@
|
|||||||
class Ccountry // extends CommonObject
|
class Ccountry // extends CommonObject
|
||||||
{
|
{
|
||||||
var $db; //!< To store db handler
|
var $db; //!< To store db handler
|
||||||
var $error; //!< To return error code (or message)
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
|
|||||||
@ -33,7 +33,11 @@
|
|||||||
class Cstate // extends CommonObject
|
class Cstate // extends CommonObject
|
||||||
{
|
{
|
||||||
var $db; //!< To store db handler
|
var $db; //!< To store db handler
|
||||||
var $error; //!< To return error code (or message)
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
|
|||||||
@ -28,7 +28,11 @@
|
|||||||
class Ctypent // extends CommonObject
|
class Ctypent // extends CommonObject
|
||||||
{
|
{
|
||||||
var $db; //!< To store db handler
|
var $db; //!< To store db handler
|
||||||
var $error; //!< To return error code (or message)
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
|
|||||||
@ -69,7 +69,11 @@ class DolGraph
|
|||||||
var $showpercent=0;
|
var $showpercent=0;
|
||||||
var $combine=0; // 0.05 if you want to combine records < 5% into "other"
|
var $combine=0; // 0.05 if you want to combine records < 5% into "other"
|
||||||
var $graph; // Objet Graph (Artichow, Phplot...)
|
var $graph; // Objet Graph (Artichow, Phplot...)
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
var $bordercolor; // array(R,G,B)
|
var $bordercolor; // array(R,G,B)
|
||||||
var $bgcolor; // array(R,G,B)
|
var $bgcolor; // array(R,G,B)
|
||||||
|
|||||||
@ -109,7 +109,11 @@ class dolReceiptPrinter extends Escpos
|
|||||||
var $tags;
|
var $tags;
|
||||||
var $printer;
|
var $printer;
|
||||||
var $template;
|
var $template;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
|
|||||||
@ -40,7 +40,10 @@ class Events // extends CommonObject
|
|||||||
var $id;
|
var $id;
|
||||||
var $db;
|
var $db;
|
||||||
|
|
||||||
var $error;
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
var $tms;
|
var $tms;
|
||||||
var $type;
|
var $type;
|
||||||
|
|||||||
@ -88,7 +88,11 @@ class ExtraFields
|
|||||||
// New array to store extrafields definition
|
// New array to store extrafields definition
|
||||||
var $attributes;
|
var $attributes;
|
||||||
|
|
||||||
var $error;
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
var $errno;
|
var $errno;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,11 @@
|
|||||||
class GoogleAPI
|
class GoogleAPI
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
var $key;
|
var $key;
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,11 @@
|
|||||||
class HookManager
|
class HookManager
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
|
|||||||
@ -48,7 +48,12 @@
|
|||||||
class Form
|
class Form
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
var $num;
|
var $num;
|
||||||
|
|
||||||
// Cache arrays
|
// Cache arrays
|
||||||
|
|||||||
@ -36,7 +36,11 @@ class FormAccounting extends Form
|
|||||||
private $options_cache = array();
|
private $options_cache = array();
|
||||||
|
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@ -30,7 +30,11 @@
|
|||||||
class FormActions
|
class FormActions
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -30,7 +30,11 @@
|
|||||||
class FormAdmin
|
class FormAdmin
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -30,7 +30,11 @@
|
|||||||
class FormBank
|
class FormBank
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -29,7 +29,11 @@
|
|||||||
class FormBarCode
|
class FormBarCode
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -32,7 +32,11 @@
|
|||||||
class FormCompany
|
class FormCompany
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -28,7 +28,11 @@
|
|||||||
class FormContract
|
class FormContract
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -29,7 +29,11 @@
|
|||||||
class FormCron extends Form
|
class FormCron extends Form
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@ -28,7 +28,11 @@
|
|||||||
class FormIntervention
|
class FormIntervention
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -85,7 +85,10 @@ class FormMail extends Form
|
|||||||
public $withtouser=array();
|
public $withtouser=array();
|
||||||
public $withtoccuser=array();
|
public $withtoccuser=array();
|
||||||
|
|
||||||
var $error;
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
public $lines_model;
|
public $lines_model;
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,11 @@
|
|||||||
class FormMargin
|
class FormMargin
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -30,7 +30,11 @@
|
|||||||
class FormProjets
|
class FormProjets
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -28,7 +28,11 @@
|
|||||||
class FormPropal
|
class FormPropal
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -56,7 +56,10 @@ class FormSms
|
|||||||
var $substit=array();
|
var $substit=array();
|
||||||
var $param=array();
|
var $param=array();
|
||||||
|
|
||||||
var $error;
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -28,7 +28,11 @@
|
|||||||
class FormSocialContrib
|
class FormSocialContrib
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -29,7 +29,10 @@
|
|||||||
*/
|
*/
|
||||||
class Ldap
|
class Ldap
|
||||||
{
|
{
|
||||||
var $error;
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tableau des serveurs (IP addresses ou nom d'hotes)
|
* Tableau des serveurs (IP addresses ou nom d'hotes)
|
||||||
|
|||||||
@ -32,7 +32,11 @@ class Notify
|
|||||||
{
|
{
|
||||||
var $id;
|
var $id;
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
|
|||||||
@ -27,7 +27,11 @@
|
|||||||
class RssParser
|
class RssParser
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
private $_format='';
|
private $_format='';
|
||||||
private $_urlRSS;
|
private $_urlRSS;
|
||||||
|
|||||||
@ -32,7 +32,12 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php';
|
|||||||
class MailingTargets // This can't be abstract as it is used for some method
|
class MailingTargets // This can't be abstract as it is used for some method
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
var $tooltip='';
|
var $tooltip='';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,11 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
|||||||
class PrintingDriver
|
class PrintingDriver
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -42,12 +42,16 @@ class printing_printgcp extends PrintingDriver
|
|||||||
var $conf = array();
|
var $conf = array();
|
||||||
var $google_id = '';
|
var $google_id = '';
|
||||||
var $google_secret = '';
|
var $google_secret = '';
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
*/
|
*/
|
||||||
public $errors = array ();
|
public $errors = array();
|
||||||
|
|
||||||
var $db;
|
var $db;
|
||||||
|
|
||||||
|
|||||||
@ -40,12 +40,16 @@ class printing_printipp extends PrintingDriver
|
|||||||
var $userid; /* user login */
|
var $userid; /* user login */
|
||||||
var $user;
|
var $user;
|
||||||
var $password;
|
var $password;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
*/
|
*/
|
||||||
public $errors = array ();
|
public $errors = array();
|
||||||
|
|
||||||
var $db;
|
var $db;
|
||||||
|
|
||||||
|
|||||||
@ -28,7 +28,11 @@ require_once DOL_DOCUMENT_ROOT.'/ecm/class/ecmdirectory.class.php';
|
|||||||
class FormEcm
|
class FormEcm
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2379,7 +2379,11 @@ class ExpenseReport extends CommonObject
|
|||||||
class ExpenseReportLine
|
class ExpenseReportLine
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
var $rowid;
|
var $rowid;
|
||||||
var $comments;
|
var $comments;
|
||||||
|
|||||||
@ -1310,7 +1310,11 @@ class Fichinter extends CommonObject
|
|||||||
class FichinterLigne extends CommonObjectLine
|
class FichinterLigne extends CommonObjectLine
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
// From llx_fichinterdet
|
// From llx_fichinterdet
|
||||||
var $fk_fichinter;
|
var $fk_fichinter;
|
||||||
|
|||||||
@ -38,7 +38,11 @@ require_once DOL_DOCUMENT_ROOT.'/product/dynamic_price/class/price_parser.class.
|
|||||||
class ProductFournisseur extends Product
|
class ProductFournisseur extends Product
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
var $product_fourn_price_id; // id of ligne product-supplier
|
var $product_fourn_price_id; // id of ligne product-supplier
|
||||||
|
|
||||||
|
|||||||
@ -43,7 +43,10 @@ class Import
|
|||||||
var $array_import_convertvalue;
|
var $array_import_convertvalue;
|
||||||
var $array_import_run_sql_after;
|
var $array_import_run_sql_after;
|
||||||
|
|
||||||
var $error;
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
|
|||||||
@ -39,7 +39,11 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
|
|||||||
class MailmanSpip
|
class MailmanSpip
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
var $mladded_ok;
|
var $mladded_ok;
|
||||||
var $mladded_ko;
|
var $mladded_ko;
|
||||||
|
|||||||
@ -30,7 +30,11 @@ require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php';
|
|||||||
class FormProduct
|
class FormProduct
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
// Cache arrays
|
// Cache arrays
|
||||||
var $cache_warehouses=array();
|
var $cache_warehouses=array();
|
||||||
|
|||||||
@ -30,7 +30,11 @@
|
|||||||
class PriceExpression
|
class PriceExpression
|
||||||
{
|
{
|
||||||
var $db; //!< To store db handler
|
var $db; //!< To store db handler
|
||||||
var $error; //!< To return error code (or message)
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
|
|||||||
@ -30,12 +30,16 @@
|
|||||||
class PriceGlobalVariable
|
class PriceGlobalVariable
|
||||||
{
|
{
|
||||||
var $db; //!< To store db handler
|
var $db; //!< To store db handler
|
||||||
var $error; //!< To return error code (or message)
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
*/
|
*/
|
||||||
public $errors = array ();
|
public $errors = array();
|
||||||
|
|
||||||
var $id;
|
var $id;
|
||||||
var $code;
|
var $code;
|
||||||
|
|||||||
@ -30,12 +30,16 @@
|
|||||||
class PriceGlobalVariableUpdater
|
class PriceGlobalVariableUpdater
|
||||||
{
|
{
|
||||||
var $db; //!< To store db handler
|
var $db; //!< To store db handler
|
||||||
var $error; //!< To return error code (or message)
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @var string[] Error codes (or messages)
|
* @var string[] Error codes (or messages)
|
||||||
*/
|
*/
|
||||||
public $errors = array ();
|
public $errors = array();
|
||||||
|
|
||||||
var $types=array(0, 1); //!< Updater types
|
var $types=array(0, 1); //!< Updater types
|
||||||
var $update_min = 5; //!< Minimal update rate
|
var $update_min = 5; //!< Minimal update rate
|
||||||
|
|||||||
@ -38,7 +38,10 @@ class FormResource
|
|||||||
var $substit=array();
|
var $substit=array();
|
||||||
var $param=array();
|
var $param=array();
|
||||||
|
|
||||||
var $error;
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2637,7 +2637,11 @@ class SupplierProposal extends CommonObject
|
|||||||
class SupplierProposalLine extends CommonObjectLine
|
class SupplierProposalLine extends CommonObjectLine
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
var $error;
|
|
||||||
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
public $element='supplier_proposaldet';
|
public $element='supplier_proposaldet';
|
||||||
public $table_element='supplier_proposaldet';
|
public $table_element='supplier_proposaldet';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user