Update and standardize code
This commit is contained in:
parent
edb566501d
commit
c48211ad70
@ -46,8 +46,18 @@ class AccountingAccount extends CommonObject
|
||||
public $restrictiononfksoc = 1;
|
||||
|
||||
var $db;
|
||||
var $error;
|
||||
var $errors;
|
||||
|
||||
/**
|
||||
* @var string Error code (or message)
|
||||
*/
|
||||
public $error='';
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
var $id;
|
||||
var $rowid;
|
||||
var $datec; // Creation date
|
||||
|
||||
@ -43,8 +43,12 @@ abstract class ActionsAdherentCardCommon
|
||||
var $object;
|
||||
//! Error string
|
||||
var $error;
|
||||
//! Error array
|
||||
var $errors=array();
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -31,7 +31,12 @@ class AdvanceTargetingMailing extends CommonObject
|
||||
|
||||
var $db; //!< To store db handler
|
||||
var $error; //!< To return error code (or message)
|
||||
var $errors = array(); //!< To return several error codes (or messages)
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
var $element='advtargetemailing'; //!< Id that identify managed objects
|
||||
var $table_element='advtargetemailing'; //!< Name of table without prefix where object is stored
|
||||
|
||||
|
||||
@ -30,7 +30,12 @@ class PaymentTerm // extends CommonObject
|
||||
{
|
||||
var $db; //!< To store db handler
|
||||
var $error; //!< To return error code (or message)
|
||||
var $errors=array(); //!< To return several error codes (or messages)
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
//public $element='c_payment_term'; //!< Id that identify managed objects
|
||||
//public $table_element='c_payment_term'; //!< Name of table without prefix where object is stored
|
||||
var $context =array();
|
||||
|
||||
@ -39,8 +39,12 @@ abstract class ActionsContactCardCommon
|
||||
var $object;
|
||||
//! Error string
|
||||
var $error;
|
||||
//! Error array
|
||||
var $errors=array();
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -32,7 +32,12 @@
|
||||
class AntiVir
|
||||
{
|
||||
var $error;
|
||||
var $errors;
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();;
|
||||
|
||||
var $output;
|
||||
var $db;
|
||||
|
||||
|
||||
@ -30,7 +30,11 @@ class Canvas
|
||||
{
|
||||
var $db;
|
||||
var $error;
|
||||
var $errors=array();
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
var $actiontype;
|
||||
|
||||
|
||||
@ -34,7 +34,12 @@ class Ccountry // extends CommonObject
|
||||
{
|
||||
var $db; //!< To store db handler
|
||||
var $error; //!< To return error code (or message)
|
||||
var $errors=array(); //!< To return several error codes (or messages)
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
//var $element='ccountry'; //!< Id that identify managed objects
|
||||
//var $table_element='ccountry'; //!< Name of table without prefix where object is stored
|
||||
|
||||
|
||||
@ -34,7 +34,12 @@ class Cstate // extends CommonObject
|
||||
{
|
||||
var $db; //!< To store db handler
|
||||
var $error; //!< To return error code (or message)
|
||||
var $errors=array(); //!< To return several error codes (or messages)
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
//var $element='cstate'; //!< Id that identify managed objects
|
||||
//var $table_element='cstate'; //!< Name of table without prefix where object is stored
|
||||
|
||||
|
||||
@ -29,7 +29,12 @@ class Ctypent // extends CommonObject
|
||||
{
|
||||
var $db; //!< To store db handler
|
||||
var $error; //!< To return error code (or message)
|
||||
var $errors=array(); //!< To return several error codes (or messages)
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
//var $element='ctypent'; //!< Id that identify managed objects
|
||||
//var $table_element='ctypent'; //!< Name of table without prefix where object is stored
|
||||
|
||||
|
||||
@ -110,7 +110,11 @@ class dolReceiptPrinter extends Escpos
|
||||
var $printer;
|
||||
var $template;
|
||||
var $error;
|
||||
var $errors;
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
|
||||
|
||||
|
||||
@ -31,7 +31,11 @@ class HookManager
|
||||
{
|
||||
var $db;
|
||||
var $error;
|
||||
var $errors=array();
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
// Context hookmanager was created for ('thirdpartycard', 'thirdpartydao', ...)
|
||||
var $contextarray=array();
|
||||
|
||||
@ -33,7 +33,11 @@ class Interfaces
|
||||
{
|
||||
var $db;
|
||||
var $dir; // Directory with all core and external triggers files
|
||||
var $errors = array(); // Array for errors
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@ -33,7 +33,11 @@ class Notify
|
||||
var $id;
|
||||
var $db;
|
||||
var $error;
|
||||
var $errors=array();
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
var $author;
|
||||
var $ref;
|
||||
|
||||
@ -40,7 +40,12 @@ class ImportCsv extends ModeleImports
|
||||
* @var string Error code (or message)
|
||||
*/
|
||||
public $error='';
|
||||
var $errors=array();
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
var $id; // Id of driver
|
||||
var $label; // Label of driver
|
||||
|
||||
@ -40,7 +40,12 @@ class ImportXlsx extends ModeleImports
|
||||
* @var string Error code (or message)
|
||||
*/
|
||||
public $error='';
|
||||
var $errors=array();
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
var $id; // Id of driver
|
||||
var $label; // Label of driver
|
||||
|
||||
@ -43,7 +43,12 @@ class printing_printgcp extends PrintingDriver
|
||||
var $google_id = '';
|
||||
var $google_secret = '';
|
||||
var $error;
|
||||
var $errors = array();
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
var $db;
|
||||
|
||||
private $OAUTH_SERVICENAME_GOOGLE = 'Google';
|
||||
|
||||
@ -41,7 +41,12 @@ class printing_printipp extends PrintingDriver
|
||||
var $user;
|
||||
var $password;
|
||||
var $error;
|
||||
var $errors = array();
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
var $db;
|
||||
|
||||
|
||||
|
||||
@ -44,7 +44,11 @@ class Import
|
||||
var $array_import_run_sql_after;
|
||||
|
||||
var $error;
|
||||
var $errors;
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -31,7 +31,12 @@ class PriceExpression
|
||||
{
|
||||
var $db; //!< To store db handler
|
||||
var $error; //!< To return error code (or message)
|
||||
var $errors=array(); //!< To return several error codes (or messages)
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
var $id;
|
||||
var $title;
|
||||
var $expression;
|
||||
|
||||
@ -31,7 +31,12 @@ class PriceGlobalVariable
|
||||
{
|
||||
var $db; //!< To store db handler
|
||||
var $error; //!< To return error code (or message)
|
||||
var $errors=array(); //!< To return several error codes (or messages)
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
var $id;
|
||||
var $code;
|
||||
var $description;
|
||||
|
||||
@ -31,7 +31,12 @@ class PriceGlobalVariableUpdater
|
||||
{
|
||||
var $db; //!< To store db handler
|
||||
var $error; //!< To return error code (or message)
|
||||
var $errors=array(); //!< To return several error codes (or messages)
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
var $types=array(0, 1); //!< Updater types
|
||||
var $update_min = 5; //!< Minimal update rate
|
||||
var $id;
|
||||
|
||||
@ -39,8 +39,11 @@ abstract class ActionsCardCommon
|
||||
var $object;
|
||||
//! Error string
|
||||
var $error;
|
||||
//! Error array
|
||||
var $errors=array();
|
||||
/**
|
||||
*
|
||||
* @var string[] Error codes (or messages)
|
||||
*/
|
||||
public $errors = array ();
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user