/[phpcompta]/phpcompta/doc/function.txt
ViewVC logotype

Diff of /phpcompta/doc/function.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by sparkyx, Sun Mar 6 15:15:56 2005 UTC revision 1.7 by sparkyx, Sat May 7 21:14:30 2005 UTC
# Line 1  Line 1 
1    ************************* File = admin_dossier.php ****************
2  ************************* File = admin_repo.php ****************  ************************* File = admin_repo.php ****************
3    ************************* File = advanced.php ****************
4  ************************* File = annulation.php ****************  ************************* File = annulation.php ****************
5  ************************* File = a.php ****************  ************************* File = a.php ****************
6  ************************* File = bal_csv.php ****************  ************************* File = bal_csv.php ****************
# Line 9  Line 11 
11  ************************* File = c.php ****************  ************************* File = c.php ****************
12  ************************* File = dossier_prefs.php ****************  ************************* File = dossier_prefs.php ****************
13  ************************* File = d.php ****************  ************************* File = d.php ****************
 ************************* File = enc_jrn.php ****************  
14  ************************* File = e.php ****************  ************************* File = e.php ****************
15  ************************* File = facturation.php ****************  ************************* File = facturation.php ****************
16  ************************* File = fiche_csv.php ****************  ************************* File = fiche_csv.php ****************
# Line 38  Line 39 
39  ************************* File = print_balance.php ****************  ************************* File = print_balance.php ****************
40  ************************* File = print_invoice.php ****************  ************************* File = print_invoice.php ****************
41  ************************* File = priv_user.php ****************  ************************* File = priv_user.php ****************
 ************************* File = rapprochement.php ****************  
42  ************************* File = readme.php ****************  ************************* File = readme.php ****************
43  ************************* File = recherche.php ****************  ************************* File = recherche.php ****************
44    ************************* File = sec_pdf.php ****************
45  ************************* File = send_jrn_pdf.php ****************  ************************* File = send_jrn_pdf.php ****************
46  ************************* File = send_poste_pdf.php ****************  ************************* File = send_poste_pdf.php ****************
47    ************************* File = show_document.php ****************
48  ************************* File = show_tva.php ****************  ************************* File = show_tva.php ****************
49  ************************* File = stock.php ****************  ************************* File = stock.php ****************
50  ************************* File = test.php ****************  ************************* File = test.php ****************
# Line 156  ac_common.php  * gen : Line 158  ac_common.php  * gen :
158  ac_common.php  *        - none  ac_common.php  *        - none
159  ac_common.php  * return: the type of the user  ac_common.php  * return: the type of the user
160  ac_common.php  */  ac_common.php  */
 ac_common.php /* function Redirect  
 ac_common.php  * Purpose : redirect following the user's profile  
 ac_common.php  *          
 ac_common.php  * parm :  
 ac_common.php  *        - p_profile (ac_users.use_usertype)  
 ac_common.php  *      - php_session PHPSESSID  
 ac_common.php  * gen :  
 ac_common.php  *        - none  
 ac_common.php  * return: none  
 ac_common.php  */  
