Standardize and update code
This commit is contained in:
parent
2fa82edd39
commit
215677c972
@ -37,6 +37,9 @@ require_once DOL_DOCUMENT_ROOT .'/core/class/commonobject.class.php';
|
|||||||
*/
|
*/
|
||||||
class Contact extends CommonObject
|
class Contact extends CommonObject
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var string ID to identify managed object
|
||||||
|
*/
|
||||||
public $element='contact';
|
public $element='contact';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -41,6 +41,9 @@ require_once DOL_DOCUMENT_ROOT . '/margin/lib/margins.lib.php';
|
|||||||
*/
|
*/
|
||||||
class Contrat extends CommonObject
|
class Contrat extends CommonObject
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var string ID to identify managed object
|
||||||
|
*/
|
||||||
public $element='contrat';
|
public $element='contrat';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -2458,7 +2461,10 @@ class Contrat extends CommonObject
|
|||||||
*/
|
*/
|
||||||
class ContratLigne extends CommonObjectLine
|
class ContratLigne extends CommonObjectLine
|
||||||
{
|
{
|
||||||
public $element='contratdet';
|
/**
|
||||||
|
* @var string ID to identify managed object
|
||||||
|
*/
|
||||||
|
public $element='contratdet';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string Name of table without prefix where object is stored
|
* @var string Name of table without prefix where object is stored
|
||||||
|
|||||||
@ -4,7 +4,10 @@
|
|||||||
*/
|
*/
|
||||||
class Comment extends CommonObject
|
class Comment extends CommonObject
|
||||||
{
|
{
|
||||||
public $element='comment'; //!< Id that identify managed objects
|
/**
|
||||||
|
* @var string ID to identify managed object
|
||||||
|
*/
|
||||||
|
public $element='comment';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string Name of table without prefix where object is stored
|
* @var string Name of table without prefix where object is stored
|
||||||
|
|||||||
@ -64,7 +64,7 @@ abstract class CommonObject
|
|||||||
public $errors=array();
|
public $errors=array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string ID to identify managed object
|
||||||
*/
|
*/
|
||||||
public $element;
|
public $element;
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,10 @@
|
|||||||
*/
|
*/
|
||||||
class Events // extends CommonObject
|
class Events // extends CommonObject
|
||||||
{
|
{
|
||||||
public $element='events'; //!< Id that identify managed objects
|
/**
|
||||||
|
* @var string ID to identify managed object
|
||||||
|
*/
|
||||||
|
public $element='events';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string Name of table without prefix where object is stored
|
* @var string Name of table without prefix where object is stored
|
||||||
|
|||||||
@ -28,6 +28,9 @@ require_once DOL_DOCUMENT_ROOT .'/core/class/commonobject.class.php';
|
|||||||
*/
|
*/
|
||||||
class Fiscalyear extends CommonObject
|
class Fiscalyear extends CommonObject
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var string ID to identify managed object
|
||||||
|
*/
|
||||||
public $element='fiscalyear';
|
public $element='fiscalyear';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -28,7 +28,10 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/commonobject.class.php';
|
|||||||
*/
|
*/
|
||||||
class Link extends CommonObject
|
class Link extends CommonObject
|
||||||
{
|
{
|
||||||
public $element = 'link';
|
/**
|
||||||
|
* @var string ID to identify managed object
|
||||||
|
*/
|
||||||
|
public $element = 'link';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @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/class/commonobject.class.php";
|
|||||||
*/
|
*/
|
||||||
class Cronjob extends CommonObject
|
class Cronjob extends CommonObject
|
||||||
{
|
{
|
||||||
public $element='cronjob'; //!< Id that identify managed objects
|
/**
|
||||||
|
* @var string ID to identify managed object
|
||||||
|
*/
|
||||||
|
public $element='cronjob';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string Name of table without prefix where object is stored
|
* @var string Name of table without prefix where object is stored
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user