mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Standardize and update code
This commit is contained in:
parent
87067b2bc9
commit
30992f2730
|
|
@ -33,7 +33,10 @@ require_once DOL_DOCUMENT_ROOT . '/core/class/commonobject.class.php';
|
|||
class Project extends CommonObject
|
||||
{
|
||||
|
||||
public $element = 'project'; //!< Id that identify managed objects
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element = 'project';
|
||||
|
||||
/**
|
||||
* @var string Name of table without prefix where object is stored
|
||||
|
|
|
|||
|
|
@ -31,7 +31,10 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/commonobject.class.php';
|
|||
*/
|
||||
class Task extends CommonObject
|
||||
{
|
||||
public $element='project_task'; //!< Id that identify managed objects
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='project_task';
|
||||
|
||||
/**
|
||||
* @var string Name of table without prefix where object is stored
|
||||
|
|
|
|||
|
|
@ -30,7 +30,10 @@ require_once DOL_DOCUMENT_ROOT."/core/lib/functions2.lib.php";
|
|||
*/
|
||||
class Dolresource extends CommonObject
|
||||
{
|
||||
public $element='dolresource'; //!< Id that identify managed objects
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='dolresource';
|
||||
|
||||
/**
|
||||
* @var string Name of table without prefix where object is stored
|
||||
|
|
|
|||
|
|
@ -41,6 +41,9 @@ require_once DOL_DOCUMENT_ROOT.'/multicurrency/class/multicurrency.class.php';
|
|||
*/
|
||||
class Societe extends CommonObject
|
||||
{
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='societe';
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -45,7 +45,10 @@ require_once DOL_DOCUMENT_ROOT .'/multicurrency/class/multicurrency.class.php';
|
|||
*/
|
||||
class SupplierProposal extends CommonObject
|
||||
{
|
||||
public $element='supplier_proposal';
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='supplier_proposal';
|
||||
|
||||
/**
|
||||
* @var string Name of table without prefix where object is stored
|
||||
|
|
@ -2651,7 +2654,10 @@ class SupplierProposalLine extends CommonObjectLine
|
|||
*/
|
||||
public $error='';
|
||||
|
||||
public $element='supplier_proposaldet';
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='supplier_proposaldet';
|
||||
|
||||
/**
|
||||
* @var string Name of table without prefix where object is stored
|
||||
|
|
|
|||
|
|
@ -47,7 +47,11 @@ class Ticketlogs// extends CommonObject
|
|||
*/
|
||||
public $errors = array();
|
||||
|
||||
public $element = 'ticketlogs'; //!< Id that identify managed objects
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element = 'ticketlogs';
|
||||
|
||||
/**
|
||||
* @var string Name of table without prefix where object is stored
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -40,6 +40,9 @@ require_once DOL_DOCUMENT_ROOT .'/core/class/commonobject.class.php';
|
|||
*/
|
||||
class User extends CommonObject
|
||||
{
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='user';
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -35,6 +35,9 @@ if (! empty($conf->ldap->enabled)) require_once DOL_DOCUMENT_ROOT."/core/class/l
|
|||
*/
|
||||
class UserGroup extends CommonObject
|
||||
{
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='usergroup';
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user