161  ac_common.php /* function ShowItem($p_array) */  ac_common.php /* function ShowItem($p_array) */
162  ac_common.php /* function echo_warning  ac_common.php /* function echo_warning
163  ac_common.php  * Purpose : warns  ac_common.php  * Purpose : warns
# Line 396  class_user.php  * return: Line 388  class_user.php  * return:
388  class_user.php  *       - none  class_user.php  *       - none
389  class_user.php  *  class_user.php  *
390  class_user.php  */  class_user.php  */
391    class_user.php /* function CheckAction
392    class_user.php  * Purpose : Check if an user is allowed to do an action
393    class_user.php  *
394    class_user.php  * parm :
395    class_user.php  *       - p_dossier dossier id
396    class_user.php  *      - p_login   user's login
397    class_user.php  *      - p_action_id
398    class_user.php  * gen :
399    class_user.php  *       -
400    class_user.php  * return:
401    class_user.php  *       - 0 no priv
402    class_user.php  *      - 1 priv granted
403    class_user.php  *
404    class_user.php  */
405  ************************* File = class_widget.php ****************  ************************* File = class_widget.php ****************
 ************************* File = compta_menu.php ****************  
 compta_menu.php /* function c_ShowMenuComptaRight  
 compta_menu.php  * Purpose : Display menu on the Right  
 compta_menu.php  *           (preference, logout and admin)  
 compta_menu.php  * parm :  
 compta_menu.php  *      - $p_dossier the current dossier  
 compta_menu.php  *      - $p_admin   $g_UserProperty['use_admin'] 1 if admin  
 compta_menu.php  *      - $p_more code  
 compta_menu.php  * gen :  
 compta_menu.php  *      - none  
 compta_menu.php  * return:  
 compta_menu.php  *      - none  
 compta_menu.php  *  
 compta_menu.php  */  
 compta_menu.php /* function ShowMenuCompta  
 compta_menu.php  * Purpose : Montre le menu du haut  
 compta_menu.php  *  
 compta_menu.php  * parm :  
 compta_menu.php  *      - dossier  
 compta_menu.php  *      - $p_user       array ($g_UserProperty)  
 compta_menu.php  * gen :  
 compta_menu.php  *      - none  
 compta_menu.php  * return:  
 compta_menu.php  *      - none  
 compta_menu.php  *  
 compta_menu.php  */  
 compta_menu.php /* function c_ShowMenuJrnUser($p_dossier,$p_user)  
 compta_menu.php  * Purpose : Show the Menu from the jrn encode  
 compta_menu.php  *           page  
 compta_menu.php  *  
 compta_menu.php  * parm :  
 compta_menu.php  *      - $p_dossier  
 compta_menu.php  *      - $p_user  
 compta_menu.php  * gen :  
 compta_menu.php  *      - none  
 compta_menu.php  * return:  
 compta_menu.php  *      - none  
 compta_menu.php  *  
 compta_menu.php  */  
