1152 lines
71 KiB
HTML
1152 lines
71 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||
<title>phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/postgres.php File Reference</title>
|
||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||
</head><body>
|
||
<!-- Generated by Doxygen 1.4.4 -->
|
||
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
|
||
<div class="nav">
|
||
<a class="el" href="dir_000000.html">developpement</a> » <a class="el" href="dir_000001.html">phpcompta-dev</a> » <a class="el" href="dir_000002.html">phpcompta</a> » <a class="el" href="dir_000006.html">include</a></div>
|
||
<h1>postgres.php File Reference</h1>Contains the procedure for connecting to postgresql. <a href="#_details">More...</a>
|
||
<p>
|
||
|
||
<p>
|
||
<a href="postgres_8php-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
||
<tr><td></td></tr>
|
||
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a0">ShowDossier</a> ($p_type, $p_first=0, $p_max=10, $p_Num=0)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a1">DbConnect</a> ($p_db=-1, $p_type='dossier')</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">connect to the database <a href="#a1"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a2">ExecSql</a> ($p_connection, $p_string)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">send a sql string to the database <a href="#a2"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a3">GetAllUser</a> ()</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return all the users as an array. <a href="#a3"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a4">GetUid</a> ($p_uid)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check if the User is valid and return an array with his property. <a href="#a4"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a5">GetPriv</a> ($p_dossier, $p_login)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the privilege of an user on a folder. <a href="#a5"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a6">ExisteJnt</a> ($p_dossier, $p_user)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the number of rows from table jnt_use_dos where $p_dossier = dos_id and use_id=$p_user. <a href="#a6"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a7">ExistePriv</a> ($p_jntid)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a8">GetJnt</a> ($p_dossier, $p_user)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a9">GetDbId</a> ($p_name)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a10">CountSql</a> ($p_conn, $p_sql)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a11">GetDossierName</a> ($p_dossier)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a12">GetSequence</a> ($p_cn, $p_seq)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">get the current sequence <a href="#a12"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a13">NextSequence</a> ($p_cn, $p_seq)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">get the current sequence <a href="#a13"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a14">StartSql</a> ($p_cn)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a15">EndSql</a> ($p_cn)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a16">Commit</a> ($p_cn)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a17">Rollback</a> ($p_cn)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a18">AlterSequence</a> ($p_cn, $p_name, $<a class="el" href="poste_8inc_8php.html#a2">p_value</a>)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a19">GetLogin</a> ($p_uid)</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a20">SyncRight</a> ($p_dossier, $p_user)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Synchronize les droits par d<>faut avec les journaux existants. <a href="#a20"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a21">GetUserProperty</a> ($p_cn, $p_user)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the properties of an user it means theme, profile, admin... <a href="#a21"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a22">GetModeleId</a> ($p_cn, $p_modname)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Give the mod_id from modeledef. <a href="#a22"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a23">GetArray</a> ($p_cn, $p_sql)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">purpose return the result of a sql statment in a array <a href="#a23"></a><br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="postgres_8php.html#a24">save_upload_document</a> ($cn, $seq)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Save a "piece justificative". <a href="#a24"></a><br></td></tr>
|
||
</table>
|
||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||
Contains the procedure for connecting to postgresql.
|
||
<p>
|
||
|
||
<p>
|
||
Definition in file <a class="el" href="postgres_8php-source.html">postgres.php</a>.<hr><h2>Function Documentation</h2>
|
||
<a class="anchor" name="a18"></a><!-- doxytag: member="postgres.php::AlterSequence" ref="a18" args="($p_cn, $p_name, $p_value)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">AlterSequence </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_cn</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_name</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_value</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00269">269</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a16"></a><!-- doxytag: member="postgres.php::Commit" ref="a16" args="($p_cn)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">Commit </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname1" valign="top" nowrap> <em>p_cn</em> </td>
|
||
<td class="md" valign="top"> ) </td>
|
||
<td class="md" nowrap></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00263">263</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="central__inc_8php-source.html#l00036">Centralise()</a>, <a class="el" href="class__document__modele_8php-source.html#l00178">Document_modele::Delete()</a>, <a class="el" href="class__document_8php-source.html#l00055">Document::Generate()</a>, <a class="el" href="class__invoice_8php-source.html#l00111">Invoice::Get()</a>, <a class="el" href="class__document__modele_8php-source.html#l00203">Document_modele::Get()</a>, <a class="el" href="class__document_8php-source.html#l00295">Document::Get()</a>, <a class="el" href="import__inc_8php-source.html#l00037">ImportCSV()</a>, <a class="el" href="class__fiche_8php-source.html#l00533">fiche::insert()</a>, <a class="el" href="user__form__ven_8php-source.html#l00630">RecordInvoice()</a>, <a class="el" href="user__form__ach_8php-source.html#l00627">RecordSell()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="class__document_8php-source.html#l00200">Document::SaveGenerated()</a>, <a class="el" href="import__inc_8php-source.html#l00090">TransferCSV()</a>, and <a class="el" href="class__document_8php-source.html#l00231">Document::Upload()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a10"></a><!-- doxytag: member="postgres.php::CountSql" ref="a10" args="($p_conn, $p_sql)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">CountSql </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_conn</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_sql</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00222">222</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="class__user_8php-source.html#l00158">cl_user::AccessJrn()</a>, <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>, <a class="el" href="class__user_8php-source.html#l00143">cl_user::Admin()</a>, <a class="el" href="check__priv_8php-source.html#l00192">CheckDossier()</a>, <a class="el" href="check__priv_8php-source.html#l00167">CheckIsAdmin()</a>, <a class="el" href="check__priv_8php-source.html#l00046">CheckJrn()</a>, <a class="el" href="user__common_8php-source.html#l00730">DeleteRapt()</a>, <a class="el" href="user__form__ach_8php-source.html#l00251">form_verify_input()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, <a class="el" href="fiche__inc_8php-source.html#l01447">GetParent()</a>, <a class="el" href="impress__inc_8php-source.html#l00614">GetRappel()</a>, <a class="el" href="class__fiche_8php-source.html#l00119">fiche_def::HasAttribute()</a>, <a class="el" href="class__fiche_8php-source.html#l00533">fiche::insert()</a>, <a class="el" href="user__common_8php-source.html#l00699">InsertRapt()</a>, <a class="el" href="user__common_8php-source.html#l00321">ListJrn()</a>, <a class="el" href="class__action_8php-source.html#l00329">action::myList()</a>, <a class="el" href="jrn_8php-source.html#l00930">NextJrn()</a>, <a class="el" href="fiche__inc_8php-source.html#l00935">Remove()</a>, <a class="el" href="postgres_8php-source.html#l00032">ShowDossier()</a>, <a class="el" href="class__fiche_8php-source.html#l00633">fiche::update()</a>, <a class="el" href="fiche__inc_8php-source.html#l00526">UpdateFiche()</a>, and <a class="el" href="fiche__inc_8php-source.html#l00394">ViewFiche()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a1"></a><!-- doxytag: member="postgres.php::DbConnect" ref="a1" args="($p_db=-1, $p_type='dossier')" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">DbConnect </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_db</em> = <code>-1</code>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_type</em> = <code>'dossier'</code></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
connect to the database
|
||
<p>
|
||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||
<table border="0" cellspacing="2" cellpadding="0">
|
||
<tr><td valign="top"></td><td valign="top"><em>:</em> </td><td>p_db : db_name </td></tr>
|
||
</table>
|
||
</dl>
|
||
<dl compact><dt><b>Returns:</b></dt><dd>the connection</dd></dl>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00072">72</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="balance_8php-source.html#l00108">$a</a>, and <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="class__user_8php-source.html#l00143">cl_user::Admin()</a>, <a class="el" href="class__user_8php-source.html#l00085">cl_user::Check()</a>, <a class="el" href="check__priv_8php-source.html#l00146">CheckAction()</a>, <a class="el" href="check__priv_8php-source.html#l00192">CheckDossier()</a>, <a class="el" href="check__priv_8php-source.html#l00167">CheckIsAdmin()</a>, <a class="el" href="check__priv_8php-source.html#l00046">CheckJrn()</a>, <a class="el" href="class__user_8php-source.html#l00040">cl_user::cl_user()</a>, <a class="el" href="postgres_8php-source.html#l00168">ExisteJnt()</a>, <a class="el" href="postgres_8php-source.html#l00179">ExistePriv()</a>, <a class="el" href="postgres_8php-source.html#l00117">GetAllUser()</a>, <a class="el" href="user__menu_8php-source.html#l00090">GetAvailableFolder()</a>, <a class="el" href="postgres_8php-source.html#l00201">GetDbId()</a>, <a class="el" href="postgres_8php-source.html#l00232">GetDossierName()</a>, <a class="el" href="user__menu_8php-source.html#l00220">GetFirstJrnIdForJrnType()</a>, <a class="el" href="postgres_8php-source.html#l00190">GetJnt()</a>, <a class="el" href="jrn_8php-source.html#l00549">GetJrnProp()</a>, <a class="el" href="postgres_8php-source.html#l00273">GetLogin()</a>, <a class="el" href="poste_8php-source.html#l00062">GetNumberLine()</a>, <a class="el" href="poste_8php-source.html#l00036">GetPosteLibelle()</a>, <a class="el" href="postgres_8php-source.html#l00147">GetPriv()</a>, <a class="el" href="postgres_8php-source.html#l00134">GetUid()</a>, <a class="el" href="ac__common_8php-source.html#l00132">html_page_start()</a>, <a class="el" href="user__common_8php-source.html#l00321">ListJrn()</a>, <a class="el" href="user__menu_8php-source.html#l00651">MenuJrn()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, <a class="el" href="postgres_8php-source.html#l00032">ShowDossier()</a>, <a class="el" href="user__menu_8php-source.html#l00704">ShowMenuComptaForm()</a>, <a class="el" href="user__menu_8php-source.html#l00548">ShowMenuFiche()</a>, <a class="el" href="user__menu_8php-source.html#l00246">ShowMenuJrnUser()</a>, <a class="el" href="postgres_8php-source.html#l00289">SyncRight()</a>, and <a class="el" href="jrn_8php-source.html#l00583">ViewJrn()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a15"></a><!-- doxytag: member="postgres.php::EndSql" ref="a15" args="($p_cn)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">EndSql </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname1" valign="top" nowrap> <em>p_cn</em> </td>
|
||
<td class="md" valign="top"> ) </td>
|
||
<td class="md" nowrap></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00260">260</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="central__inc_8php-source.html#l00036">Centralise()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a2"></a><!-- doxytag: member="postgres.php::ExecSql" ref="a2" args="($p_connection, $p_string)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">ExecSql </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_connection</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_string</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
send a sql string to the database
|
||
<p>
|
||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||
<table border="0" cellspacing="2" cellpadding="0">
|
||
<tr><td valign="top"></td><td valign="top"><em>$p_connection</em> </td><td>db connection </td></tr>
|
||
<tr><td valign="top"></td><td valign="top"><em>$p_string</em> </td><td>sql string </td></tr>
|
||
</table>
|
||
</dl>
|
||
<dl compact><dt><b>Returns:</b></dt><dd>false if error otherwise true</dd></dl>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00099">99</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="class__operation_8php-source.html#l00087">$ret</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="ac__common_8php-source.html#l00036">echo_error()</a>, and <a class="el" href="balance_8php-source.html#l00033">exit</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00267">AddForm()</a>, <a class="el" href="fiche__inc_8php-source.html#l00758">AddModele()</a>, <a class="el" href="postgres_8php-source.html#l00269">AlterSequence()</a>, <a class="el" href="class__fiche_8php-source.html#l00397">fiche::blank()</a>, <a class="el" href="central__inc_8php-source.html#l00036">Centralise()</a>, <a class="el" href="class__user_8php-source.html#l00237">cl_user::CheckAction()</a>, <a class="el" href="check__priv_8php-source.html#l00146">CheckAction()</a>, <a class="el" href="check__priv_8php-source.html#l00046">CheckJrn()</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="class__fiche_8php-source.html#l00289">fiche::CountByDef()</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</a>, <a class="el" href="class__document__modele_8php-source.html#l00178">Document_modele::Delete()</a>, <a class="el" href="form__inc_8php-source.html#l00134">DeleteForm()</a>, <a class="el" href="user__common_8php-source.html#l00730">DeleteRapt()</a>, <a class="el" href="class__fiche_8php-source.html#l00459">fiche::Display()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="fiche__inc_8php-source.html#l01387">DisplayDetailModele()</a>, <a class="el" href="fiche__inc_8php-source.html#l00225">EncodeFiche()</a>, <a class="el" href="postgres_8php-source.html#l00260">EndSql()</a>, <a class="el" href="setup_8php-source.html#l00097">ExecuteScript()</a>, <a class="el" href="postgres_8php-source.html#l00168">ExisteJnt()</a>, <a class="el" href="postgres_8php-source.html#l00179">ExistePriv()</a>, <a class="el" href="preference_8php-source.html#l00071">FormPeriode()</a>, <a class="el" href="preference_8php-source.html#l00037">FormPeriodeMult()</a>, <a class="el" href="class__document_8php-source.html#l00055">Document::Generate()</a>, <a class="el" href="class__parm__code_8php-source.html#l00141">parm_code::Get()</a>, <a class="el" href="class__invoice_8php-source.html#l00111">Invoice::Get()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00131">fiche_def_ref::Get()</a>, <a class="el" href="class__fiche_8php-source.html#l00074">fiche_def::Get()</a>, <a class="el" href="class__document__type_8php-source.html#l00043">Document_type::get()</a>, <a class="el" href="class__document__modele_8php-source.html#l00203">Document_modele::Get()</a>, <a class="el" href="class__document_8php-source.html#l00295">Document::Get()</a>, <a class="el" href="fiche__inc_8php-source.html#l01178">Get_attr_def()</a>, <a class="el" href="fiche__inc_8php-source.html#l01146">Get_attr_min()</a>, <a class="el" href="fiche__inc_8php-source.html#l01112">Get_fiche_def_ref()</a>, <a class="el" href="class__fiche_8php-source.html#l00094">fiche_def::GetAll()</a>, <a class="el" href="postgres_8php-source.html#l00117">GetAllUser()</a>, <a class="el" href="jrn_8php-source.html#l00814">GetAmount()</a>, <a class="el" href="postgres_8php-source.html#l00353">GetArray()</a>, <a class="el" href="class__fiche_8php-source.html#l00188">fiche::getAttribut()</a>, <a class="el" href="class__fiche_8php-source.html#l00051">fiche_def::GetAttribut()</a>, <a class="el" href="user__menu_8php-source.html#l00090">GetAvailableFolder()</a>, <a class="el" href="fiche__inc_8php-source.html#l00352">GetBaseFiche()</a>, <a class="el" href="fiche__inc_8php-source.html#l00374">GetBaseFicheDefault()</a>, <a class="el" href="class__fiche_8php-source.html#l00315">fiche::GetByDef()</a>, <a class="el" href="class__fiche_8php-source.html#l00167">fiche::GetByQCode()</a>, <a class="el" href="class__fiche_8php-source.html#l00258">fiche::GetByType()</a>, <a class="el" href="fiche__inc_8php-source.html#l01310">GetClass()</a>, <a class="el" href="user__common_8php-source.html#l00761">GetConcerned()</a>, <a class="el" href="fiche__inc_8php-source.html#l01211">GetCreateAccount()</a>, <a class="el" href="jrn_8php-source.html#l00711">GetData()</a>, <a class="el" href="form__inc_8php-source.html#l00149">GetDataForm()</a>, <a class="el" href="impress__inc_8php-source.html#l00580">GetDataGrpt()</a>, <a class="el" href="impress__inc_8php-source.html#l00306">GetDataJrn()</a>, <a class="el" href="jrn_8php-source.html#l00973">GetDataJrnJrId()</a>, <a class="el" href="impress__inc_8php-source.html#l00421">GetDataJrnPdf()</a>, <a class="el" href="fiche__inc_8php-source.html#l00892">GetDataModele()</a>, <a class="el" href="impress__inc_8php-source.html#l00265">GetDataPoste()</a>, <a class="el" href="postgres_8php-source.html#l00201">GetDbId()</a>, <a class="el" href="class__jrn_8php-source.html#l00321">jrn::GetDefLine()</a>, <a class="el" href="postgres_8php-source.html#l00232">GetDossierName()</a>, <a class="el" href="preference_8php-source.html#l00165">GetExercice()</a>, <a class="el" href="fiche__inc_8php-source.html#l01471">getFicheAttribut()</a>, <a class="el" href="fiche__inc_8php-source.html#l01279">GetFicheDef()</a>, <a class="el" href="fiche__inc_8php-source.html#l01035">getFicheDefName()</a>, <a class="el" href="fiche__inc_8php-source.html#l01248">GetFicheDefRef()</a>, <a class="el" href="fiche__inc_8php-source.html#l01054">GetFicheJrn()</a>, <a class="el" href="fiche__inc_8php-source.html#l00985">getFicheName()</a>, <a class="el" href="fiche__inc_8php-source.html#l01007">getFicheNameById()</a>, <a class="el" href="stock__inc_8php-source.html#l00111">getFicheNameCode()</a>, <a class="el" href="user__menu_8php-source.html#l00220">GetFirstJrnIdForJrnType()</a>, <a class="el" href="form__inc_8php-source.html#l00195">GetFormName()</a>, <a class="el" href="impress__inc_8php-source.html#l00797">GetFormulaValue()</a>, <a class="el" href="class__customer_8php-source.html#l00057">Customer::GetFromPoste()</a>, <a class="el" href="class__user_8php-source.html#l00257">cl_user::GetGlobalPref()</a>, <a class="el" href="user__common_8php-source.html#l00792">GetGrpt()</a>, <a class="el" href="jrn_8php-source.html#l00793">GetInternal()</a>, <a class="el" href="postgres_8php-source.html#l00190">GetJnt()</a>, <a class="el" href="jrn_8php-source.html#l00907">GetJrnName()</a>, <a class="el" href="jrn_8php-source.html#l00549">GetJrnProp()</a>, <a class="el" href="jrn_8php-source.html#l00523">GetJrnProperty()</a>, <a class="el" href="postgres_8php-source.html#l00273">GetLogin()</a>, <a class="el" href="postgres_8php-source.html#l00340">GetModeleId()</a>, <a class="el" href="class__jrn_8php-source.html#l00034">jrn::GetName()</a>, <a class="el" href="class__fiche_8php-source.html#l00749">fiche::getName()</a>, <a class="el" href="fiche__inc_8php-source.html#l00458">GetNextFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00180">GetNumberLine()</a>, <a class="el" href="preference_8php-source.html#l00122">GetPeriode()</a>, <a class="el" href="ac__common_8php-source.html#l00354">getPeriodeFromDate()</a>, <a class="el" href="ac__common_8php-source.html#l00334">getPeriodeFromMonth()</a>, <a class="el" href="poste_8php-source.html#l00036">GetPosteLibelle()</a>, <a class="el" href="class__user_8php-source.html#l00204">cl_user::GetPreferences()</a>, <a class="el" href="postgres_8php-source.html#l00147">GetPriv()</a>, <a class="el" href="stock__inc_8php-source.html#l00276">GetQuantity()</a>, <a class="el" href="impress__inc_8php-source.html#l00614">GetRappel()</a>, <a class="el" href="class__rapport_8php-source.html#l00053">rapport::GetRow()</a>, <a class="el" href="class__poste_8php-source.html#l00046">poste::GetRow()</a>, <a class="el" href="class__jrn_8php-source.html#l00065">jrn::GetRow()</a>, <a class="el" href="class__balance_8php-source.html#l00053">Balance::GetRow()</a>, <a class="el" href="class__jrn_8php-source.html#l00243">jrn::GetRowSimple()</a>, <a class="el" href="postgres_8php-source.html#l00242">GetSequence()</a>, <a class="el" href="poste_8php-source.html#l00114">GetSolde()</a>, <a class="el" href="class__poste_8php-source.html#l00099">poste::GetSolde()</a>, <a class="el" href="class__poste_8php-source.html#l00121">poste::GetSoldeDetail()</a>, <a class="el" href="user__common_8php-source.html#l00210">GetTvaPoste()</a>, <a class="el" href="user__common_8php-source.html#l00039">GetTvaRate()</a>, <a class="el" href="postgres_8php-source.html#l00134">GetUid()</a>, <a class="el" href="postgres_8php-source.html#l00315">GetUserProperty()</a>, <a class="el" href="setup_8php-source.html#l00080">GetVersion()</a>, <a class="el" href="ac__common_8php-source.html#l00132">html_page_start()</a>, <a class="el" href="impress__inc_8php-source.html#l00117">ImpHtml()</a>, <a class="el" href="class__fiche_8php-source.html#l00533">fiche::insert()</a>, <a class="el" href="class__user_8php-source.html#l00299">cl_user::insert_default_global_pref()</a>, <a class="el" href="user__common_8php-source.html#l00287">InsertJrn()</a>, <a class="el" href="user__common_8php-source.html#l00243">InsertJrnx()</a>, <a class="el" href="fiche__inc_8php-source.html#l01340">InsertModeleLine()</a>, <a class="el" href="user__common_8php-source.html#l00699">InsertRapt()</a>, <a class="el" href="user__common_8php-source.html#l00595">InsertStockGoods()</a>, <a class="el" href="central__inc_8php-source.html#l00159">isCentralize()</a>, <a class="el" href="fiche__inc_8php-source.html#l01511">IsFicheOfJrn()</a>, <a class="el" href="user__common_8php-source.html#l00834">isValid()</a>, <a class="el" href="user__common_8php-source.html#l00321">ListJrn()</a>, <a class="el" href="class__parm__code_8php-source.html#l00052">parm_code::LoadAll()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00051">fiche_def_ref::LoadAll()</a>, <a class="el" href="user__menu_8php-source.html#l00651">MenuJrn()</a>, <a class="el" href="class__invoice_8php-source.html#l00040">Invoice::myList()</a>, <a class="el" href="class__document__modele_8php-source.html#l00049">Document_modele::myList()</a>, <a class="el" href="class__action_8php-source.html#l00329">action::myList()</a>, <a class="el" href="fiche__new_8php-source.html#l00060">new_fiche()</a>, <a class="el" href="postgres_8php-source.html#l00251">NextSequence()</a>, <a class="el" href="class__own_8php-source.html#l00031">Own::Own()</a>, <a class="el" href="preference_8php-source.html#l00143">PeriodeClosed()</a>, <a class="el" href="poste_8php-source.html#l00087">PosteForm()</a>, <a class="el" href="user__form__fin_8php-source.html#l00349">RecordFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00630">RecordInvoice()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, <a class="el" href="user__form__ach_8php-source.html#l00627">RecordSell()</a>, <a class="el" href="fiche__inc_8php-source.html#l00935">Remove()</a>, <a class="el" href="class__fiche_8php-source.html#l00729">fiche::remove()</a>, <a class="el" href="postgres_8php-source.html#l00266">Rollback()</a>, <a class="el" href="class__parm__code_8php-source.html#l00076">parm_code::Save()</a>, <a class="el" href="class__invoice_8php-source.html#l00050">Invoice::Save()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00117">fiche_def_ref::Save()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="postgres_8php-source.html#l00368">save_upload_document()</a>, <a class="el" href="class__document_8php-source.html#l00200">Document::SaveGenerated()</a>, <a class="el" href="fiche__inc_8php-source.html#l01361">SaveModeleName()</a>, <a class="el" href="class__action_8php-source.html#l00241">action::SaveStage2()</a>, <a class="el" href="jrn_8php-source.html#l00949">SetInternalCode()</a>, <a class="el" href="class__user_8php-source.html#l00178">cl_user::SetPeriode()</a>, <a class="el" href="preference_8php-source.html#l00182">ShowDevise()</a>, <a class="el" href="postgres_8php-source.html#l00032">ShowDossier()</a>, <a class="el" href="user__menu_8php-source.html#l00704">ShowMenuComptaForm()</a>, <a class="el" href="user__menu_8php-source.html#l00548">ShowMenuFiche()</a>, <a class="el" href="user__menu_8php-source.html#l00333">ShowMenuJrn()</a>, <a class="el" href="user__menu_8php-source.html#l00246">ShowMenuJrnUser()</a>, <a class="el" href="preference_8php-source.html#l00221">ShowPeriode()</a>, <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>, <a class="el" href="class__fiche_8php-source.html#l00364">fiche::strAttribut()</a>, <a class="el" href="postgres_8php-source.html#l00289">SyncRight()</a>, <a class="el" href="import__inc_8php-source.html#l00090">TransferCSV()</a>, <a class="el" href="class__fiche_8php-source.html#l00633">fiche::update()</a>, <a class="el" href="class__user_8php-source.html#l00331">cl_user::update_global_pref()</a>, <a class="el" href="user__common_8php-source.html#l00814">UpdateComment()</a>, <a class="el" href="import__inc_8php-source.html#l00060">UpdateCSV()</a>, <a class="el" href="fiche__inc_8php-source.html#l00526">UpdateFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00208">UpdateForm()</a>, <a class="el" href="class__document_8php-source.html#l00231">Document::Upload()</a>, <a class="el" href="class__customer_8php-source.html#l00084">Customer::VatListing()</a>, <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>, <a class="el" href="stock__inc_8php-source.html#l00147">ViewDetailStock()</a>, <a class="el" href="fiche__inc_8php-source.html#l00394">ViewFiche()</a>, <a class="el" href="fiche__inc_8php-source.html#l00488">ViewFicheDetail()</a>, <a class="el" href="jrn_8php-source.html#l00583">ViewJrn()</a>, and <a class="el" href="stock__inc_8php-source.html#l00035">ViewStock()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a6"></a><!-- doxytag: member="postgres.php::ExisteJnt" ref="a6" args="($p_dossier, $p_user)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">ExisteJnt </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_dossier</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_user</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
Get the number of rows from table jnt_use_dos where $p_dossier = dos_id and use_id=$p_user.
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00168">168</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a7"></a><!-- doxytag: member="postgres.php::ExistePriv" ref="a7" args="($p_jntid)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">ExistePriv </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname1" valign="top" nowrap> <em>p_jntid</em> </td>
|
||
<td class="md" valign="top"> ) </td>
|
||
<td class="md" nowrap></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00179">179</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a3"></a><!-- doxytag: member="postgres.php::GetAllUser" ref="a3" args="()" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">GetAllUser </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="mdname1" valign="top" nowrap> </td>
|
||
<td class="md" valign="top"> ) </td>
|
||
<td class="md" nowrap></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
Return all the users as an array.
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00117">117</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="fortis__be_8inc_8php-source.html#l00076">$Num</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="facture_8inc_8php-source.html#l00082">$sql</a>, <a class="el" href="user__action__ach_8php-source.html#l00164">$User</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a23"></a><!-- doxytag: member="postgres.php::GetArray" ref="a23" args="($p_cn, $p_sql)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">GetArray </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_cn</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_sql</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
purpose return the result of a sql statment in a array
|
||
<p>
|
||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||
<table border="0" cellspacing="2" cellpadding="0">
|
||
<tr><td valign="top"></td><td valign="top"><em>$p_cn</em> </td><td>database connection </td></tr>
|
||
<tr><td valign="top"></td><td valign="top"><em>$p_sql</em> </td><td>sql query</td></tr>
|
||
</table>
|
||
</dl>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00353">353</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, and <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a9"></a><!-- doxytag: member="postgres.php::GetDbId" ref="a9" args="($p_name)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">GetDbId </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname1" valign="top" nowrap> <em>p_name</em> </td>
|
||
<td class="md" valign="top"> ) </td>
|
||
<td class="md" nowrap></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00201">201</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="jrn__add_8php-source.html#l00181">$num</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a11"></a><!-- doxytag: member="postgres.php::GetDossierName" ref="a11" args="($p_dossier)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">GetDossierName </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname1" valign="top" nowrap> <em>p_dossier</em> </td>
|
||
<td class="md" valign="top"> ) </td>
|
||
<td class="md" nowrap></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||
<table border="0" cellspacing="2" cellpadding="0">
|
||
<tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>of a dossier </td></tr>
|
||
</table>
|
||
</dl>
|
||
<dl compact><dt><b>Returns:</b></dt><dd>Name of the dossier</dd></dl>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00232">232</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a8"></a><!-- doxytag: member="postgres.php::GetJnt" ref="a8" args="($p_dossier, $p_user)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">GetJnt </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_dossier</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_user</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00190">190</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a19"></a><!-- doxytag: member="postgres.php::GetLogin" ref="a19" args="($p_uid)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">GetLogin </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname1" valign="top" nowrap> <em>p_uid</em> </td>
|
||
<td class="md" valign="top"> ) </td>
|
||
<td class="md" nowrap></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00273">273</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a22"></a><!-- doxytag: member="postgres.php::GetModeleId" ref="a22" args="($p_cn, $p_modname)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">GetModeleId </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_cn</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_modname</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
Give the mod_id from modeledef.
|
||
<p>
|
||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||
<table border="0" cellspacing="2" cellpadding="0">
|
||
<tr><td valign="top"></td><td valign="top"><em>$p_cn</em> </td><td>database connection (repository) </td></tr>
|
||
<tr><td valign="top"></td><td valign="top"><em>$p_modname</em> </td><td>template name </td></tr>
|
||
</table>
|
||
</dl>
|
||
<dl compact><dt><b>Returns:</b></dt><dd>template id or 0 if not found</dd></dl>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00340">340</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a5"></a><!-- doxytag: member="postgres.php::GetPriv" ref="a5" args="($p_dossier, $p_login)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">GetPriv </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_dossier</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_login</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
Get the privilege of an user on a folder.
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00147">147</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="fortis__be_8inc_8php-source.html#l00076">$Num</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="postgres_8php-source.html#l00289">SyncRight()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a12"></a><!-- doxytag: member="postgres.php::GetSequence" ref="a12" args="($p_cn, $p_seq)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">GetSequence </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_cn</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_seq</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
get the current sequence
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00242">242</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="annulation_8php-source.html#l00136">$seq</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00267">AddForm()</a>, <a class="el" href="fiche__inc_8php-source.html#l00758">AddModele()</a>, <a class="el" href="user__common_8php-source.html#l00287">InsertJrn()</a>, <a class="el" href="user__common_8php-source.html#l00243">InsertJrnx()</a>, <a class="el" href="class__document_8php-source.html#l00200">Document::SaveGenerated()</a>, and <a class="el" href="class__action_8php-source.html#l00241">action::SaveStage2()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a4"></a><!-- doxytag: member="postgres.php::GetUid" ref="a4" args="($p_uid)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">GetUid </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname1" valign="top" nowrap> <em>p_uid</em> </td>
|
||
<td class="md" valign="top"> ) </td>
|
||
<td class="md" nowrap></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
Check if the User is valid and return an array with his property.
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00134">134</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="fortis__be_8inc_8php-source.html#l00076">$Num</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a21"></a><!-- doxytag: member="postgres.php::GetUserProperty" ref="a21" args="($p_cn, $p_user)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">GetUserProperty </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_cn</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_user</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
Get the properties of an user it means theme, profile, admin...
|
||
<p>
|
||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||
<table border="0" cellspacing="2" cellpadding="0">
|
||
<tr><td valign="top"></td><td valign="top"><em>$p_user</em> </td><td>user login </td></tr>
|
||
<tr><td valign="top"></td><td valign="top"><em>$p_cn</em> </td><td>connection</td></tr>
|
||
</table>
|
||
</dl>
|
||
<dl compact><dt><b>Returns:</b></dt><dd>an array containing<ul>
|
||
<li>use_admin</li><li>use_usertype</li><li>g_theme</li><li>use_name</li><li>use_login</li></ul>
|
||
</dd></dl>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00315">315</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="balance_8php-source.html#l00108">$a</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="facture_8inc_8php-source.html#l00082">$sql</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a13"></a><!-- doxytag: member="postgres.php::NextSequence" ref="a13" args="($p_cn, $p_seq)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">NextSequence </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_cn</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_seq</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
get the current sequence
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00251">251</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="annulation_8php-source.html#l00136">$seq</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="class__document_8php-source.html#l00055">Document::Generate()</a>, <a class="el" href="class__fiche_8php-source.html#l00533">fiche::insert()</a>, <a class="el" href="user__form__fin_8php-source.html#l00349">RecordFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00630">RecordInvoice()</a>, <a class="el" href="user__form__ods_8php-source.html#l00247">RecordODS()</a>, <a class="el" href="user__form__ach_8php-source.html#l00627">RecordSell()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="jrn_8php-source.html#l00949">SetInternalCode()</a>, and <a class="el" href="import__inc_8php-source.html#l00090">TransferCSV()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a17"></a><!-- doxytag: member="postgres.php::Rollback" ref="a17" args="($p_cn)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">Rollback </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname1" valign="top" nowrap> <em>p_cn</em> </td>
|
||
<td class="md" valign="top"> ) </td>
|
||
<td class="md" nowrap></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00266">266</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="setup_8php-source.html#l00097">ExecuteScript()</a>, <a class="el" href="user__form__fin_8php-source.html#l00349">RecordFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00630">RecordInvoice()</a>, <a class="el" href="user__form__ach_8php-source.html#l00627">RecordSell()</a>, <a class="el" href="class__invoice_8php-source.html#l00050">Invoice::Save()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="postgres_8php-source.html#l00368">save_upload_document()</a>, <a class="el" href="class__document_8php-source.html#l00200">Document::SaveGenerated()</a>, <a class="el" href="import__inc_8php-source.html#l00090">TransferCSV()</a>, and <a class="el" href="class__document_8php-source.html#l00231">Document::Upload()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a24"></a><!-- doxytag: member="postgres.php::save_upload_document" ref="a24" args="($cn, $seq)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">save_upload_document </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>cn</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>seq</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
Save a "piece justificative".
|
||
<p>
|
||
save_upload_document<p>
|
||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||
<table border="0" cellspacing="2" cellpadding="0">
|
||
<tr><td valign="top"></td><td valign="top"><em>$cn</em> </td><td>database connection </td></tr>
|
||
<tr><td valign="top"></td><td valign="top"><em>$seq</em> </td><td>jr_grpt_id</td></tr>
|
||
</table>
|
||
</dl>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00368">368</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="modify__op_8php-source.html#l00123">$old_oid</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="class__operation_8php-source.html#l00087">$ret</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="ac__common_8php-source.html#l00036">echo_error()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="balance_8php-source.html#l00033">exit</a>, <a class="el" href="client_8inc_8php-source.html#l00116">name</a>, and <a class="el" href="postgres_8php-source.html#l00266">Rollback()</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="user__form__ven_8php-source.html#l00630">RecordInvoice()</a>, and <a class="el" href="user__form__ach_8php-source.html#l00627">RecordSell()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a0"></a><!-- doxytag: member="postgres.php::ShowDossier" ref="a0" args="($p_type, $p_first=0, $p_max=10, $p_Num=0)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">ShowDossier </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_type</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_first</em> = <code>0</code>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_max</em> = <code>10</code>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_Num</em> = <code>0</code></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||
<table border="0" cellspacing="2" cellpadding="0">
|
||
<tr><td valign="top"></td><td valign="top"><em>p_type</em> </td><td>string : all for all dossiers lim for only the dossier where we've got rights</td></tr>
|
||
</table>
|
||
</dl>
|
||
Show the folder where user have access. Return : nothing ++
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00032">32</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="setup_8php-source.html#l00374">$Max</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a14"></a><!-- doxytag: member="postgres.php::StartSql" ref="a14" args="($p_cn)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">StartSql </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname1" valign="top" nowrap> <em>p_cn</em> </td>
|
||
<td class="md" valign="top"> ) </td>
|
||
<td class="md" nowrap></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00257">257</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="central__inc_8php-source.html#l00036">Centralise()</a>, <a class="el" href="class__document__modele_8php-source.html#l00178">Document_modele::Delete()</a>, <a class="el" href="class__document_8php-source.html#l00055">Document::Generate()</a>, <a class="el" href="class__invoice_8php-source.html#l00111">Invoice::Get()</a>, <a class="el" href="class__document__modele_8php-source.html#l00203">Document_modele::Get()</a>, <a class="el" href="class__document_8php-source.html#l00295">Document::Get()</a>, <a class="el" href="import__inc_8php-source.html#l00037">ImportCSV()</a>, <a class="el" href="class__fiche_8php-source.html#l00533">fiche::insert()</a>, <a class="el" href="user__form__fin_8php-source.html#l00349">RecordFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00630">RecordInvoice()</a>, <a class="el" href="user__form__ods_8php-source.html#l00247">RecordODS()</a>, <a class="el" href="user__form__ach_8php-source.html#l00627">RecordSell()</a>, <a class="el" href="class__invoice_8php-source.html#l00050">Invoice::Save()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="class__document_8php-source.html#l00200">Document::SaveGenerated()</a>, <a class="el" href="import__inc_8php-source.html#l00090">TransferCSV()</a>, and <a class="el" href="class__document_8php-source.html#l00231">Document::Upload()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a20"></a><!-- doxytag: member="postgres.php::SyncRight" ref="a20" args="($p_dossier, $p_user)" --><p>
|
||
<table class="mdTable" cellpadding="2" cellspacing="0">
|
||
<tr>
|
||
<td class="mdRow">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="md" nowrap valign="top">SyncRight </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname" nowrap> <em>p_dossier</em>, </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap align="right"></td>
|
||
<td class="md"></td>
|
||
<td class="md" nowrap>$ </td>
|
||
<td class="mdname" nowrap> <em>p_user</em></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md"></td>
|
||
<td class="md">) </td>
|
||
<td class="md" colspan="2"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
Synchronize les droits par d<>faut avec les journaux existants.
|
||
<p>
|
||
SyncRight <dl compact><dt><b>Parameters:</b></dt><dd>
|
||
<table border="0" cellspacing="2" cellpadding="0">
|
||
<tr><td valign="top"></td><td valign="top"><em>$p_dossier</em> </td><td>dossier id </td></tr>
|
||
<tr><td valign="top"></td><td valign="top"><em>$p_user</em> </td><td>user id</td></tr>
|
||
</table>
|
||
</dl>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="postgres_8php-source.html#l00289">289</a> of file <a class="el" href="postgres_8php-source.html">postgres.php</a>.
|
||
<p>
|
||
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="priv__user_8php-source.html#l00189">$priv</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="user__sec_8php-source.html#l00175">$right</a>, <a class="el" href="facture_8inc_8php-source.html#l00082">$sql</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="postgres_8php-source.html#l00147">GetPriv()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:47 2006 for phpcompta by
|
||
<a href="http://www.doxygen.org/index.html">
|
||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
|
||
</body>
|
||
</html>
|