Doxygen
This commit is contained in:
parent
ec15a4ae3b
commit
4bf7706e38
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2007-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2007-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
|
||||||
* Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es>
|
||||||
*
|
*
|
||||||
@ -44,9 +44,9 @@ class RemiseCheque extends CommonObject
|
|||||||
var $errno;
|
var $errno;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Constructeur de la classe
|
* Constructor
|
||||||
* \param DB handler acces base de donnees
|
*
|
||||||
* \param id id compte (0 par defaut)
|
* @param DoliDB $DB Database handler
|
||||||
*/
|
*/
|
||||||
function RemiseCheque($DB)
|
function RemiseCheque($DB)
|
||||||
{
|
{
|
||||||
@ -56,10 +56,11 @@ class RemiseCheque extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Load record
|
* Load record
|
||||||
* \param id Id record
|
*
|
||||||
* \param ref Ref record
|
* @param id Id record
|
||||||
* \return int <0 if KO, > 0 if OK
|
* @param ref Ref record
|
||||||
|
* @return int <0 if KO, > 0 if OK
|
||||||
*/
|
*/
|
||||||
function fetch($id,$ref='')
|
function fetch($id,$ref='')
|
||||||
{
|
{
|
||||||
@ -113,6 +114,7 @@ class RemiseCheque extends CommonObject
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a receipt to send cheques
|
* Create a receipt to send cheques
|
||||||
|
*
|
||||||
* @param user User making creation
|
* @param user User making creation
|
||||||
* @param account_id Bank account for cheque receipt
|
* @param account_id Bank account for cheque receipt
|
||||||
* @param limit Limit number of cheque to this
|
* @param limit Limit number of cheque to this
|
||||||
@ -270,6 +272,7 @@ class RemiseCheque extends CommonObject
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Supprime la remise en base
|
* Supprime la remise en base
|
||||||
|
*
|
||||||
* @param user utilisateur qui effectue l'operation
|
* @param user utilisateur qui effectue l'operation
|
||||||
*/
|
*/
|
||||||
function delete($user='')
|
function delete($user='')
|
||||||
@ -324,6 +327,7 @@ class RemiseCheque extends CommonObject
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Validate a receipt
|
* Validate a receipt
|
||||||
|
*
|
||||||
* @param user User
|
* @param user User
|
||||||
* @return int <0 if KO, >0 if OK
|
* @return int <0 if KO, >0 if OK
|
||||||
*/
|
*/
|
||||||
@ -387,7 +391,7 @@ class RemiseCheque extends CommonObject
|
|||||||
/**
|
/**
|
||||||
* Old module for cheque receipt numbering
|
* Old module for cheque receipt numbering
|
||||||
*
|
*
|
||||||
* @return string
|
* @return int Next number of cheque
|
||||||
*/
|
*/
|
||||||
function getNextNumber()
|
function getNextNumber()
|
||||||
{
|
{
|
||||||
@ -421,6 +425,7 @@ class RemiseCheque extends CommonObject
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Load indicators for dashboard (this->nbtodo and this->nbtodolate)
|
* Load indicators for dashboard (this->nbtodo and this->nbtodolate)
|
||||||
|
*
|
||||||
* @param user Objet user
|
* @param user Objet user
|
||||||
* @param filteraccountid To get info for a particular account id
|
* @param filteraccountid To get info for a particular account id
|
||||||
* @return int <0 if KO, >0 if OK
|
* @return int <0 if KO, >0 if OK
|
||||||
|
|||||||
@ -448,10 +448,10 @@ class RssParser
|
|||||||
* Triggered when CDATA is found
|
* Triggered when CDATA is found
|
||||||
*
|
*
|
||||||
* @param $p
|
* @param $p
|
||||||
* @param $element Tag
|
* @param $text Tag
|
||||||
* @param $attrs Attributes of tags
|
|
||||||
*/
|
*/
|
||||||
function feed_cdata ($p, $text) {
|
function feed_cdata($p, $text)
|
||||||
|
{
|
||||||
if ($this->_format == 'atom' and $this->incontent)
|
if ($this->_format == 'atom' and $this->incontent)
|
||||||
{
|
{
|
||||||
$this->append_content( $text );
|
$this->append_content( $text );
|
||||||
@ -466,9 +466,10 @@ class RssParser
|
|||||||
* Triggered when closed tag is found
|
* Triggered when closed tag is found
|
||||||
*
|
*
|
||||||
* @param $p
|
* @param $p
|
||||||
* @param $element Tag
|
* @param $el Tag
|
||||||
*/
|
*/
|
||||||
function feed_end_element ($p, $el) {
|
function feed_end_element($p, $el)
|
||||||
|
{
|
||||||
$el = strtolower($el);
|
$el = strtolower($el);
|
||||||
|
|
||||||
if ( $el == 'item' or $el == 'entry' )
|
if ( $el == 'item' or $el == 'entry' )
|
||||||
@ -520,7 +521,8 @@ class RssParser
|
|||||||
* @param $str1
|
* @param $str1
|
||||||
* @param $str2
|
* @param $str2
|
||||||
*/
|
*/
|
||||||
function concat (&$str1, $str2="") {
|
function concat(&$str1, $str2="")
|
||||||
|
{
|
||||||
if (!isset($str1) ) {
|
if (!isset($str1) ) {
|
||||||
$str1="";
|
$str1="";
|
||||||
}
|
}
|
||||||
@ -529,7 +531,8 @@ class RssParser
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
function append_content($text) {
|
function append_content($text)
|
||||||
|
{
|
||||||
if ( $this->initem ) {
|
if ( $this->initem ) {
|
||||||
$this->concat( $this->current_item[ $this->incontent ], $text );
|
$this->concat( $this->current_item[ $this->incontent ], $text );
|
||||||
}
|
}
|
||||||
@ -541,7 +544,8 @@ class RssParser
|
|||||||
/**
|
/**
|
||||||
* smart append - field and namespace aware
|
* smart append - field and namespace aware
|
||||||
*/
|
*/
|
||||||
function append($el, $text) {
|
function append($el, $text)
|
||||||
|
{
|
||||||
if (!$el) {
|
if (!$el) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user