406  ************************* File = constant.php ****************  ************************* File = constant.php ****************
407  ************************* File = debug.php ****************  ************************* File = debug.php ****************
408  ************************* File = error.php ****************  ************************* File = error.php ****************
# Line 1664  poste.php  *        pour les postes Line 1631  poste.php  *        pour les postes
1631  poste.php  *  poste.php  *
1632  poste.php  */  poste.php  */
1633  poste.php /* function GetSolde  poste.php /* function GetSolde
1634  poste.php  * Purpose : Cree un form pour prendre les postes  poste.php  * Purpose : give the balance of an account
1635  poste.php  *  poste.php  *
1636  poste.php  * parm :  poste.php  * parm :
1637  poste.php  *    -  connection  poste.php  *    -  connection
1638    poste.php  *      - account
1639  poste.php  * gen :  poste.php  * gen :
1640  poste.php  *    - noen  poste.php  *    - none
1641  poste.php  * return:  poste.php  * return:
1642  poste.php  *    - morceau de code d'html qui contient un multiselect  poste.php  *      - balance of the account
 poste.php  *        pour les postes  
1643  poste.php  *  poste.php  *
1644  poste.php  */  poste.php  */
1645  ************************* File = postgres.php ****************  ************************* File = postgres.php ****************
# Line 1760  postgres.php  * in a array Line 1727  postgres.php  * in a array
1727  postgres.php  * param : $p_cn database connection  postgres.php  * param : $p_cn database connection
1728  postgres.php  *         $p_sql sql query  postgres.php  *         $p_sql sql query
1729  postgres.php  */  postgres.php  */
1730    postgres.php /* function save_upload_document
1731    postgres.php  * Save a picture of a rest_id
1732    postgres.php  * parameters
1733    postgres.php  * - $cn database connection
1734    postgres.php  * - $file array (from $_FILES)
1735    postgres.php  * - $name ( name of the input)
1736    postgres.php  */
1737  ************************* File = preference.php ****************  ************************* File = preference.php ****************
1738  preference.php /* function FormPeriodeMult  preference.php /* function FormPeriodeMult
1739  preference.php  * Purpose :  preference.php  * Purpose :
# Line 1934  stock_inc.php  * purpose return the quan Line 1908  stock_inc.php  * purpose return the quan
1908  stock_inc.php  *  stock_inc.php  *
1909  stock_inc.php  * Return number or NULL  stock_inc.php  * Return number or NULL
1910  stock_inc.php  */  stock_inc.php  */
 ************************* File = top_menu_compta.php ****************  
 top_menu_compta.php /* function ShowMenu  
 top_menu_compta.php  * Purpose : Show The login menu  
 top_menu_compta.php  *  
 top_menu_compta.php  * parm :  
 top_menu_compta.php  *  - $p_admin 1 if admin  
 top_menu_compta.php  *      - $p_item item to add  
 top_menu_compta.php  * gen :  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  * return:  
 top_menu_compta.php  *  - nothing  
 top_menu_compta.php  *  
 top_menu_compta.php  */  
 top_menu_compta.php /* function ShowMenuCompta  
 top_menu_compta.php  * Purpose : Montre le menu du haut  
 top_menu_compta.php  *  
 top_menu_compta.php  * parm :  
 top_menu_compta.php  *  - dossier  
 top_menu_compta.php  *  - $p_user       array ($g_UserProperty)  
 top_menu_compta.php  * gen :  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  * return:  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  *  
 top_menu_compta.php  */  
 top_menu_compta.php /* function  
 top_menu_compta.php  * Purpose :  
 top_menu_compta.php  *  
 top_menu_compta.php  * parm :  
 top_menu_compta.php  *  -  
 top_menu_compta.php  * gen :  
 top_menu_compta.php  *  -  
 top_menu_compta.php  * return:  
 top_menu_compta.php  *  -  
 top_menu_compta.php  *  
 top_menu_compta.php  */  
 top_menu_compta.php /* function ShowMenuComptaRight  
 top_menu_compta.php  * Purpose : Display menu on the Right  
 top_menu_compta.php  *           (preference, logout and admin)  
 top_menu_compta.php  * parm :  
 top_menu_compta.php  *  - $p_dossier the current dossier  
 top_menu_compta.php  *      - $p_auser  array $g_UserProperty  
 top_menu_compta.php  *      - $p_more code  
 top_menu_compta.php  * gen :  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  * return:  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  *  
 top_menu_compta.php  */  
 top_menu_compta.php /* function ShowMenuAdminGlobalRight($p_dossier=0)  
 top_menu_compta.php  * Purpose :  
 top_menu_compta.php  *        Same as previous : show the right menu  
 top_menu_compta.php  * parm :  
 top_menu_compta.php  *  - p_dossier  
 top_menu_compta.php  * gen :  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  * return:  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  *  
 top_menu_compta.php  */  
 top_menu_compta.php /* function ShowMenuPcmn($p_start=1)  
 top_menu_compta.php  * Purpose : Show the menu from the pcmn page  
 top_menu_compta.php  *  
 top_menu_compta.php  * parm :  
 top_menu_compta.php  *  - $p_start class start  
 top_menu_compta.php  * gen :  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  * return:  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  *  
 top_menu_compta.php  */  
 top_menu_compta.php /* function  ShowMenuJrn($p_dossier)  
 top_menu_compta.php  * Purpose : Show the menu in the jrn page  
 top_menu_compta.php  *  
 top_menu_compta.php  * parm :  
 top_menu_compta.php  *  - $p_dossier  
 top_menu_compta.php  * gen :  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  * return:  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  *  
 top_menu_compta.php  */  
 top_menu_compta.php /* function ShowMenuJrnUser($p_dossier,$p_user)  
 top_menu_compta.php  * Purpose : Display and Show the Menu from the jrn encode  
 top_menu_compta.php  *           page following the use_usertype (compta,user,...)  
 top_menu_compta.php  *  
 top_menu_compta.php  * parm :  
 top_menu_compta.php  *  - $p_dossier  
 top_menu_compta.php  *      - $p_auser  
 top_menu_compta.php  *      - $p_type (ACH, BQE, VEN)  
 top_menu_compta.php  *      - $p_jrn  what journal  
 top_menu_compta.php  * gen :  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  * return:  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  *  
 top_menu_compta.php  */  
 top_menu_compta.php /* function ShowMenuRecherche  
 top_menu_compta.php  * Purpose :  
 top_menu_compta.php  *  
 top_menu_compta.php  * parm :  
 top_menu_compta.php  *  - $p_dossier,  
 top_menu_compta.php  *      - $p_jrn jrn id  
 top_menu_compta.php  *      - $p_array=null previous search  
 top_menu_compta.php  * gen :  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  * return:  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  *  
 top_menu_compta.php  */  
 top_menu_compta.php /* function  
 top_menu_compta.php  * Purpose :  
 top_menu_compta.php  *  
 top_menu_compta.php  * parm :  
 top_menu_compta.php  *  -  
 top_menu_compta.php  * gen :  
 top_menu_compta.php  *  -  
 top_menu_compta.php  * return:  
 top_menu_compta.php  *  -  
 top_menu_compta.php  *  
 top_menu_compta.php  */  
 top_menu_compta.php /* function  ShowMenuJrnUserImp(  
 top_menu_compta.php  *  
 top_menu_compta.php  *  
 top_menu_compta.php  * Purpose : Show the menu of jrn to print  
 top_menu_compta.php  *  
 top_menu_compta.php  * parm :  
 top_menu_compta.php  *  - $p_cn, connection  
 top_menu_compta.php  *        $p_user, user  
 top_menu_compta.php  *         $p_dossier dossier  
 top_menu_compta.php  * gen :  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  * return:  
 top_menu_compta.php  *  - none  
 top_menu_compta.php  *  
 top_menu_compta.php  */  
