Qual: Uniformize code

This commit is contained in:
Laurent Destailleur 2012-08-05 15:00:24 +02:00
parent 990da41955
commit c247c710ec
4 changed files with 11 additions and 12 deletions

View File

@ -20,10 +20,10 @@
/**
* \file htdocs/comm/action/class/ical.class.php
* \ingroup commercial
* \ingroup agenda
* \brief File of class to parse ical calendars
*/
class ical
class ICal
{
var $file_text; // Text in file
var $cal; // Array to save iCalendar parse data

View File

@ -526,7 +526,7 @@ if (count($listofextcals))
$namecal = $extcal['name'];
$colorcal = $extcal['color'];
//print "url=".$url." namecal=".$namecal." colorcal=".$colorcal;
$ical=new ical();
$ical=new ICal();
$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, ...
//var_dump($ical->cal); exit;

View File

@ -23,14 +23,14 @@
/**
* \file htdocs/contrat/class/contrat.class.php
* \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");
/**
* \class Contrat
* \brief Classe permettant la gestion des contrats
* Class to manage contracts
*/
class Contrat extends CommonObject
{

View File

@ -16,17 +16,16 @@
*/
/**
* \file htdocs/core/class/commonobjectline.class.php
* \ingroup core
* \brief File of the superclass of classes of lines of business objects (invoice, contract, PROPAL, commands, etc. ...)
* \file htdocs/core/class/commonobjectline.class.php
* \ingroup core
* \brief File of the superclass of classes of lines of business objects (invoice, contract, PROPAL, commands, etc. ...)
*/
/**
* \class CommonObjectLine
* \brief Superclass for class inheritance lines of business objects
* Parent class for class inheritance lines of business objects
* This class is useless for the moment so no inherit are done on it
*/
abstract class CommonObjectLine
{