Update actioncomm.class.php
This commit is contained in:
parent
568197656f
commit
cab9c81ce2
@ -1,10 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
* Copyright (C) 2011-2017 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2011-2017 Juanjo Menent <jmenent@2byte.es>
|
||||||
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
|
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
|
||||||
* Copyright (C) 2018 Nicolas ZABOURI <info@inovea-conseil.com>
|
* Copyright (C) 2018 Nicolas ZABOURI <info@inovea-conseil.com>
|
||||||
|
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -67,7 +68,7 @@ class ActionComm extends CommonObject
|
|||||||
* Id of the event
|
* Id of the event
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Id of the event. Use $id as possible
|
* Id of the event. Use $id as possible
|
||||||
@ -75,11 +76,12 @@ class ActionComm extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $ref;
|
public $ref;
|
||||||
|
|
||||||
var $type_id; // Id into parent table llx_c_actioncomm (used only if option to use type is set)
|
public $type_id; // Id into parent table llx_c_actioncomm (used only if option to use type is set)
|
||||||
var $type_code; // Code into parent table llx_c_actioncomm (used only if option to use type is set). With default setup, should be AC_OTH_AUTO or AC_OTH.
|
public $type_code; // Code into parent table llx_c_actioncomm (used only if option to use type is set). With default setup, should be AC_OTH_AUTO or AC_OTH.
|
||||||
var $type; // Label into parent table llx_c_actioncomm (used only if option to use type is set)
|
public $type_label;
|
||||||
var $type_color; // Color into parent table llx_c_actioncomm (used only if option to use type is set)
|
public $type; // Label into parent table llx_c_actioncomm (used only if option to use type is set)
|
||||||
var $code; // Free code to identify action. Ie: Agenda trigger add here AC_TRIGGERNAME ('AC_COMPANY_CREATE', 'AC_PROPAL_VALIDATE', ...)
|
public $type_color; // Color into parent table llx_c_actioncomm (used only if option to use type is set)
|
||||||
|
public $code; // Free code to identify action. Ie: Agenda trigger add here AC_TRIGGERNAME ('AC_COMPANY_CREATE', 'AC_PROPAL_VALIDATE', ...)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string Agenda event label
|
* @var string Agenda event label
|
||||||
@ -93,8 +95,8 @@ class ActionComm extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $libelle;
|
public $libelle;
|
||||||
|
|
||||||
var $datec; // Date creation record (datec)
|
public $datec; // Date creation record (datec)
|
||||||
var $datem; // Date modification record (tms)
|
public $datem; // Date modification record (tms)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object user that create action
|
* Object user that create action
|
||||||
@ -102,7 +104,7 @@ class ActionComm extends CommonObject
|
|||||||
* @deprecated
|
* @deprecated
|
||||||
* @see authorid
|
* @see authorid
|
||||||
*/
|
*/
|
||||||
var $author;
|
public $author;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object user that modified action
|
* Object user that modified action
|
||||||
@ -110,39 +112,49 @@ class ActionComm extends CommonObject
|
|||||||
* @deprecated
|
* @deprecated
|
||||||
* @see usermodid
|
* @see usermodid
|
||||||
*/
|
*/
|
||||||
var $usermod;
|
public $usermod;
|
||||||
var $authorid; // Id user that create action
|
|
||||||
var $usermodid; // Id user that modified action
|
|
||||||
|
|
||||||
var $datep; // Date action start (datep)
|
/**
|
||||||
var $datef; // Date action end (datep2)
|
* Id user that create action
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
public $authorid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Id user that modified action
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
public $usermodid;
|
||||||
|
|
||||||
|
public $datep; // Date action start (datep)
|
||||||
|
public $datef; // Date action end (datep2)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int -1=Unkown duration
|
* @var int -1=Unkown duration
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
var $durationp = -1;
|
public $durationp = -1;
|
||||||
var $fulldayevent = 0; // 1=Event on full day
|
public $fulldayevent = 0; // 1=Event on full day
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Milestone
|
* Milestone
|
||||||
* @var int
|
* @var int
|
||||||
* @deprecated Milestone is already event with end date = start date
|
* @deprecated Milestone is already event with end date = start date
|
||||||
*/
|
*/
|
||||||
var $punctual = 1;
|
public $punctual = 1;
|
||||||
var $percentage; // Percentage
|
public $percentage; // Percentage
|
||||||
var $location; // Location
|
public $location; // Location
|
||||||
|
|
||||||
var $transparency; // Transparency (ical standard). Used to say if people assigned to event are busy or not by event. 0=available, 1=busy, 2=busy (refused events)
|
public $transparency; // Transparency (ical standard). Used to say if people assigned to event are busy or not by event. 0=available, 1=busy, 2=busy (refused events)
|
||||||
var $priority; // Small int (0 By default)
|
public $priority; // Small int (0 By default)
|
||||||
|
|
||||||
var $userassigned = array(); // Array of user ids
|
public $userassigned = array(); // Array of user ids
|
||||||
var $userownerid; // Id of user owner = fk_user_action into table
|
public $userownerid; // Id of user owner = fk_user_action into table
|
||||||
var $userdoneid; // Id of user done (deprecated)
|
public $userdoneid; // Id of user done (deprecated)
|
||||||
|
|
||||||
var $socpeopleassigned = array(); // Array of contact ids
|
public $socpeopleassigned = array(); // Array of contact ids
|
||||||
|
|
||||||
var $otherassigned = array(); // Array of other contact emails (not user, not contact)
|
public $otherassigned = array(); // Array of other contact emails (not user, not contact)
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -151,7 +163,7 @@ class ActionComm extends CommonObject
|
|||||||
* @deprecated
|
* @deprecated
|
||||||
* @see userownerid
|
* @see userownerid
|
||||||
*/
|
*/
|
||||||
var $usertodo;
|
public $usertodo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object user that did action
|
* Object user that did action
|
||||||
@ -159,10 +171,10 @@ class ActionComm extends CommonObject
|
|||||||
* @deprecated
|
* @deprecated
|
||||||
* @see userdoneid
|
* @see userdoneid
|
||||||
*/
|
*/
|
||||||
var $userdone;
|
public $userdone;
|
||||||
|
|
||||||
var $socid;
|
public $socid;
|
||||||
var $contactid;
|
public $contactid;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Company linked to action (optional)
|
* Company linked to action (optional)
|
||||||
@ -170,7 +182,7 @@ class ActionComm extends CommonObject
|
|||||||
* @deprecated
|
* @deprecated
|
||||||
* @see socid
|
* @see socid
|
||||||
*/
|
*/
|
||||||
var $societe;
|
public $societe;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contact linked to action (optional)
|
* Contact linked to action (optional)
|
||||||
@ -178,28 +190,28 @@ class ActionComm extends CommonObject
|
|||||||
* @deprecated
|
* @deprecated
|
||||||
* @see contactid
|
* @see contactid
|
||||||
*/
|
*/
|
||||||
var $contact;
|
public $contact;
|
||||||
|
|
||||||
// Properties for links to other objects
|
// Properties for links to other objects
|
||||||
var $fk_element; // Id of record
|
public $fk_element; // Id of record
|
||||||
var $elementid; // Id of record alternative for API
|
public $elementid; // Id of record alternative for API
|
||||||
var $elementtype; // Type of record. This if property ->element of object linked to.
|
public $elementtype; // Type of record. This if property ->element of object linked to.
|
||||||
|
|
||||||
// Ical
|
// Ical
|
||||||
var $icalname;
|
public $icalname;
|
||||||
var $icalcolor;
|
public $icalcolor;
|
||||||
|
|
||||||
var $actions=array();
|
public $actions=array();
|
||||||
|
|
||||||
// Fields for emails
|
// Fields for emails
|
||||||
var $email_msgid;
|
public $email_msgid;
|
||||||
var $email_from;
|
public $email_from;
|
||||||
var $email_sender;
|
public $email_sender;
|
||||||
var $email_to;
|
public $email_to;
|
||||||
var $email_tocc;
|
public $email_tocc;
|
||||||
var $email_tobcc;
|
public $email_tobcc;
|
||||||
var $email_subject;
|
public $email_subject;
|
||||||
var $errors_to;
|
public $errors_to;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user