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
|
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
|
* @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
|
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
|
* @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
|
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
|
* @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
|
class Societe extends CommonObject
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var string ID to identify managed object
|
||||||
|
*/
|
||||||
public $element='societe';
|
public $element='societe';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -45,7 +45,10 @@ require_once DOL_DOCUMENT_ROOT .'/multicurrency/class/multicurrency.class.php';
|
|||||||
*/
|
*/
|
||||||
class SupplierProposal extends CommonObject
|
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
|
* @var string Name of table without prefix where object is stored
|
||||||
@ -2651,7 +2654,10 @@ class SupplierProposalLine extends CommonObjectLine
|
|||||||
*/
|
*/
|
||||||
public $error='';
|
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
|
* @var string Name of table without prefix where object is stored
|
||||||
|
|||||||
@ -47,7 +47,11 @@ class Ticketlogs// extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $errors = array();
|
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
|
* @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
|
class User extends CommonObject
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var string ID to identify managed object
|
||||||
|
*/
|
||||||
public $element='user';
|
public $element='user';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -35,6 +35,9 @@ if (! empty($conf->ldap->enabled)) require_once DOL_DOCUMENT_ROOT."/core/class/l
|
|||||||
*/
|
*/
|
||||||
class UserGroup extends CommonObject
|
class UserGroup extends CommonObject
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var string ID to identify managed object
|
||||||
|
*/
|
||||||
public $element='usergroup';
|
public $element='usergroup';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user