Fix template
This commit is contained in:
parent
8f383e3fa1
commit
b52971d0a2
@ -29,6 +29,20 @@
|
|||||||
*/
|
*/
|
||||||
class ActionsMyModule
|
class ActionsMyModule
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var DoliDB Database handler.
|
||||||
|
*/
|
||||||
|
public $db;
|
||||||
|
/**
|
||||||
|
* @var string Error
|
||||||
|
*/
|
||||||
|
public $error = '';
|
||||||
|
/**
|
||||||
|
* @var array Errors
|
||||||
|
*/
|
||||||
|
public $errors = array();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array Hook results. Propagated to $hookmanager->resArray for later reuse
|
* @var array Hook results. Propagated to $hookmanager->resArray for later reuse
|
||||||
*/
|
*/
|
||||||
@ -39,16 +53,13 @@ class ActionsMyModule
|
|||||||
*/
|
*/
|
||||||
public $resprints;
|
public $resprints;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var array Errors
|
|
||||||
*/
|
|
||||||
public $errors = array();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct($db)
|
||||||
{
|
{
|
||||||
|
$this->db = $db;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user