Documentation for Doxygen

This commit is contained in:
Dany wm De Bontridder 2021-07-29 17:41:42 +02:00
parent 9e9fc58485
commit 4886d78356
96 changed files with 536 additions and 119 deletions

View file

@ -45,7 +45,7 @@ $correction = 0;
$error_id=0;
/*-----------------------------------------------------------------------------*/
/* For other action
/* For other action */
/*-----------------------------------------------------------------------------*/
if ( isset ($_POST['other_action_bt'])) {
/**

View file

@ -26,7 +26,7 @@ require_once NOALYSS_INCLUDE."/database/v_currency_last_value_sql.class.php";
*/
/**
* @class
* @class Acc_Currency
* @brief display currency , convert to euro , and save them if used. The default currency has the id 0 and is
* normally EUR
*/

View file

@ -20,10 +20,16 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/* * \file
/**
* \file
* \brief the class Acc_Ledger_Fin inherits from Acc_Ledger, this
* object permit to manage the financial ledger
*/
/**
* \class Acc_Ledger_Fin
* \brief the class Acc_Ledger_Fin inherits from Acc_Ledger, this
* object permit to manage the financial ledger
*/
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
class Acc_Ledger_Fin extends Acc_Ledger
@ -36,8 +42,7 @@ class Acc_Ledger_Fin extends Acc_Ledger
}
/**
* Verify that the data are correct before inserting or confirming
* @brief verify the data
* @brief Verify that the data are correct before inserting or confirming
* @param an array (usually $_POST)
* @return String
* @throw Exception on error occurs
@ -227,7 +232,8 @@ class Acc_Ledger_Fin extends Acc_Ledger
}
}
/* * \brief
/**
* \brief display a form to enter an FIN operation
* \param $p_array contains the value usually it is $_POST
* \return string with html code
* \note the form tag are not set here

View file

@ -25,7 +25,11 @@
* @brief display financial operations in HTML , PDF or CSV
*
*/
/**
* @class Acc_Ledger_History_Financial
* @brief display financial operations in HTML , PDF or CSV
*
*/
class Acc_Ledger_History_Financial extends Acc_Ledger_History
{
function __construct(Database $cn, $pa_ledger, $p_from, $p_to, $p_mode)

View file

@ -26,6 +26,10 @@
* @file
* @brief search in ledger
*/
/**
* @class Acc_Ledger_Search
* @brief search in ledger
*/
class Acc_Ledger_Search
{

View file

@ -25,6 +25,7 @@
*/
/*!
* @class Acc_Operation
* \brief this file match the tables jrn & jrnx the purpose is to
* remove or save accountant writing to these table.
*
@ -819,6 +820,11 @@ class Acc_Operation
}
/////////////////////////////////////////////////////////////////////////////
/**
* @class Acc_Detail
* @brief Contains the detail of an operation Acc_Operation
*/
class Acc_Detail extends Acc_Operation
{
function __construct($p_cn,$p_jrid=0)
@ -864,6 +870,7 @@ class Acc_Detail extends Acc_Operation
}
/////////////////////////////////////////////////////////////////////////////
/**
* @class Acc_Misc
*@brief this class manage data from the JRNX and JRN
* table
*@note Data member are the column of the table
@ -914,6 +921,7 @@ class Acc_Misc extends Acc_Detail
}
/////////////////////////////////////////////////////////////////////////////
/**
* @class Acc_Sold
*@brief this class manage data from the QUANT_SOLD
* table
*@note Data member are the column of the table
@ -967,6 +975,7 @@ class Acc_Sold extends Acc_Detail
}
/////////////////////////////////////////////////////////////////////////////
/**
* @class Acc_Purchase
*@brief this class manage data from the QUANT_PURCHASE
* table
*@note Data member are the column of the table
@ -1023,6 +1032,7 @@ class Acc_Purchase extends Acc_Detail
}
/////////////////////////////////////////////////////////////////////////////
/**
* @class Acc_Fin
*@brief this class manage data from the QUANT_FIN
* table
*@note Data member are the column of the table

View file

@ -25,6 +25,7 @@ require_once NOALYSS_INCLUDE.'/database/form_detail_sql.class.php';
require_once NOALYSS_INCLUDE.'/database/form_definition_sql.class.php';
/*!
* \class Acc_Report
* \brief Class rapport Create, view, modify and parse report
*/
@ -34,7 +35,9 @@ class Acc_Report
private $form_definition; /*!< form_definition_sql
var $nb;
/*!\brief Constructor */
/*!
\brief Constructor
*/
function __construct($p_cn,$p_id=-1)
{
$this->form_definition=new Form_Definition_SQL($p_cn,$p_id);
@ -55,7 +58,8 @@ class Acc_Report
{
return $this->form_definition->getp("fr_label");
}
/*!\brief return all the row and parse formula
/*!
* \brief return all the row and parse formula
* from a report
* \param $p_start start periode
* \param $p_end end periode
@ -97,7 +101,8 @@ class Acc_Report
return $col;
}
/*!\brief save into form and form_def
/*!
* \brief save into form and form_def
*/
function save()
{

View file

@ -24,6 +24,10 @@ require_once NOALYSS_INCLUDE.'/database/form_detail_sql.class.php';
* @file
* @brief manage simple report
*/
/**
* @class Acc_Report_MTable
* @brief manage simple report
*/
class Acc_Report_MTable extends Manage_Table_SQL
{
@ -34,6 +38,14 @@ class Acc_Report_MTable extends Manage_Table_SQL
parent::__construct($p_table);
}
/**
*
* @brief build an object Acc_Report_MTable
* @param int $p_id Form_Detail_SQL.id
* @param int $p_form_def_id Parent Form
* @returns Acc_Report_MTable
* @throws Exception
*/
static function build($p_id, $p_form_def_id)
{
$cn=Dossier::connect();

View file

@ -26,7 +26,7 @@
require_once NOALYSS_INCLUDE."/database/document_type_sql.class.php";
/**
* @class
* @class Action_Document_Type_MTable
* @brief display , modify and add document_type for follow up
* @see include/ajax/ajax_cfgaction.php
* @see include/cfg_action.inc.php

View file

@ -19,10 +19,14 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
/*!
* \file
* \brief link between accountancy and analytic, like table but as a listing
*/
/*!
* \class Anc_Acc_Link
* \brief link between accountancy and analytic, like table but as a listing
*/
class Anc_Acc_Link extends Anc_Print
{
function __contruct($p_cn)

View file

@ -23,6 +23,11 @@
* \brief
*/
/*!
* \class Anc_Acc_List
* \brief Manage the class for reporting about Analytic Accountancy and Accountancy : card - analytic account,
* accounting - analytic account,
*/
class Anc_Acc_List extends Anc_Acc_Link
{
@ -53,7 +58,7 @@ class Anc_Acc_List extends Anc_Acc_Link
return $r;
}
/**
* load the data
* \brief load the data
* does not return anything but give a value to this->aheader and this->arow
*/
function load_anc_account()
@ -103,7 +108,7 @@ END) <> 0::numeric order by po_id,j_poste
}
/**
* load the data
* \brief load the data
* does not return anything but give a value to this->aheader and this->arow
*/
function load_anc_card()
@ -153,7 +158,7 @@ END) <> 0::numeric order by po_name,name",array($this->pa_id));
}
/**
* load the data
* \brief load the data
* does not return anything but give a value to this->aheader and this->arow
*/
function load_poste()
@ -206,7 +211,7 @@ END) <> 0::numeric order by po_id,po_name
}
/**
* load the data
* \brief load the data
* does not return anything but give a value to this->aheader and this->arow
*/
function load_card()