1911  ************************* File = top_menu.php ****************  ************************* File = top_menu.php ****************
1912  ************************* File = user_action_ach.php ****************  ************************* File = user_action_ach.php ****************
1913  ************************* File = user_action_fin.php ****************  ************************* File = user_action_fin.php ****************
# Line 2351  user_menu.php  * return: Line 2189  user_menu.php  * return:
2189  user_menu.php  *        - string containing the html menu  user_menu.php  *        - string containing the html menu
2190  user_menu.php  *  user_menu.php  *
2191  user_menu.php  */  user_menu.php  */
2192  user_menu.php /* function u_ShowMenuJrnUser($p_dossier,$p_user)  user_menu.php /* function ShowMenuJrnUser($p_dossier,$p_user)
2193  user_menu.php  * Purpose : Show the Menu from the jrn encode  user_menu.php  * Purpose : Show the Menu from the jrn encode
2194  user_menu.php  *           page  user_menu.php  *           page
2195  user_menu.php  *  user_menu.php  *
# Line 2446  user_menu.php  *       - none Line 2284  user_menu.php  *       - none
2284  user_menu.php  *  user_menu.php  *
2285  user_menu.php  */  user_menu.php  */
2286  user_menu.php /* function MenuAdmin */  user_menu.php /* function MenuAdmin */
2287    user_menu.php /* function
2288    user_menu.php  * Purpose :
2289    user_menu.php  *
2290    user_menu.php  * parm :
2291    user_menu.php  *        -
2292    user_menu.php  * gen :
2293    user_menu.php  *        -
2294    user_menu.php  * return:
2295    user_menu.php  *        -
2296    user_menu.php  *
2297    user_menu.php  */
2298    user_menu.php /* function  MenuJrn($p_dossier)
2299    user_menu.php  * Purpose : Show the menu in the jrn page
2300    user_menu.php  *
2301    user_menu.php  * parm :
2302    user_menu.php  *        - $p_dossier
2303    user_menu.php  * gen :
2304    user_menu.php  *        - none
2305    user_menu.php  * return:
2306    user_menu.php  *        - none
2307    user_menu.php  *
2308    user_menu.php  */
2309    user_menu.php /* function ShowMenuPcmn($p_start=1)
2310    user_menu.php  * Purpose : Show the menu from the pcmn page
2311    user_menu.php  *
2312    user_menu.php  * parm :
2313    user_menu.php  *        - $p_start class start
2314    user_menu.php  * gen :
2315    user_menu.php  *        - none
2316    user_menu.php  * return:
2317    user_menu.php  *        - none
2318    user_menu.php  *
2319    user_menu.php  */
2320  ************************* File = user_update.php ****************  ************************* File = user_update.php ****************
2321  ************************* File = viewjrn.php ****************  ************************* File = viewjrn.php ****************
2322  viewjrn.php /* function ViewJrn  viewjrn.php /* function ViewJrn

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26