Checkstyle
This commit is contained in:
parent
325d055fbb
commit
78ae7dc075
@ -741,7 +741,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
|
||||
$y+=3;
|
||||
$row = $this->db->fetch_object($resql);
|
||||
|
||||
$pdf->SetXY($tab3_posx, $tab3_top+$y );
|
||||
$pdf->SetXY($tab3_posx, $tab3_top+$y);
|
||||
$pdf->MultiCell(20, 3, dol_print_date($this->db->jdate($row->date),'day',false,$outputlangs,true), 0, 'L', 0);
|
||||
$pdf->SetXY($tab3_posx+21, $tab3_top+$y);
|
||||
$pdf->MultiCell(20, 3, price($row->amount), 0, 'L', 0);
|
||||
|
||||
@ -17,15 +17,14 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/core/triggers/interface_20_all_Logevents.class.php
|
||||
* \ingroup core
|
||||
* \brief Trigger file for
|
||||
* \file htdocs/core/triggers/interface_20_all_Logevents.class.php
|
||||
* \ingroup core
|
||||
* \brief Trigger file for
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* \class InterfaceLogevents
|
||||
* \brief Class of triggers for security events
|
||||
* Class of triggers for security events
|
||||
*/
|
||||
class InterfaceLogevents
|
||||
{
|
||||
|
||||
@ -23,8 +23,7 @@
|
||||
|
||||
|
||||
/**
|
||||
* \class InterfacePaypalWorkflow
|
||||
* \brief Class of triggers for paypal module
|
||||
* Class of triggers for paypal module
|
||||
*/
|
||||
class InterfacePaypalWorkflow
|
||||
{
|
||||
|
||||
@ -17,15 +17,14 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php
|
||||
* \ingroup core
|
||||
* \brief Trigger file for workflows
|
||||
* \file htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php
|
||||
* \ingroup core
|
||||
* \brief Trigger file for workflows
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* \class InterfaceWorkflowManager
|
||||
* \brief Class of triggers for workflow module
|
||||
* Class of triggers for workflow module
|
||||
*/
|
||||
|
||||
class InterfaceWorkflowManager
|
||||
@ -95,7 +94,6 @@ class InterfaceWorkflowManager
|
||||
* @param User $user Object user
|
||||
* @param Translate $langs Object langs
|
||||
* @param conf $conf Object conf
|
||||
* @param string $entity Value for instance of data (Always 1 except if module MultiCompany is installed)
|
||||
* @return int <0 if KO, 0 if no triggered ran, >0 if OK
|
||||
*/
|
||||
function run_trigger($action,$object,$user,$langs,$conf)
|
||||
|
||||
@ -25,8 +25,7 @@
|
||||
|
||||
|
||||
/**
|
||||
* \class InterfaceActionsAuto
|
||||
* \brief Class of triggered functions for agenda module
|
||||
* Class of triggered functions for agenda module
|
||||
*/
|
||||
class InterfaceActionsAuto
|
||||
{
|
||||
|
||||
@ -16,16 +16,15 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/core/triggers/interface_50_modLdap_Ldapsynchro.class.php
|
||||
* \ingroup core
|
||||
* \brief Fichier de gestion des triggers LDAP
|
||||
* \file htdocs/core/triggers/interface_50_modLdap_Ldapsynchro.class.php
|
||||
* \ingroup core
|
||||
* \brief Fichier de gestion des triggers LDAP
|
||||
*/
|
||||
require_once (DOL_DOCUMENT_ROOT."/core/class/ldap.class.php");
|
||||
|
||||
|
||||
/**
|
||||
* \class InterfaceLdapsynchro
|
||||
* \brief Class of triggers for ldap module
|
||||
* Class of triggers for ldap module
|
||||
*/
|
||||
class InterfaceLdapsynchro
|
||||
{
|
||||
|
||||
@ -17,15 +17,14 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/core/triggers/interface_50_modNotification_Notification.class.php
|
||||
* \ingroup notification
|
||||
* \brief File of class of triggers for notification module
|
||||
* \file htdocs/core/triggers/interface_50_modNotification_Notification.class.php
|
||||
* \ingroup notification
|
||||
* \brief File of class of triggers for notification module
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* \class InterfaceNotification
|
||||
* \brief Class of triggers for notification module
|
||||
* Class of triggers for notification module
|
||||
*/
|
||||
class InterfaceNotification
|
||||
{
|
||||
|
||||
@ -17,22 +17,21 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/core/triggers/interface_90_all_Demo.class.php
|
||||
* \ingroup core
|
||||
* \brief Fichier de demo de personalisation des actions du workflow
|
||||
* \remarks Son propre fichier d'actions peut etre cree par recopie de celui-ci:
|
||||
* - Le nom du fichier doit etre: interface_99_modMymodule_Mytrigger.class.php
|
||||
* ou: interface_99_all_Mytrigger.class.php
|
||||
* - Le fichier doit rester stocke dans core/triggers
|
||||
* - Le nom de la classe doit etre InterfaceMytrigger
|
||||
* - Le nom de la methode constructeur doit etre InterfaceMytrigger
|
||||
* - Le nom de la propriete name doit etre Mytrigger
|
||||
* \file htdocs/core/triggers/interface_90_all_Demo.class.php
|
||||
* \ingroup core
|
||||
* \brief Fichier de demo de personalisation des actions du workflow
|
||||
* \remarks Son propre fichier d'actions peut etre cree par recopie de celui-ci:
|
||||
* - Le nom du fichier doit etre: interface_99_modMymodule_Mytrigger.class.php
|
||||
* ou: interface_99_all_Mytrigger.class.php
|
||||
* - Le fichier doit rester stocke dans core/triggers
|
||||
* - Le nom de la classe doit etre InterfaceMytrigger
|
||||
* - Le nom de la methode constructeur doit etre InterfaceMytrigger
|
||||
* - Le nom de la propriete name doit etre Mytrigger
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* \class InterfaceDemo
|
||||
* \brief Class of triggers for demo module
|
||||
* Class of triggers for demo module
|
||||
*/
|
||||
class InterfaceDemo
|
||||
{
|
||||
@ -57,6 +56,7 @@ class InterfaceDemo
|
||||
|
||||
/**
|
||||
* Return name of trigger file
|
||||
*
|
||||
* @return string Name of trigger file
|
||||
*/
|
||||
function getName()
|
||||
@ -66,6 +66,7 @@ class InterfaceDemo
|
||||
|
||||
/**
|
||||
* Return description of trigger file
|
||||
*
|
||||
* @return string Description of trigger file
|
||||
*/
|
||||
function getDesc()
|
||||
@ -75,6 +76,7 @@ class InterfaceDemo
|
||||
|
||||
/**
|
||||
* Return version of trigger file
|
||||
*
|
||||
* @return string Version of trigger file
|
||||
*/
|
||||
function getVersion()
|
||||
|
||||
@ -78,7 +78,7 @@ class FactureFournisseur extends Facture
|
||||
|
||||
var $lines;
|
||||
var $fournisseur;
|
||||
|
||||
|
||||
var $extraparams=array();
|
||||
|
||||
|
||||
@ -194,7 +194,7 @@ class FactureFournisseur extends Facture
|
||||
$this->lines[$i]->localtax2_tx,
|
||||
$this->lines[$i]->qty,
|
||||
$this->lines[$i]->fk_product,
|
||||
'HT',
|
||||
'HT',
|
||||
$this->lines[$i]->info_bits,
|
||||
$this->lines[$i]->product_type
|
||||
);
|
||||
@ -345,7 +345,7 @@ class FactureFournisseur extends Facture
|
||||
$this->note_public = $obj->note_public;
|
||||
$this->model_pdf = $obj->model_pdf;
|
||||
$this->import_key = $obj->import_key;
|
||||
|
||||
|
||||
$this->extraparams = (array) json_decode($obj->extraparams, true);
|
||||
|
||||
$this->socid = $obj->socid;
|
||||
|
||||
@ -190,7 +190,7 @@ else if ($action == 'addline' && $user->rights->fournisseur->commande->creer)
|
||||
$_POST['idprodfournprice'],
|
||||
$productsupplier->fourn_ref,
|
||||
$remise_percent,
|
||||
'HT',
|
||||
'HT',
|
||||
$type
|
||||
);
|
||||
}
|
||||
|
||||
@ -316,7 +316,7 @@ elseif ($action == 'add' && $user->rights->fournisseur->facture->creer)
|
||||
$date_end,
|
||||
0,
|
||||
$lines[$i]->info_bits,
|
||||
'HT',
|
||||
'HT',
|
||||
$product_type
|
||||
);
|
||||
|
||||
|
||||
@ -25,14 +25,14 @@
|
||||
/**
|
||||
* \file htdocs/user/class/user.class.php
|
||||
* \brief File of class to manage users
|
||||
* \ingroup core
|
||||
*/
|
||||
|
||||
require_once(DOL_DOCUMENT_ROOT ."/core/class/commonobject.class.php");
|
||||
|
||||
|
||||
/**
|
||||
* \class User
|
||||
* \brief Class to manage users
|
||||
* Class to manage users
|
||||
*/
|
||||
class User extends CommonObject
|
||||
{
|
||||
@ -108,7 +108,7 @@ class User extends CommonObject
|
||||
|
||||
$this->all_permissions_are_loaded = 0;
|
||||
$this->admin=0;
|
||||
|
||||
|
||||
$this->rights = (object) array();
|
||||
$this->rights->user = (object) array();
|
||||
$this->rights->user->user = (object) array();
|
||||
@ -1433,17 +1433,17 @@ class User extends CommonObject
|
||||
dol_syslog("User::send_password url=".$url);
|
||||
}
|
||||
$mailfile = new CMailFile(
|
||||
$subject,
|
||||
$this->email,
|
||||
$conf->notification->email_from,
|
||||
$mesg,
|
||||
array(),
|
||||
array(),
|
||||
array(),
|
||||
'',
|
||||
'',
|
||||
0,
|
||||
$msgishtml
|
||||
$subject,
|
||||
$this->email,
|
||||
$conf->notification->email_from,
|
||||
$mesg,
|
||||
array(),
|
||||
array(),
|
||||
array(),
|
||||
'',
|
||||
'',
|
||||
0,
|
||||
$msgishtml
|
||||
);
|
||||
|
||||
if ($mailfile->sendfile())
|
||||
|
||||
@ -83,10 +83,10 @@ $server->wsdl->addComplexType(
|
||||
// Define other specific objects
|
||||
$server->wsdl->addComplexType(
|
||||
'product',
|
||||
'complexType',
|
||||
'struct',
|
||||
'all',
|
||||
'',
|
||||
'complexType',
|
||||
'struct',
|
||||
'all',
|
||||
'',
|
||||
array(
|
||||
'id' => array('name'=>'id','type'=>'xsd:string'),
|
||||
'ref' => array('name'=>'ref','type'=>'xsd:string'),
|
||||
@ -120,10 +120,10 @@ $server->wsdl->addComplexType(
|
||||
// Define other specific objects
|
||||
$server->wsdl->addComplexType(
|
||||
'filterproduct',
|
||||
'complexType',
|
||||
'struct',
|
||||
'all',
|
||||
'',
|
||||
'complexType',
|
||||
'struct',
|
||||
'all',
|
||||
'',
|
||||
array(
|
||||
// 'limit' => array('name'=>'limit','type'=>'xsd:string'),
|
||||
'type' => array('name'=>'type','type'=>'xsd:string'),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user