View file

@ -23,6 +23,10 @@
* @file
* @brief Analytic account
*/
/**
* @class Anc_Account
* @brief Analytic account ; get the balance
*/
class Anc_Account
{

View file

@ -19,10 +19,14 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
* \brief show the Grand Livre for analytic
/*!
*\file
* \brief report the Grand Livre for analytic
*/
/*!\class Anc_GrandLivre
* \brief report he Grand Livre for analytic
*/
class Anc_GrandLivre extends Anc_Print
{

View file

@ -25,6 +25,14 @@
* @brief Class to manage distribution keys for Analytic accountancy
*
*/
/**
* @class Anc_Key
* @brief Class to manage distribution keys for Analytic accountancy
*
*/
require_once NOALYSS_INCLUDE.'/database/anc_key_sql.class.php';
class Anc_Key

View file

@ -23,7 +23,9 @@
* \brief this class is the mother class for the CA printing
*/
/*! \brief this class is the mother class for the CA printing
/*!
* \class Anc_Print
* \brief this class is the mother class for the CA printing
*
*
*/

View file

@ -19,10 +19,14 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
* \brief object to show a table: link between accountancy and analytic
/*!
* \file
* \brief printing analytic and accountancy as a table
*/
/*!
* \class Anc_Table
* \brief printing analytic and accountancy as a table
*/
class Anc_Table extends Anc_Acc_Link
{
function __construct($p_cn)

View file

@ -18,12 +18,18 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* * *
/**
* @file
* @brief compute the ageing balance, currently this code is not used
*
*/
/**
* @class Balance_Age
* @brief compute the ageing balance, currently this code is not used
*
*/
class Balance_Age
{

View file

@ -19,7 +19,13 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
/*!
* \file
* \brief Display the calendar
*/
/*!
* \class Calendar
* \brief Display the calendar
*/
class Calendar
@ -42,7 +48,8 @@ class Calendar
$this->day=29;
}
/*!\brief fill the array given as parameter with the data from action_gestion
/*!
* \brief fill the array given as parameter with the data from action_gestion
*\param $p_array array of the date of the month
* \param $p_style is either short or long, short: for a small title, long for a complete one
*/
@ -114,7 +121,8 @@ class Calendar
}
}
}
/*!\brief fill the array given as parameter with the data from todo
/*!
* \brief fill the array given as parameter with the data from todo
*\param $p_array array of the date of the month
* \param $p_style is either short or long, short: for a small title, long for a complete one
*/
@ -152,7 +160,8 @@ class Calendar
}
}
}
/*!\brief display a calendar after a call to Calendar::fill
/*!
* \brief display a calendar after a call to Calendar::fill
*\param $p_type long or short
*
*\return HTML String

View file

@ -24,7 +24,11 @@
* @brief manage the table attr_def
* @see card_attr.inc.php
*/
/**
* @class Card_Attribut_MTable
* @brief manage the table attr_def
* @see card_attr.inc.php
*/
class Card_Attribut_MTable extends Manage_Table_SQL
{

View file

@ -23,6 +23,11 @@
* @file
* @brief in follow-up , add multiple cards to an event, an action
*/
/**
* @class Card_Multiple
* @brief in follow-up , add multiple cards to an event, an action
*/
class Card_Multiple
{
private $sql ; //!< SQL with the right column name

View file

@ -22,8 +22,12 @@
/**
* @file
* @brief
* @todo to be implemented
* @brief Manage the Options for the Card_Multiple in the Follow Up
*/
/**
* @class Contact_Option_Ref_MTable
* @brief Manage the Options for the Card_Multiple in the Follow Up
*/
require_once NOALYSS_INCLUDE."/database/contact_option_ref_sql.class.php";

View file

@ -25,7 +25,7 @@
*/
/**
* @class
* @class Data_Currency_Operation
* @brief build the SQL and fetch data of data currency operation from database ,
*/
class Data_Currency_Operation

View file

@ -25,7 +25,10 @@
* \brief contains the class for connecting to Noalyss
*/
/**
* \class Database
* \brief contains the class for connecting to Noalyss
*/
class Database extends DatabaseCore
{
/**\brief constructor

View file

@ -21,12 +21,14 @@
/**
* @file
* @brief
* @brief in follow-up , you have action which can be set with different options depending of the type of documents like
* invoicing, meeting, ...
*/
/**
* @class
* @brief
* @class Document_Option
* @brief in follow-up , you have action which can be set with different options depending of the type of documents like
* invoicing, meeting, ...
*/
class Document_Option
{

View file

@ -19,17 +19,19 @@
*/
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/** \file
/**
* \file
* \brief class for the table document_type
*/
/** \
/**
* @class Document_Type
*@brief class for the table document_type , a document_type is a kind of action in the follow up
*
* < dt_id pk document_type
* < dt_value value
*/
class Document_type
class Document_Type
{
/** document_type
* \brief constructor

View file

@ -20,7 +20,12 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
* \brief about the accountant exercice
* \brief about the accountancy period (usually 1 year starting in January until december) = exercice
*/
/*!
* \class Exercice
* \brief about the accountancy period (usually 1 year starting in January until december) = exercice
*/
class Exercice
{

View file

@ -27,7 +27,7 @@
*/
/**
* @class
* @class Filter_Data_Currency_Accounting
* @brief filter data in currency from datase , inherit from Data_Currency_Operation, filter on
* a range of accounting or only one
*/

View file

@ -27,7 +27,7 @@
*/
/**
* @class
* @class Filter_Data_Currency_Card
* @brief filter data in currency froqm datase , inherit from Data_Currency_Operation, filter on
* a specific card
*/

View file

@ -26,7 +26,7 @@
*/
/**
* \class
* \class Filter_Data_Currency_Card_Category
* \brief filter data in currency from datase , inherit from Data_Currency_Operation, filter on
* card category
*/

View file

@ -27,7 +27,7 @@
*/
/**
* @class
* @class Follow_Up_Other_Concerned
* @brief Others concerned card in an action
* @see Follow_Up
*/

View file

@ -25,7 +25,11 @@
* \brief display, add, delete and modify forecast category
*
*/
/**
* \class Forecast_Category_MTable
* \brief display, add, delete and modify forecast category
*
*/
require_once NOALYSS_INCLUDE."/database/forecast_category_sql.class.php";
class Forecast_Category_MTable extends Manage_Table_SQL

View file

@ -29,7 +29,10 @@
* @file
* @brief display the item for forecast
*/
/**
* @class Forecast_Item_MTable
* @brief display the item for forecast
*/
require_once NOALYSS_INCLUDE . "/database/forecast_item_sql.class.php";
require_once NOALYSS_INCLUDE . "/database/forecast_sql.class.php";

View file

@ -22,14 +22,15 @@
*/
/**
* @file
* @brief
* @brief HtmlInput specific to Noalyss
*
*/
// Copyright Author Dany De Bontridder danydb@noalyss.eu
/**
* @class
* @brief
* @class Html_Input_Noalyss
* @brief HtmlInput specific to Noalyss
*
*
*/
class Html_Input_Noalyss extends HtmlInput

View file

@ -21,6 +21,10 @@
*@file
*@brief Menu_Ref let you manage the available menu
*/
/**
*@class Menu_Ref
*@brief Menu_Ref let you manage the available menu
*/
require_once NOALYSS_INCLUDE.'/database/menu_ref_sql.class.php';
class Menu_Ref extends Menu_Ref_sql
{

View file

@ -23,6 +23,11 @@
* @file
* @brief Class Package Core to install the core , if possible
*/
/**
* @class Package_Core
* @brief Class Package Core to install the core , if possible
*/
class Package_Core extends Package_Noalyss
{

View file

@ -23,6 +23,11 @@
* @file
* @brief package noalyss is the mother class of the class to install and download package
*/
/**
* @class Package_Noalyss
* @brief package noalyss is the mother class of the class to install and download package
*/
abstract class Package_Noalyss
{

View file

@ -1,3 +1,4 @@
<?php
/*
@ -22,11 +23,12 @@
/**
* @file
* @brief
* @brief Show , download and install template database for accountancy from the Package repository
*/
/**
* @brief
* @class Package_Template
* @brief Show , download and install template database for accountancy from the Package repository
*
*/
class Package_Template extends Package_Noalyss

View file

@ -24,8 +24,13 @@ if (!defined('ALLOWED'))
/**
* @file
* @brief
* @brief extra setting for company
*/
/**
* @class Parameter_Extra_MTable
* @brief extra setting for company
*/
require_once NOALYSS_INCLUDE."/database/parameter_extra_sql.class.php";
class Parameter_Extra_MTable extends Manage_Table_SQL

View file

@ -21,12 +21,17 @@
/**
* @file
* @brief
* @brief Manage the Payment method
* @see Payment_Method_SQL
* @see ajax_payment_method.php
*/
require_once NOALYSS_INCLUDE."/database/jrn_def_sql.class.php";
/**
* @class Payment_Method_MTable
* @brief Manage the Payment method
* @see Payment_Method_SQL
* @see ajax_payment_method.php
*/
class Payment_Method_MTable extends Manage_Table_SQL
{

View file

@ -23,6 +23,11 @@
* \brief API for creating PDF, unicode, based on tfpdf
*@see TFPDF
*/
/*!
* \class PDF
* \brief API for creating PDF, unicode, based on tfpdf
*@see TFPDF
*/
class PDF extends PDF_Core

View file

@ -20,8 +20,15 @@
// Copyright Author Dany De Bontridder danydb@noalyss.eu
/**
* @file
* @brief PDF in landscape mode
*/
/**
* @class PDFLand
* @brief PDF in landscape mode
*/
class PDFLand extends PDF
{

View file

@ -22,10 +22,14 @@
/**
* @file
* Detail Operation ACC + ANC , it will use Acc_Operation and Anc_Operation
* @brief Detail Operation ACC + ANC , it will use Acc_Operation and Anc_Operation
*
*/
/**
* @class PDF_Operation
* @brief Detail Operation ACC + ANC , it will use Acc_Operation and Anc_Operation
*
*/
class PDF_Operation extends PDF {
private $acc_detail; //!< Acc_Operation object

View file

@ -18,7 +18,14 @@
*/
// Copyright Author Dany De Bontridder danydb@noalyss.eu
/**
* @file
* @brief PDF For the balance report
*/
/**
* @class PDFBalance_simple
* @brief PDF For the balance report
*/
class PDFBalance_simple extends PDF
{

View file

@ -19,12 +19,19 @@
*/
/***
/**
* @file
* @brief contains prepared query used in different classes of the application
*
*
*/
/**
* @class Prepared_Query
* @brief contains prepared query used in different classes of the application
*
*
*/
class Prepared_Query {
private $db; //!< Database connection
@ -45,7 +52,7 @@ class Prepared_Query {
}
/**
* Prepare the query for fetching the linked operation. ONE paramete is needed : jrn.jr_id , returns all columns
*@brief Prepare the query for fetching the linked operation. ONE paramete is needed : jrn.jr_id , returns all columns
* from the table PUBLIC.JRN, column qcode_bank (default card for fin ledger) of the operation concerning
* to the payment
*
@ -80,7 +87,7 @@ class Prepared_Query {
}
}
/**
* Prepare the query for find the amount in currency
* @brief Prepare the query for find the amount in currency
*/
public function prepare_currency()
{

View file

@ -19,7 +19,14 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
/*!
* \file
* \brief this class extends PDF and let you export the detailled printing
* of any ledgers
*/
/*!
* \class Print_Ledger_Detail
* \brief this class extends PDF and let you export the detailled printing
* of any ledgers
*/

View file

@ -19,7 +19,12 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
/*!
* \file
* \brief print a listing of financial
*/
/*!
* \class Print_Ledger_Financial
* \brief print a listing of financial
*/

View file

@ -19,10 +19,14 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
* \brief print a listing of financial
/*!
* \file
* \brief print a listing of Miscelleaneous operation
*/
/**
* \class Print_Ledger_Misc
* \brief print a listing of Miscelleaneous operation
*/
class Print_Ledger_Misc extends Print_Ledger
{
function __construct(Database $p_cn,$p_jrn,$p_from,$p_to)

View file

@ -19,7 +19,13 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
/*!
* \file
* \brief this class extends PDF and let you export the detailled printing
* of any ledgers
*/
/*!
* \class Print_Ledger_Simple
* \brief this class extends PDF and let you export the detailled printing
* of any ledgers
*/

View file

@ -19,7 +19,13 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
/*!
* \file
* \brief this class extends PDF and let you export the detailled printing
* of any ledgers
*/
/*!
* \class Print_Ledger_Simple_Without_Vat
* \brief this class extends PDF and let you export the detailled printing
* of any ledgers
*/

View file

@ -24,7 +24,7 @@
* @brief manage the operation in currency : export CSV, export PDF , output in HTML
*/
/**
* @class
* @class Print_Operation_Currency
* @brief manage the operation in currency : export CSV , output in HTML
*/
class Print_Operation_Currency

View file

@ -19,7 +19,14 @@
// Copyright Author Dany De Bontridder danydb@noalyss.eu
/*!\file
/*!
* \file
* \brief Send email for Noalyss after checking if it is possible : if cannot be sent if the limit of max email
* is reached,
* @see sendmail_core
*/
/*!
* \class Sendmail
* \brief Send email for Noalyss after checking if it is possible : if cannot be sent if the limit of max email
* is reached,
* @see sendmail_core
@ -28,7 +35,7 @@
class Sendmail extends Sendmail_Core
{
/**
* Send the message
* @brief Send the message
* @throws Exception
*/
function send()
@ -47,7 +54,7 @@ class Sendmail extends Sendmail_Core
$this->increment_mail($repo,$dossier,$date);
}
/**
* Check if email can be sent from a folder
* @brief Check if email can be sent from a folder
* @return boolean
*/
function can_send() {
@ -81,7 +88,7 @@ class Sendmail extends Sendmail_Core
return true;
}
/**
* return max email the folder can send
*@brief return max email the folder can send
* @param $p_repo Database
* @param $p_dossier_id int
*/
@ -92,7 +99,7 @@ class Sendmail extends Sendmail_Core
return $max_email;
}
/**
* Return the amount of send emails for the date (YYYYMMDD)
* @brief Return the amount of send emails for the date (YYYYMMDD)
* @param Database $p_repo
* @param $p_dossier_id int
* @param $p_date string YYYYMMDD
@ -107,7 +114,7 @@ class Sendmail extends Sendmail_Core
}
/**
* Add $p_amount_email to email sent
* @brief Add $p_amount_email to email sent
* @param $p_repo Database
* @param $p_dossier int id of the folder (dossier.dos_id)
* @param $p_date string (YYYYMMDD)

View file

@ -22,10 +22,15 @@
/**
* @file
* @brief
* @brief manage the stocks
*
*
*/
/**
* @class Stock
* @brief manage the stocks
*/
require_once NOALYSS_INCLUDE.'/database/stock_sql.class.php';
class Stock extends Stock_Sql

View file

@ -25,6 +25,12 @@
* @brief Manage the goods
*
*/
/**
* @class Stock_Goods
* @brief Manage the goods
*
*/
require_once NOALYSS_INCLUDE.'/database/stock_goods_sql.class.php';
class Stock_Goods extends Stock_Goods_Sql

View file

@ -19,6 +19,15 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
require_once NOALYSS_INCLUDE.'/database/tag_sql.class.php';
/**
* @file
* @brief Tag operations or actions to linked them together
*/
/**
* @class Tag
* @brief Tag operations or actions to linked them together
*/
class Tag
{
private $data; //<! Tag_SQL

View file

@ -27,6 +27,11 @@
* @file
* @brief concerns the tags linked to an action
*/
/**
* @class Tag_Action
* @brief concerns the tags linked to an action
*/
class Tag_Action extends Tag
{
function __construct($p_cn, $p_id=-1 )

View file

@ -26,6 +26,13 @@
*
*
*/
/**
* @class Tag_Group_MTable
* @brief manage tag_group table
*
*
*/
require_once NOALYSS_INCLUDE.'/database/tag_group_sql.class.php';
class Tag_Group_MTable extends Manage_Table_SQL

View file

@ -26,6 +26,11 @@ if (!defined('ALLOWED'))
* @file
* @brief concerns the tags linked to an accountancy writing
*/
/**
* @class Tag_Operation
* @brief concerns the tags linked to an accountancy writing
*/
class Tag_Operation extends Tag
{

View file

@ -26,6 +26,12 @@
* @brief Compute , display and export the tax summary
*
*/
/**
* @class Tax_Summary
* @brief Compute , display and export the tax summary
*
*/
class Tax_Summary
{

View file

@ -24,6 +24,12 @@
*
* @file
* @brief abstract of the table public.action_gestion_comment */
/**
* @class Action_Gestion_Comment_SQL
* @brief ORM SQL Action_Gestion_Comment
*/
class Action_Gestion_Comment_SQL extends Table_Data_SQL
{

View file

@ -24,7 +24,14 @@
*
* @file
* @brief abstract of the table public.action_gestion */
class Action_gestion_SQL extends Table_Data_SQL
/**
* @class Action_Gestion_SQL
* @brief ORM public.action_gestion
*/
class Action_Gestion_SQL extends Table_Data_SQL
{
function __construct(DatabaseCore $p_cn, $p_id=-1)

View file

@ -24,6 +24,11 @@
*
* @file
* @brief abstract of the table public.attr_def */
/**
* @class Attr_def_SQL
* @brief abstract of the table public.attr_def */
*/
class Attr_def_SQL extends Table_Data_SQL
{

View file

@ -26,6 +26,11 @@
*
* @file
* @brief abstract of the table public.contact_option_ref */
/**
* @class Contact_option_ref_SQL
* @brief abstract of the table public.contact_option_ref */
*/
class Contact_option_ref_SQL extends Table_Data_SQL
{

View file

@ -25,6 +25,11 @@
*
* @file
* @brief abstract of the table public.currency_history */
/**
* @class Currency_history_SQL
* @brief abstract of the table public.currency_history */
*/
class Currency_history_SQL extends Table_Data_SQL
{

View file

@ -25,6 +25,11 @@
*
* @file
* @brief abstract of the table public.currency */
/**
* @class Currency_SQL
* @brief abstract of the table public.currency */
class Currency_SQL extends Table_Data_SQL
{

View file

@ -27,7 +27,7 @@
*/
/**
* @class
* @class Document_type_SQL
* @brief abstract of the table public.document_type
*/
class Document_type_SQL extends Table_Data_SQL

View file

@ -25,8 +25,8 @@
*/
/**
* @class
* @file Manage the table public.fiche_def_ref , which concerns the template of
* @class Fiche_def_ref_SQL
* @brief ORM Manage the table public.fiche_def_ref , which concerns the template of
* category of card
*/
class Fiche_def_ref_SQL extends Table_Data_SQL

View file

@ -28,7 +28,8 @@
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
/**
* @brief Manage the table public.menu_ref
* @class Menu_Ref_SQL
* @brief ORM Manage the table public.menu_ref
*/
class Menu_Ref_SQL extends Table_Data_SQL
{

View file

@ -24,6 +24,12 @@
*
*@file
*@brief abstract of the table public.op_predef */
/**
*@class Op_Predef_SQL
*@brief ORM abstract of the table public.op_predef */
class Op_predef_SQL extends Table_Data_SQL
{

View file

@ -25,6 +25,13 @@
* @file
* @brief abstract of the table public.operation_currency
*/
/**
* @class Operation_currency_SQL
* @brief ORM abstract of the table public.operation_currency
*/
class Operation_currency_SQL extends Table_Data_SQL
{

View file

@ -25,6 +25,10 @@
*
*@file
*@brief abstract of the table public.parameter_extra */
/**
* @class Parameter_Extra_SQL
*@brief abstract of the table public.parameter_extra */
class Parameter_Extra_SQL extends Table_Data_SQL
{

View file

@ -28,7 +28,8 @@
*/
/**
* *@brief Manage the table public.parm_periode
* @class Parm_periode_SQL
* @brief ORM Manage the table public.parm_periode
*/
class Parm_periode_SQL extends Table_Data_SQL
{

View file

@ -26,7 +26,7 @@
* @brief abstract of the table public.poste_analytique
*
*
* @class
* @class Poste_analytique_SQL
* @brief abstract of the table public.poste_analytique */
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';

View file

@ -30,7 +30,7 @@
/**
* class_currency_history_sql.php
*
* @class
* @class V_Currency_Last_Value_SQL
* @brief abstract of the view public.v_currency_last_value
*/
class V_Currency_Last_Value_SQL extends Data_SQL

View file

@ -22,11 +22,15 @@
/*!\file
* \brief contains HTML features
*/
/*!
* \class Html_Table
* \brief contains HTML features
*/
class Html_Table
{
/**
* Receives a SQL command and returns a string with the HTML code
* @brief Receives a SQL command and returns a string with the HTML code
* to display it as a table.
* Simple table without any feature (link in certain cell, sort,...)
* @param $cn database object

View file

@ -29,6 +29,10 @@
* @file
* @brief manage the http input (get , post, request)
*/
/**
* @class HttpInput
* @brief manage the http input (get , post, request) and extract from an array
*/
class HttpInput
{
@ -56,7 +60,10 @@ class HttpInput
$this->array=$array;
return $this;
}
// $empty replace the empty value
/*!
* \brief $empty replace the empty value
*
*/
public function set_empty($empty)
{
$this->empty=$empty;
@ -64,7 +71,7 @@ class HttpInput
}
/**
* Check the type of the value
* \brief Check the type of the value
* @param $p_name name of the variable
* @param $p_type type of the variable (number,string,date,array)
* @throws Exception if the variable doesn't exist or type incorrect
@ -132,7 +139,7 @@ class HttpInput
}
/**
* Retrieve from $this->array the variable
* @brief Retrieve from $this->array the variable
* @param $p_name name of the variable
* @param $p_type type of the variable (number,string,date('dd.mm.yyyy'),array)
* @param $p_default default value is variable
@ -172,7 +179,7 @@ class HttpInput
}
/**
* Retrieve from $_GET
* @brief Retrieve from $_GET
* @param $p_name name of the variable
* @param $p_type type of the variable , opt. default string
* @param $p_default default value is variable is not set
@ -197,7 +204,7 @@ class HttpInput
}
/**
* Retrieve from $_POST
* @brief Retrieve from $_POST
* @param string $p_name name of the variable
* @param $p_type type of the variable , opt. default string
* @param $p_default default value is variable is not set
@ -221,7 +228,7 @@ class HttpInput
}
}
/**
* Retrieve from $_REQUEST
* @brief Retrieve from $_REQUEST
* @param $p_name name of the variable
* @param $p_type type of the variable , opt. default string
* @param $p_default default value is variable is not set
@ -245,7 +252,7 @@ class HttpInput
}
}
/**
* Retrieve from $p_array
* @brief Retrieve from $p_array
* @param $p_array source
* @param $p_name name of the variable
* @param $p_type type of the variable , opt. default string
@ -271,7 +278,7 @@ class HttpInput
}
/**
* Extract variable name from an exception message. If an exception is thrown
* @brief Extract variable name from an exception message. If an exception is thrown
* then thanks this function it is possible to know what variable triggers
* the exception
* @param type $p_string

View file

@ -25,7 +25,8 @@
*/
/*!
* \brief
* \class IAncCard
* \brief HtmlInput for card of analytic accountancy
*/
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';

View file

@ -22,6 +22,11 @@
/*!\file
* \brief Html Input
*/
/*!
* \class IButton
* \brief Html Input
*/
class IButton extends HtmlInput
{
var $label;

View file

@ -22,6 +22,11 @@
/*!\file
* \brief Html Input
*/
/*!
* \class ICheckBox
* \brief Html Input
*/
class ICheckBox extends HtmlInput
{
var $range;

View file

@ -20,13 +20,20 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/* !\file
/*!
* \file
* \brief Html Input
* - name is the name and id of the input
* - extra amount of the operation to reconcile
* - extra2 ledger paid
*/
/*!
* \class IConcerned
* \brief Html Input
* - name is the name and id of the input
* - extra amount of the operation to reconcile
* - extra2 ledger paid
*/
class IConcerned extends HtmlInput
{

View file

@ -22,6 +22,11 @@
/*!\file
* \brief Html Input
*/
/*!
* \class IFile
* \brief Html Input
*/
class IFile extends HtmlInput
{
// if true , the size is tested and a box is displaid

View file

@ -22,6 +22,11 @@
/*!\file
* \brief Html Input
*/
/*!\class IHidden
* \brief Html Input
*/
class IHidden extends HtmlInput
{
/*!\brief show the html input of the widget*/

View file

@ -25,7 +25,7 @@
*/
/**
* @class
* @class Impress
* @brief contains function for the parsing and computing formulae . Test are in scenario/test_parse_formula.php
*/
class Impress

View file

@ -24,6 +24,12 @@
* @brief A switch let you switch between 2 values : 0 and 1, it is used to
* replace the check
*/
/**
* @class Inplace_Switch
* @brief A switch let you switch between 2 values : 0 and 1, it is used to
* replace the check
*/
class Inplace_Switch
{

View file

@ -25,7 +25,12 @@
/**
* @file
* @brief modern checkbox, using a javascript to change the icon when clicked and a hidden field, there is always a
* value , either 1 or 0
* value , either 1 or 0 EXPERIMENTAL
*/
/**
* @class
* @brief modern checkbox, using a javascript to change the icon when clicked and a hidden field, there is always a
* value , either 1 or 0 , EXPERIMENTAL
*/
class InputCheckBox extends HtmlInput

View file

@ -26,6 +26,10 @@
* @file
* @brief show a switch, when you click on it an hidden field is changed, the value is 1 or 0
*/
/**
* @class InputSwitch
* @brief show a switch, when you click on it an hidden field is changed, the value is 1 or 0
*/
class InputSwitch extends HtmlInput
{

View file

@ -23,7 +23,15 @@
* \brief create a popup in html above the current layer
* the html inside the popup cannot contain any floating elt as div..
*
*
*/
/*!
* \class IPopup
* \brief create a popup in html above the current layer
* the html inside the popup cannot contain any floating elt as div..
*
*/
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
class IPopup extends HtmlInput

View file

@ -23,7 +23,9 @@
/**\file
* \brief Html Input
*/
/*!\class IRadio
* \brief Html Input
*/
class IRadio extends HtmlInput
{
/**\brief show the html input of the widget */

View file

@ -23,6 +23,12 @@
* \brief Html Input
* - name is the name and id of the input
*/
/*!
* \class IRelated_Action
* \brief Html Input
* - name is the name and id of the input
*/
class IRelated_Action extends HtmlInput
{

View file

@ -19,13 +19,23 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
/*!
* \file
* \brief Html Input , create a tag <SELECT> ... </SELECT>
* if readonly == true then display the label corresponding to the selected value
* You can use also $this->rowsize to specify the number of lines to display
*
* @see Database::make_array
*/
/*!
* \class ISelect
* \brief Html Input , create a tag <SELECT> ... </SELECT>
* if readonly == true then display the label corresponding to the selected value
* You can use also $this->rowsize to specify the number of lines to display
*
* @see Database::make_array
*/
class ISelect extends HtmlInput
{
/**

View file

@ -19,7 +19,13 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
/*!
* \file
* \brief Html Input
*/
/*!
* \class ISpan
* \brief Html Input
*/
class ISpan extends HtmlInput

View file

@ -18,8 +18,12 @@
*/
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
/*!
* \file
* \brief Html Input
*/
/*!
* \class IText
* \brief Html Input
*/
class IText extends HtmlInput

View file

@ -27,7 +27,7 @@
*/
/**
* @class
* @class Noalyss_SQL
* @brief this class is deprecated and inherits from Table_Data_SQL. It remains only for compatibility
* purpose
* @see Table_Data_SQL

View file

@ -19,11 +19,16 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
/*!
* \file
* \brief API for creating PDF, unicode, based on tfpdf
*@see TFPDF
*/
/*!
* \class Cellule
* \brief A Cellule is a cell to print
*@see TFPDF
*/
require_once NOALYSS_INCLUDE.'/tfpdf/tfpdf.php';
class Cellule {
var $width;
@ -49,6 +54,11 @@ class Cellule {
return $this;
}
}
/*!
* \class PDF_Core
* \brief API for creating PDF, unicode, based on tfpdf
*@see TFPDF
*/
class PDF_Core extends TFPDF
{

View file

@ -16,13 +16,19 @@
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
// Copyright Author Dany De Bontridder danydb@aevalys.eu
// Copyright Author Dany De Bontridder danydb@noalyss.eu
/**
*@file
*@brief API for sending email
*/
/**
*@class Sendmail_Core
*@brief API for sending email
*/
/**
* Description of Sendmail
*
@ -72,7 +78,7 @@ class Sendmail_Core
}
/**
* body of the message (utf8)
* @brief body of the message (utf8)
* @param type $p_message
*/
function set_message($p_message)
@ -82,7 +88,7 @@ class Sendmail_Core
}
/**
* Add file to the message
*@brief Add file to the message
* @param FileToSend $file file to add to the message
*/
function add_file(FileToSend $file)
@ -91,7 +97,7 @@ class Sendmail_Core
}
/**
* verify that the message is ready to go
* @brief verify that the message is ready to go
* @throws Exception
*/
function verify()
@ -109,7 +115,7 @@ class Sendmail_Core
/**
*
* Function to override if supplemental header are needed
* @brief Function to override if supplemental header are needed
* @return string
*/
function add_supplemental_header()
@ -117,7 +123,7 @@ class Sendmail_Core
return '';
}
/**
* create the message before sending
*@brief create the message before sending
*/
function compose()
{
@ -136,9 +142,6 @@ class Sendmail_Core
$this->header .= "MIME-Version: 1.0" . $eol;
$this->header .= $this->add_supplemental_header();
$this->header .= "Content-Type: multipart/mixed; boundary=\"" . $separator . "\"" ;
//$headers .= "Content-Transfer-Encoding: 7bit" . $eol;
//$headers .= "This is a MIME encoded message." . $eol ;
//$headers .= $eol . $eol;
// message
$this->content .= "--" . $separator . $eol;
@ -175,7 +178,7 @@ class Sendmail_Core
}
/**
* Send email
*@brief Send email
* @throws Exception
*/
function send()

View file

@ -19,10 +19,13 @@
*/
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/**
* @file
* @brief this wrapper is used to created easily a wrapper to a table
* @brief interface : for creating ORM Object
*/
/**
* @class Table_Data_SQL
* @brief Interface : this wrapper is used to created easily a wrapper to a table (ORM)
* You must create a class extending this one, in the constructor
* these variables have to be defined
*

View file

@ -19,7 +19,12 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
/*!\file
/*!
* \file
* \brief extends the Zip object
*/
/*!
* \class Zip_Extended
* \brief extends the Zip object
*/