Skip to content
Snippets Groups Projects
Commit bf09e4a0 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

PHPdoc

parent 91d30028
No related branches found
No related tags found
No related merge requests found
......@@ -17,15 +17,14 @@
*/
/**
* \file class/advtargetemailing.class.php
* \ingroup advtargetemailing
* \file comm/mailing/class/advtargetemailing.class.php
* \ingroup mailing
* \brief This file is an example CRUD class file (Create/Read/Update/Delete)
*/
/**
* Put your class' description here
* Class to manage advanced emailing target selector
*/
class AdvanceTargetingMailing extends CommonObject
{
......@@ -293,7 +292,7 @@ class AdvanceTargetingMailing extends CommonObject
* @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <0 if KO, >0 if OK
*/
function update($user=0, $notrigger=0)
function update($user, $notrigger=0)
{
global $conf, $langs;
$error=0;
......@@ -739,7 +738,7 @@ class AdvanceTargetingMailing extends CommonObject
* @param string $criteria Use %% as magic caracters. For exemple to find all item like <b>jean, joe, jim</b>, you can input <b>j%%</b>, you can also use ; as separator for value,
* and use ! for except this value.
* For exemple jean;joe;jim%%;!jimo;!jima%> will target all jean, joe, start with jim but not jimo and not everythnig taht start by jima
* @return int <0 if KO, >0 if OK
* @return string Sql to use for the where condition
*/
public function transformToSQL($column_to_test,$criteria) {
$return_sql_criteria = '(';
......
......@@ -17,7 +17,8 @@
*/
/**
* \file advtargetemailing/class/html.formadvtragetemaling.class.php
* \file comm/mailing/class/html.formadvtragetemaling.class.php
* \ingroup mailing
* \brief Fichier de la classe des fonctions predefinie de composants html advtargetemaling
*/
......
......@@ -54,15 +54,36 @@ class Website extends CommonObject
public $lines = array();
/**
* @var int
*/
public $entity;
/**
* @var string
*/
public $ref;
/**
* @var string
*/
public $description;
/**
* @var int
*/
public $status;
public $date_creation = '';
public $date_modification = '';
/**
* @var mixed
*/
public $date_creation;
/**
* @var mixed
*/
public $date_modification;
/**
* @var mixed
*/
public $tms = '';
/**
* @var integer
*/
public $fk_default_home;
public $records;
......@@ -625,20 +646,36 @@ class WebsiteLine
*/
public $id;
/**
* @var mixed Sample line property 1
* @var int
*/
public $entity;
/**
* @var string
*/
public $ref;
/**
* @var string
*/
public $description;
/**
* @var int
*/
public $status;
/**
* @var int
*/
public $fk_default_home;
public $date_creation = '';
public $date_modification = '';
public $tms = '';
/**
* @var mixed Sample line property 2
* @var mixed
*/
public $date_creation;
/**
* @var mixed
*/
public $date_modification;
/**
* @var mixed
*/
public $tms = '';
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment