28 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
46 $this->numero = 66000;
49 $this->family =
"interface";
50 $this->module_position =
'31';
52 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
56 $this->version =
'dolibarr';
57 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
61 $this->picto =
'technic';
64 $this->dirs = array();
67 $this->config_page_url = array(
"oauth.php");
70 $this->hidden =
false;
71 $this->depends = array();
72 $this->requiredby = array();
73 $this->conflictwith = array();
74 $this->phpmin = array(7, 0);
75 $this->need_dolibarr_version = array(3, 7, -2);
76 $this->conflictwith = array();
77 $this->langfiles = array(
"oauth");
80 $this->
const = array();
83 $this->boxes = array();
86 $this->rights = array();
87 $this->rights_class =
'oauth';
105 $this->menus = array();
133 public function init($options =
'')
138 $this->
remove($options);
142 return $this->
_init($sql, $options);
_init($array_sql, $options='')
Enables a module.
Class to describe and activate module OAuth.
__construct($db)
Constructor.
init($options='')
Function called when module is enabled.
print *****$script_file(".$version.") pid cd cd cd description as description
Only used if Module[ID]Desc translation string is not found.
$conf db name
Only used if Module[ID]Name translation string is not found.
$conf db
API class for accounts.