Qual: Uniformize code
This commit is contained in:
parent
990da41955
commit
c247c710ec
@ -20,10 +20,10 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/comm/action/class/ical.class.php
|
* \file htdocs/comm/action/class/ical.class.php
|
||||||
* \ingroup commercial
|
* \ingroup agenda
|
||||||
* \brief File of class to parse ical calendars
|
* \brief File of class to parse ical calendars
|
||||||
*/
|
*/
|
||||||
class ical
|
class ICal
|
||||||
{
|
{
|
||||||
var $file_text; // Text in file
|
var $file_text; // Text in file
|
||||||
var $cal; // Array to save iCalendar parse data
|
var $cal; // Array to save iCalendar parse data
|
||||||
|
|||||||
@ -526,7 +526,7 @@ if (count($listofextcals))
|
|||||||
$namecal = $extcal['name'];
|
$namecal = $extcal['name'];
|
||||||
$colorcal = $extcal['color'];
|
$colorcal = $extcal['color'];
|
||||||
//print "url=".$url." namecal=".$namecal." colorcal=".$colorcal;
|
//print "url=".$url." namecal=".$namecal." colorcal=".$colorcal;
|
||||||
$ical=new ical();
|
$ical=new ICal();
|
||||||
$ical->parse($url);
|
$ical->parse($url);
|
||||||
// After this $ical->cal['VEVENT'] contains array of events, $ical->cal['DAYLIGHT'] contains daylight info, $ical->cal['STANDARD'] contains non daylight info, ...
|
// After this $ical->cal['VEVENT'] contains array of events, $ical->cal['DAYLIGHT'] contains daylight info, $ical->cal['STANDARD'] contains non daylight info, ...
|
||||||
//var_dump($ical->cal); exit;
|
//var_dump($ical->cal); exit;
|
||||||
|
|||||||
@ -23,14 +23,14 @@
|
|||||||
/**
|
/**
|
||||||
* \file htdocs/contrat/class/contrat.class.php
|
* \file htdocs/contrat/class/contrat.class.php
|
||||||
* \ingroup contrat
|
* \ingroup contrat
|
||||||
* \brief Fichier de la classe des contrats
|
* \brief File of class to manage contracts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once(DOL_DOCUMENT_ROOT."/core/class/commonobject.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/class/commonobject.class.php");
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \class Contrat
|
* Class to manage contracts
|
||||||
* \brief Classe permettant la gestion des contrats
|
|
||||||
*/
|
*/
|
||||||
class Contrat extends CommonObject
|
class Contrat extends CommonObject
|
||||||
{
|
{
|
||||||
|
|||||||
@ -16,17 +16,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/core/class/commonobjectline.class.php
|
* \file htdocs/core/class/commonobjectline.class.php
|
||||||
* \ingroup core
|
* \ingroup core
|
||||||
* \brief File of the superclass of classes of lines of business objects (invoice, contract, PROPAL, commands, etc. ...)
|
* \brief File of the superclass of classes of lines of business objects (invoice, contract, PROPAL, commands, etc. ...)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \class CommonObjectLine
|
* Parent class for class inheritance lines of business objects
|
||||||
* \brief Superclass for class inheritance lines of business objects
|
* This class is useless for the moment so no inherit are done on it
|
||||||
*/
|
*/
|
||||||
|
|
||||||
abstract class CommonObjectLine
|
abstract class CommonObjectLine
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user