Added missing $error and $errors variables

This commit is contained in:
Marcos García de La Fuente 2014-07-18 03:17:05 +02:00
parent 7e29889eab
commit cbd10106b8

View File

@ -55,6 +55,19 @@ abstract class DolibarrTriggers {
*/
public $family = '';
/**
* Error reported by the trigger
* @var string
* @deprecated Use $this->errors
*/
public $error = '';
/**
* Errors reported by the trigger
* @var array
*/
public $errors = array();
const VERSION_DEVELOPMENT = 'development';
const VERSION_EXPERIMENTAL = 'experimental';
const VERSION_DOLIBARR = 'dolibarr';