Documentation
This commit is contained in:
parent
4886d78356
commit
108de76fbd
23 changed files with 100 additions and 29 deletions
|
|
@ -683,7 +683,7 @@ EXCLUDE_PATTERNS = a?.php \
|
|||
scriptaculous.js \
|
||||
slider.js \
|
||||
sound.js \
|
||||
unittest.js.
|
||||
unittest.js
|
||||
|
||||
|
||||
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
|
||||
|
|
|
|||
|
|
@ -17,7 +17,10 @@
|
|||
* along with NOALYSS; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief used by the autocomplete feature of the Direct Access
|
||||
*/
|
||||
require_once '../include/constant.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/database.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/user.class.php';
|
||||
|
|
|
|||
|
|
@ -19,14 +19,16 @@
|
|||
|
||||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
|
||||
/*!\file
|
||||
/*!
|
||||
* \file
|
||||
* \brief javascript script for the ledger in accountancy,
|
||||
* compute the sum, add a row at the table..
|
||||
*
|
||||
*/
|
||||
var layer = 1;
|
||||
/**
|
||||
* update the list of available predefined operation when we change the ledger.
|
||||
* \fn
|
||||
* \brief update the list of available predefined operation when we change the ledger.
|
||||
*/
|
||||
function update_predef(p_type, p_direct, p_ac)
|
||||
{
|
||||
|
|
@ -1561,4 +1563,4 @@ function duplicate_operation(p_dossier,p_jr_id) {
|
|||
}
|
||||
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ try {
|
|||
}
|
||||
if ( $g_user->check_module("PREDOP") == 0) die();
|
||||
|
||||
$prd_op=new Op_predef_SQL($cn);
|
||||
$prd_op=new Op_Predef_SQL($cn);
|
||||
$prd_op->set_pk_value($p_id);
|
||||
$prd_op->load();
|
||||
|
||||
|
|
@ -74,4 +74,4 @@ elseif ($action == "delete")
|
|||
$xml=$operation_predef_mtable->ajax_delete();
|
||||
header('Content-type: text/xml; charset=UTF-8');
|
||||
echo $xml->saveXML();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,11 @@
|
|||
* \brief the extension class manages the plugins for the security, the access
|
||||
* the inclusion...
|
||||
*/
|
||||
/*!\brief manage the extension, it involves the table extension
|
||||
/*!
|
||||
*
|
||||
* \class Extension
|
||||
*
|
||||
* \brief manage the extension, it involves the table extension
|
||||
*
|
||||
* Data member
|
||||
* - $cn database connection
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
*@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
|
||||
class Menu_Ref extends Menu_Ref_SQL
|
||||
{
|
||||
function format_code()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -17,16 +17,16 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
/*! \file
|
||||
/*!
|
||||
* \file
|
||||
* \brief Class to manage predefined operation thanks the class Manage Table
|
||||
*/
|
||||
/*!
|
||||
* \brief Display a table and allow to change the predefined operation, insert or delete. Used the
|
||||
* Display a table and allow to change the predefined operation, insert or delete. Used the
|
||||
* class Manage_Table_SQL and the SQL Object for the tables op_predef and op_predef_detail.
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE."/database/op_predef_sql.class.php";
|
||||
|
||||
/*!
|
||||
* \class Operation_Predef_MTable
|
||||
* \brief Display a table and allow to change the predefined operation, insert or delete. Used the
|
||||
* class Manage_Table_SQL and the SQL Object for the tables op_predef and op_predef_detail.
|
||||
*
|
||||
|
|
@ -38,7 +38,7 @@ class Operation_Predef_MTable extends Manage_Table_SQL
|
|||
{
|
||||
private $pre_operation;
|
||||
private $force_ledger_type; //!< When adding , the ledger must be set
|
||||
function __construct(Op_predef_SQL $p_table)
|
||||
function __construct(Op_Predef_SQL $p_table)
|
||||
{
|
||||
parent::__construct($p_table);
|
||||
|
||||
|
|
@ -178,4 +178,4 @@ class Operation_Predef_MTable extends Manage_Table_SQL
|
|||
$this->get_object_name(), "xx", "smallbutton", BUTTONADD));
|
||||
echo $select->input();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,6 +26,11 @@
|
|||
* @file
|
||||
* @brief abstract of the table public.forecast_category
|
||||
*/
|
||||
/**
|
||||
* @class Forecast_Category_SQL
|
||||
*
|
||||
* @brief ORM abstract of the table public.forecast_category
|
||||
*/
|
||||
class Forecast_Category_SQL extends Table_Data_SQL
|
||||
{
|
||||
|
||||
|
|
@ -62,4 +67,4 @@ class Forecast_Category_SQL extends Table_Data_SQL
|
|||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,6 +25,10 @@
|
|||
* @file
|
||||
* @brief abstract of the table public.forecast_item
|
||||
*/
|
||||
/**
|
||||
* @class Forecast_Item_SQL
|
||||
* @brief ORM abstract of the table public.forecast_item
|
||||
*/
|
||||
class Forecast_Item_SQL extends Table_Data_SQL
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@
|
|||
* @file
|
||||
* @brief abstract of the table public.forecast
|
||||
*/
|
||||
/**
|
||||
* @class Forecast_SQL
|
||||
* @brief ORM abstract of the table public.forecast
|
||||
*/
|
||||
class Forecast_SQL extends Table_Data_SQL
|
||||
{
|
||||
|
||||
|
|
@ -62,4 +66,4 @@ class Forecast_SQL extends Table_Data_SQL
|
|||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@
|
|||
*
|
||||
* @file
|
||||
* @brief abstract of the table public.form_definition */
|
||||
/**
|
||||
* @class Form_Definition_SQL
|
||||
* @brief ORM abstract of the table public.form_definition */
|
||||
|
||||
class Form_Definition_SQL extends \Table_Data_SQL
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@
|
|||
*
|
||||
* @file
|
||||
* @brief abstract of the table public.form_detail */
|
||||
/**
|
||||
* @class Form_Detail_SQL
|
||||
* @brief ORM abstract of the table public.form_detail */
|
||||
class Form_Detail_SQL extends \Table_Data_SQL
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@
|
|||
*
|
||||
* @file
|
||||
* @brief abstract of the table public.jrn_def */
|
||||
/**
|
||||
* @class Jrn_def_SQL
|
||||
* @brief ORM abstract of the table public.jrn_def */
|
||||
class Jrn_def_SQL extends Table_Data_SQL
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
*@brief ORM abstract of the table public.op_predef */
|
||||
|
||||
|
||||
class Op_predef_SQL extends Table_Data_SQL
|
||||
class Op_Predef_SQL extends Table_Data_SQL
|
||||
{
|
||||
|
||||
function __construct(DatabaseCore $p_cn,$p_id=-1)
|
||||
|
|
@ -72,4 +72,4 @@ class Op_predef_SQL extends Table_Data_SQL
|
|||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,11 @@
|
|||
|
||||
/**
|
||||
* @file
|
||||
* @brief
|
||||
* @brief abstract of the table public.stock_goods and public.stock_change
|
||||
*/
|
||||
/**
|
||||
* @class Stock_Goods_Sql
|
||||
* @brief ORM abstract of the table public.stock_goods
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
@ -80,6 +84,10 @@ class Stock_Goods_Sql extends Table_Data_SQL
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* @class Stock_Change_Sql
|
||||
* @brief ORM abstract of the table public.stock_change
|
||||
*/
|
||||
class Stock_Change_Sql extends Table_Data_SQL
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -22,10 +22,15 @@
|
|||
|
||||
/**
|
||||
* @file
|
||||
* @brief
|
||||
* @brief abstract of the table public.stock_repository */
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @class Stock_Sql
|
||||
*
|
||||
* @brief ORM abstract of the table public.stock_repository
|
||||
*/
|
||||
class Stock_Sql extends Table_Data_SQL {
|
||||
function __construct($cn,$p_id=-1)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -25,6 +25,13 @@
|
|||
*
|
||||
*@file
|
||||
*@brief abstract of the table public.tag_group */
|
||||
|
||||
|
||||
/**
|
||||
* @class Tag_group_SQL
|
||||
* @brief ORM abstract of the table public.tag_group
|
||||
*
|
||||
*/
|
||||
class Tag_group_SQL extends Table_Data_SQL
|
||||
{
|
||||
|
||||
|
|
@ -57,4 +64,4 @@ function __construct(DatabaseCore $p_cn,$p_id=-1)
|
|||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,11 +19,16 @@
|
|||
*/
|
||||
|
||||
|
||||
/* * *
|
||||
/**
|
||||
* @file
|
||||
* @brief
|
||||
* @brief abstract of the table public.tmp_pcmn
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* @class Tmp_Pcmn_SQL
|
||||
*
|
||||
* @brief ORM abstract of the table public.tmp_pcmn
|
||||
*/
|
||||
class Tmp_Pcmn_SQL extends Table_Data_SQL
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,11 @@
|
|||
* @brief abstract of the table public.tva_rate
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @class Tva_rate_SQL
|
||||
* @brief abstract of the table public.tva_rate
|
||||
*/
|
||||
class Tva_rate_SQL extends Table_Data_SQL
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,11 @@
|
|||
* @file
|
||||
* @brief abstract of the table public.user_filter
|
||||
*/
|
||||
|
||||
/**
|
||||
* @class User_filter_SQL
|
||||
* @brief ORM abstract of the table public.user_filter
|
||||
*/
|
||||
class User_filter_SQL extends Table_Data_SQL
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@
|
|||
* @brief abstract of the view public.v_tva_rate
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* @class V_Tva_Rate_SQL
|
||||
* @brief ORM abstract of the view public.v_tva_rate
|
||||
*/
|
||||
class V_Tva_Rate_SQL extends Table_Data_SQL
|
||||
{
|
||||
|
||||
|
|
@ -72,4 +76,4 @@ class V_Tva_Rate_SQL extends Table_Data_SQL
|
|||
parent::__construct($p_cn, $p_id);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,8 @@
|
|||
|
||||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
|
||||
/**\file
|
||||
/**
|
||||
* \file
|
||||
*
|
||||
*
|
||||
* \brief Show the table menu and let you add your own
|
||||
|
|
@ -131,7 +132,7 @@ if ( $iselect->selected != '')
|
|||
{
|
||||
$sql="where me_type='".sql_string($_REQUEST['p_type'])."' ";
|
||||
}
|
||||
$menu=new Menu_Ref_sql($cn);
|
||||
$menu=new Menu_Ref_SQL($cn);
|
||||
$ret=$menu->seek($sql.$order);
|
||||
?>
|
||||
<fieldset><legend><?php echo _('Recherche')?></legend>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
global $http;
|
||||
|
||||
$prd_op=new Op_predef_SQL($cn);
|
||||
$prd_op=new Op_Predef_SQL($cn);
|
||||
|
||||
$operation_predef_mtable=new Operation_Predef_MTable($prd_op);
|
||||
$operation_predef_mtable->set_json(json_encode(array( "ac"=>$http->request("ac"),
|
||||
|
|
@ -60,4 +60,4 @@ echo '</p>';
|
|||
. " ( select jrn_def_id from jrn_def where jrn_def_type ='FIN') ");
|
||||
echo '<p>';
|
||||
$operation_predef_mtable->display_button_add();
|
||||
echo '</p>';
|
||||
echo '</p>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue