Beta version 2.0 - module de gestion intégré

This commit is contained in:
sparkyx 2006-06-22 22:26:26 +00:00
parent 9703e28ac1
commit f0761196d6
378 changed files with 6932 additions and 346 deletions

271
doc/developper/Doxyfile Normal file
View file

@ -0,0 +1,271 @@
# Doxyfile 1.4.4
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = phpcompta
PROJECT_NUMBER = 1
OUTPUT_DIRECTORY = /home/dany/developpement/phpcompta-dev/phpcompta/doc/developper
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = /home/dany/tmp/doxygen-1.4.6/bin/
STRIP_FROM_INC_PATH =
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
DISTRIBUTE_GROUP_DOC = NO
SEPARATE_MEMBER_PAGES = NO
TAB_SIZE = 8
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = YES
OPTIMIZE_OUTPUT_JAVA = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = YES
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = YES
EXTRACT_LOCAL_METHODS = YES
HIDE_UNDOC_MEMBERS = YES
HIDE_UNDOC_CLASSES = YES
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = NO
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
SORT_BRIEF_DOCS = NO
SORT_BY_SCOPE_NAME = NO
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
SHOW_DIRECTORIES = YES
FILE_VERSION_FILTER =
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_NO_PARAMDOC = NO
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = /home/dany/developpement/phpcompta-dev/phpcompta/include /home/dany/developpement/phpcompta-dev/phpcompta/html
FILE_PATTERNS = *.c \
*.cc \
*.cxx \
*.cpp \
*.c++ \
*.d \
*.java \
*.ii \
*.ixx \
*.ipp \
*.i++ \
*.inl \
*.h \
*.hh \
*.hxx \
*.hpp \
*.h++ \
*.idl \
*.odl \
*.cs \
*.php \
*.php3 \
*.inc \
*.m \
*.mm \
*.dox \
*.C \
*.CC \
*.C++ \
*.II \
*.I++ \
*.H \
*.HH \
*.H++ \
*.CS \
*.PHP \
*.PHP3 \
*.M \
*.MM \
*.inc.php
RECURSIVE = YES
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS = a?.php b?.php ?.php
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_PATTERNS =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = YES
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
USE_HTAGS = NO
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = NO
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = YES
USE_PDFLATEX = YES
LATEX_BATCHMODE = YES
LATEX_HIDE_INDICES = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = NO
XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::additions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
GROUP_GRAPHS = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = NO
GRAPHICAL_HIERARCHY = YES
DIRECTORY_GRAPH = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
MAX_DOT_GRAPH_DEPTH = 1000
DOT_TRANSPARENT = NO
DOT_MULTI_TARGETS = NO
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::additions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO

View file

@ -247,7 +247,7 @@
<a name="l00364"></a>00364 } <a name="l00364"></a>00364 }
<a name="l00365"></a>00365 <a name="l00365"></a>00365
<a name="l00366"></a>00366 ?&gt; <a name="l00366"></a>00366 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -806,7 +806,7 @@ References <a class="el" href="class__operation_8php-source.html#l00087">$ret</a
Referenced by <a class="el" href="user__menu_8php-source.html#l00578">MenuAdmin()</a>, <a class="el" href="user__menu_8php-source.html#l00524">ShowJrn()</a>, <a class="el" href="user__menu_8php-source.html#l00498">ShowMenuAdvanced()</a>, <a class="el" href="user__menu_8php-source.html#l00166">ShowMenuCompta()</a>, <a class="el" href="user__menu_8php-source.html#l00598">ShowMenuDocument()</a>, and <a class="el" href="user__menu_8php-source.html#l00618">ShowMenuParam()</a>. </td> Referenced by <a class="el" href="user__menu_8php-source.html#l00578">MenuAdmin()</a>, <a class="el" href="user__menu_8php-source.html#l00524">ShowJrn()</a>, <a class="el" href="user__menu_8php-source.html#l00498">ShowMenuAdvanced()</a>, <a class="el" href="user__menu_8php-source.html#l00166">ShowMenuCompta()</a>, <a class="el" href="user__menu_8php-source.html#l00598">ShowMenuDocument()</a>, and <a class="el" href="user__menu_8php-source.html#l00618">ShowMenuParam()</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -257,7 +257,7 @@
<a name="l00262"></a>00262 echo $act-&gt;SaveStage3($d_id); <a name="l00262"></a>00262 echo $act-&gt;SaveStage3($d_id);
<a name="l00263"></a>00263 } <a name="l00263"></a>00263 }
<a name="l00264"></a>00264 <a name="l00264"></a>00264
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -77,7 +77,7 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00151">action:
Definition at line <a class="el" href="action_8inc_8php-source.html#l00036">36</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>. </td> Definition at line <a class="el" href="action_8inc_8php-source.html#l00036">36</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -318,7 +318,7 @@
<a name="l00314"></a>00314 <a name="l00314"></a>00314
<a name="l00315"></a>00315 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>(); <a name="l00315"></a>00315 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00316"></a>00316 ?&gt; <a name="l00316"></a>00316 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -571,7 +571,7 @@ Definition at line <a class="el" href="admin__repo_8php-source.html#l00117">117<
Definition at line <a class="el" href="admin__repo_8php-source.html#l00042">42</a> of file <a class="el" href="admin__repo_8php-source.html">admin_repo.php</a>. </td> Definition at line <a class="el" href="admin__repo_8php-source.html#l00042">42</a> of file <a class="el" href="admin__repo_8php-source.html">admin_repo.php</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -31,7 +31,7 @@
<tr><td class="indexkey"><a class="el" href="classrapport.html">rapport</a></td><td class="indexvalue">Class rapport Create, view, modify and parse report </td></tr> <tr><td class="indexkey"><a class="el" href="classrapport.html">rapport</a></td><td class="indexvalue">Class rapport Create, view, modify and parse report </td></tr>
<tr><td class="indexkey"><a class="el" href="classwidget.html">widget</a></td><td class="indexvalue">Class widget This class is used to create all the HTML INPUT TYPE and some specials which works with javascript like js_search </td></tr> <tr><td class="indexkey"><a class="el" href="classwidget.html">widget</a></td><td class="indexvalue">Class widget This class is used to create all the HTML INPUT TYPE and some specials which works with javascript like js_search </td></tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:47 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -294,7 +294,7 @@
<a name="l00288"></a>00288 <a name="l00288"></a>00288
<a name="l00289"></a>00289 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>(); <a name="l00289"></a>00289 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00290"></a>00290 ?&gt; <a name="l00290"></a>00290 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -303,7 +303,7 @@ Definition at line <a class="el" href="annulation_8php-source.html#l00055">55</a
Definition at line <a class="el" href="annulation_8php-source.html#l00251">251</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>. </td> Definition at line <a class="el" href="annulation_8php-source.html#l00251">251</a> of file <a class="el" href="annulation_8php-source.html">annulation.php</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -71,7 +71,7 @@
<a name="l00065"></a>00065 <a name="l00065"></a>00065
<a name="l00066"></a>00066 <a name="l00066"></a>00066
<a name="l00067"></a>00067 ?&gt; <a name="l00067"></a>00067 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -156,7 +156,7 @@ Definition at line <a class="el" href="bal__csv_8php-source.html#l00035">35</a>
Definition at line <a class="el" href="bal__csv_8php-source.html#l00040">40</a> of file <a class="el" href="bal__csv_8php-source.html">bal_csv.php</a>. </td> Definition at line <a class="el" href="bal__csv_8php-source.html#l00040">40</a> of file <a class="el" href="bal__csv_8php-source.html">bal_csv.php</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -133,7 +133,7 @@
<a name="l00132"></a>00132 }<span class="comment">// end submit</span> <a name="l00132"></a>00132 }<span class="comment">// end submit</span>
<a name="l00133"></a>00133 echo <span class="stringliteral">"&lt;/div&gt;"</span>; <a name="l00133"></a>00133 echo <span class="stringliteral">"&lt;/div&gt;"</span>;
<a name="l00134"></a>00134 ?&gt; <a name="l00134"></a>00134 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -390,7 +390,7 @@ Definition at line <a class="el" href="balance_8php-source.html#l00068">68</a> o
Referenced by <a class="el" href="class__fiche_8php-source.html#l00397">fiche::blank()</a>, <a class="el" href="user__common_8php-source.html#l00321">ListJrn()</a>, <a class="el" href="class__customer_8php-source.html#l00195">Customer::Summary()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>, <a class="el" href="jrn_8php-source.html#l00457">ViewRecord()</a>, and <a class="el" href="class__widget_8php-source.html#l00059">widget::widget()</a>. </td> Referenced by <a class="el" href="class__fiche_8php-source.html#l00397">fiche::blank()</a>, <a class="el" href="user__common_8php-source.html#l00321">ListJrn()</a>, <a class="el" href="class__customer_8php-source.html#l00195">Customer::Summary()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>, <a class="el" href="jrn_8php-source.html#l00457">ViewRecord()</a>, and <a class="el" href="class__widget_8php-source.html#l00059">widget::widget()</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -142,7 +142,7 @@
<a name="l00137"></a>00137 <a name="l00137"></a>00137
<a name="l00138"></a>00138 }<span class="comment">// rtf file is read</span> <a name="l00138"></a>00138 }<span class="comment">// rtf file is read</span>
<a name="l00139"></a>00139 ?&gt; <a name="l00139"></a>00139 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -324,7 +324,7 @@ Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l01473">Cezpdf::
Definition at line <a class="el" href="bilan_8php-source.html#l00033">33</a> of file <a class="el" href="bilan_8php-source.html">bilan.php</a>. </td> Definition at line <a class="el" href="bilan_8php-source.html#l00033">33</a> of file <a class="el" href="bilan_8php-source.html">bilan.php</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -64,7 +64,7 @@
<a name="l00064"></a>00064 fclose($handle); <a name="l00064"></a>00064 fclose($handle);
<a name="l00065"></a>00065 echo <span class="stringliteral">"Encore rien désolé"</span>; <a name="l00065"></a>00065 echo <span class="stringliteral">"Encore rien désolé"</span>;
<a name="l00066"></a>00066 ?&gt; <a name="l00066"></a>00066 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -50,7 +50,7 @@ Definition at line <a class="el" href="cbc__be_8inc_8php-source.html#l00028">28<
Referenced by <a class="el" href="central__inc_8php-source.html#l00036">Centralise()</a>, <a class="el" href="class__user_8php-source.html#l00040">cl_user::cl_user()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</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_8php-source.html#l00074">fiche_def::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="class__fiche_8php-source.html#l00094">fiche_def::GetAll()</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="class__fiche_8php-source.html#l00315">fiche::GetByDef()</a>, <a class="el" href="class__fiche_8php-source.html#l00258">fiche::GetByType()</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="class__user_8php-source.html#l00204">cl_user::GetPreferences()</a>, <a class="el" href="user__common_8php-source.html#l00321">ListJrn()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00051">fiche_def_ref::LoadAll()</a>, <a class="el" href="ac__common_8php-source.html#l00281">make_array()</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="class_8pdf_8php-source.html#l01306">Cpdf::openFont()</a>, <a class="el" href="class__own_8php-source.html#l00031">Own::Own()</a>, <a class="el" href="postgres_8php-source.html#l00032">ShowDossier()</a>, and <a class="el" href="class__fiche_8php-source.html#l00364">fiche::strAttribut()</a>. </td> Referenced by <a class="el" href="central__inc_8php-source.html#l00036">Centralise()</a>, <a class="el" href="class__user_8php-source.html#l00040">cl_user::cl_user()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</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_8php-source.html#l00074">fiche_def::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="class__fiche_8php-source.html#l00094">fiche_def::GetAll()</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="class__fiche_8php-source.html#l00315">fiche::GetByDef()</a>, <a class="el" href="class__fiche_8php-source.html#l00258">fiche::GetByType()</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="class__user_8php-source.html#l00204">cl_user::GetPreferences()</a>, <a class="el" href="user__common_8php-source.html#l00321">ListJrn()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00051">fiche_def_ref::LoadAll()</a>, <a class="el" href="ac__common_8php-source.html#l00281">make_array()</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="class_8pdf_8php-source.html#l01306">Cpdf::openFont()</a>, <a class="el" href="class__own_8php-source.html#l00031">Own::Own()</a>, <a class="el" href="postgres_8php-source.html#l00032">ShowDossier()</a>, and <a class="el" href="class__fiche_8php-source.html#l00364">fiche::strAttribut()</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -90,7 +90,7 @@
<a name="l00084"></a>00084 echo <span class="stringliteral">"&lt;/DIV&gt;"</span>; <a name="l00084"></a>00084 echo <span class="stringliteral">"&lt;/DIV&gt;"</span>;
<a name="l00085"></a>00085 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>(); <a name="l00085"></a>00085 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00086"></a>00086 ?&gt; <a name="l00086"></a>00086 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -102,7 +102,7 @@ Definition at line <a class="el" href="central_8php-source.html#l00035">35</a> o
Definition at line <a class="el" href="central_8php-source.html#l00037">37</a> of file <a class="el" href="central_8php-source.html">central.php</a>. </td> Definition at line <a class="el" href="central_8php-source.html#l00037">37</a> of file <a class="el" href="central_8php-source.html">central.php</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -145,7 +145,7 @@
<a name="l00162"></a>00162 } <a name="l00162"></a>00162 }
<a name="l00163"></a>00163 <a name="l00163"></a>00163
<a name="l00164"></a>00164 ?&gt; <a name="l00164"></a>00164 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -127,7 +127,7 @@ Definition at line <a class="el" href="central__inc_8php-source.html#l00159">159
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> 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> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -158,7 +158,7 @@
<a name="l00206"></a>00206 } <a name="l00206"></a>00206 }
<a name="l00207"></a>00207 <a name="l00207"></a>00207
<a name="l00208"></a>00208 ?&gt; <a name="l00208"></a>00208 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -255,7 +255,7 @@ References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>,
Referenced by <a class="el" href="user__menu_8php-source.html#l00246">ShowMenuJrnUser()</a>. </td> Referenced by <a class="el" href="user__menu_8php-source.html#l00246">ShowMenuJrnUser()</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -162,7 +162,7 @@ Definition at line <a class="el" href="class__attribut_8php-source.html#l00032">
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__attribut_8php-source.html">class_attribut.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__attribut_8php-source.html">class_attribut.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:47 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -191,7 +191,7 @@ Definition at line <a class="el" href="class__balance_8php-source.html#l00032">3
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__balance_8php-source.html">class_balance.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__balance_8php-source.html">class_balance.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:47 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -1522,7 +1522,7 @@ Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00526">ezPrvtTa
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/html/addon/<a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/html/addon/<a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:47 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -4719,7 +4719,7 @@ Definition at line <a class="el" href="class_8pdf_8php-source.html#l00134">134</
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/html/addon/<a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/html/addon/<a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:48 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -164,7 +164,7 @@ Definition at line <a class="el" href="readme_8php-source.html#l00026">26</a> of
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/html/addon/<a class="el" href="readme_8php-source.html">readme.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/html/addon/<a class="el" href="readme_8php-source.html">readme.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:48 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -357,7 +357,7 @@ Definition at line <a class="el" href="class__customer_8php-source.html#l00045">
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__customer_8php-source.html">class_customer.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__customer_8php-source.html">class_customer.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:48 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -0,0 +1,570 @@
<!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: Document Class 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>Document Class Reference</h1><!-- doxytag: class="Document" -->Class Document corresponds to the table document.
<a href="#_details">More...</a>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a0">Document</a> ($p_cn, $p_d_id=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a1">Generate</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generate the document, Call $this-&gt;Replace to replace tag by value. <a href="#a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a2">ParseDocument</a> ($p_dir, $p_file)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function parse a document and replace all the predefined tags by a value. This functions generate diffent documents (invoice, order, letter) with the info from the database. <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a3">SaveGenerated</a> ($p_file)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Save the generated Document. <a href="#a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a4">Upload</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Upload a file into document all the needed data are in $_FILES we don't increment the seq. <a href="#a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a5">a_ref</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">create and compute a string for reference the doc &lt;A ...&gt; <a href="#a5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a6">Get</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a7">Replace</a> ($p_tag)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">replace the TAG by the real value, this value can be into the database or in $_POST The possible tags are<ul>
<li>[CUST_NAME] customer's name</li><li>[CUST_ADDR_1] customer's address line 1</li><li>[CUST_CP] customer's ZIP code</li><li>[CUST_CO] customer's country</li><li>[CUST_VAT] customer's VAT</li><li>[MARCH_NEXT] end this item and increment the counter $i</li><li>[VEN_ART_NAME]</li><li>[VEN_ART_PRICE]</li><li>[VEN_ART_QUANT]</li><li>[VEN_ART_TVA_CODE]</li><li>[VEN_ART_TVA_AMOUNT]</li><li>[VEN_ART_STOCK_CODE]</li><li>[VEN_HTVA]</li><li>[VEN_TVAC]</li><li>[VEN_TVA]</li><li>[TOTAL_VEN_HTVA]</li><li>[DATE]</li><li>[NUMBER_ID]</li><li>[MY_NAME]</li><li>[MY_CP]</li><li>[MY_COMMUNE]</li><li>[MY_TVA]</li><li>[MY_STREET]</li><li>[MY_NUMBER] </li></ul>
<a href="#a7"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#o0">$db</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#o1">$ag_id</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#o2">$d_mimetype</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#o3">$d_filename</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#o4">$d_lob</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#o5">$d_number</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#o6">$md_id</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Class Document corresponds to the table document.
<p>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00027">27</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="Document::Document" ref="a0" args="($p_cn, $p_d_id=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">Document::Document </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</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>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_d_id</em> = <code>0</code></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00040">40</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
Referenced by <a class="el" href="class__document_8php-source.html#l00200">SaveGenerated()</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a5"></a><!-- doxytag: member="Document::a_ref" ref="a5" 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">Document::a_ref </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
create and compute a string for reference the doc &lt;A ...&gt;
<p>
a_ref<p>
<dl compact><dt><b>Returns:</b></dt><dd>a string</dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00284">284</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="Document::Generate" ref="a1" 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">Document::Generate </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Generate the document, Call $this-&gt;Replace to replace tag by value.
<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>none</em>&nbsp;</td><td></td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>an array : the url where the generated doc can be found, the name of the file and his mimetype</dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000003">Todo:</a></b></dt><dd>Carefull : the slash is not windows compliant </dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00055">55</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="class__operation_8php-source.html#l00087">$ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="postgres_8php-source.html#l00251">NextSequence()</a>, <a class="el" href="class__document_8php-source.html#l00125">ParseDocument()</a>, <a class="el" href="class__document_8php-source.html#l00200">SaveGenerated()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="Document::Get" ref="a6" 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">Document::Get </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00295">295</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="show__document__modele_8php-source.html#l00060">$file</a>, <a class="el" href="class__operation_8php-source.html#l00087">$ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="Document::ParseDocument" ref="a2" args="($p_dir, $p_file)" --><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">Document::ParseDocument </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_dir</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_file</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
This function parse a document and replace all the predefined tags by a value. This functions generate diffent documents (invoice, order, letter) with the info from the database.
<p>
ParseDocument<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_dir</em>&nbsp;</td><td>directory name </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_file</em>&nbsp;</td><td>filename</td></tr>
</table>
</dl>
<dl compact><dt><b>Note:</b></dt><dd>Replace in the doc the tags by their values.<ul>
<li>MY_* table parameter</li><li>ART_VEN* table quant_sold for invoice</li><li>CUST_* table quant_sold and fiche for invoice</li><li>e_* for the invoice in the $_POST</li></ul>
</dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00125">125</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="poste_8inc_8php-source.html#l00069">$h</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="balance_8php-source.html#l00033">exit</a>, <a class="el" href="class__document_8php-source.html#l00363">Replace()</a>, and <a class="el" href="client_8inc_8php-source.html#l00117">value</a>.
<p>
Referenced by <a class="el" href="class__document_8php-source.html#l00055">Generate()</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="Document::Replace" ref="a7" args="($p_tag)" --><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">Document::Replace </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_tag</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
replace the TAG by the real value, this value can be into the database or in $_POST The possible tags are<ul>
<li>[CUST_NAME] customer's name</li><li>[CUST_ADDR_1] customer's address line 1</li><li>[CUST_CP] customer's ZIP code</li><li>[CUST_CO] customer's country</li><li>[CUST_VAT] customer's VAT</li><li>[MARCH_NEXT] end this item and increment the counter $i</li><li>[VEN_ART_NAME]</li><li>[VEN_ART_PRICE]</li><li>[VEN_ART_QUANT]</li><li>[VEN_ART_TVA_CODE]</li><li>[VEN_ART_TVA_AMOUNT]</li><li>[VEN_ART_STOCK_CODE]</li><li>[VEN_HTVA]</li><li>[VEN_TVAC]</li><li>[VEN_TVA]</li><li>[TOTAL_VEN_HTVA]</li><li>[DATE]</li><li>[NUMBER_ID]</li><li>[MY_NAME]</li><li>[MY_CP]</li><li>[MY_COMMUNE]</li><li>[MY_TVA]</li><li>[MY_STREET]</li><li>[MY_NUMBER] </li></ul>
<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>TAG</em>&nbsp;</td><td></td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>String which must replace the tag</dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>verify that price and quant are numeric </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>carefull round problem ? </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>verify that price and quant are numeric </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>carefull round problem ? </dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00363">363</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="parametre_8php-source.html#l00164">$my</a>, <a class="el" href="contact_8inc_8php-source.html#l00142">$qcode</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="print__invoice_8php-source.html#l00067">$tva</a>, <a class="el" href="readme_8php-source.html#l00200">break</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="user__common_8php-source.html#l00039">GetTvaRate()</a>, <a class="el" href="parametre_8php-source.html#l00160">MY_COMMUNE</a>, <a class="el" href="parametre_8php-source.html#l00159">MY_CP</a>, <a class="el" href="parametre_8php-source.html#l00155">MY_NAME</a>, <a class="el" href="parametre_8php-source.html#l00158">MY_NUMBER</a>, <a class="el" href="parametre_8php-source.html#l00157">MY_STREET</a>, and <a class="el" href="parametre_8php-source.html#l00156">MY_TVA</a>.
<p>
Referenced by <a class="el" href="class__document_8php-source.html#l00125">ParseDocument()</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="Document::SaveGenerated" ref="a3" args="($p_file)" --><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">Document::SaveGenerated </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_file</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Save the generated Document.
<p>
SaveGenerated <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_file</em>&nbsp;</td><td>is the generated file</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>0 if no error otherwise 1</dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00200">200</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="document__modele_8inc_8php-source.html#l00033">$doc</a>, <a class="el" href="facture_8inc_8php-source.html#l00082">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="class__document_8php-source.html#l00040">Document()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="postgres_8php-source.html#l00242">GetSequence()</a>, <a class="el" href="postgres_8php-source.html#l00266">Rollback()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>.
<p>
Referenced by <a class="el" href="class__document_8php-source.html#l00055">Generate()</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="Document::Upload" ref="a4" 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">Document::Upload </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Upload a file into document all the needed data are in $_FILES we don't increment the seq.
<p>
Upload<p>
<dl compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00231">231</a> of file <a class="el" href="class__document_8php-source.html">class_document.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="facture_8inc_8php-source.html#l00082">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="client_8inc_8php-source.html#l00116">name</a>, <a class="el" href="postgres_8php-source.html#l00266">Rollback()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o1"></a><!-- doxytag: member="Document::$ag_id" ref="o1" 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">Document::$<a class="el" href="facture_8inc_8php.html#a20">ag_id</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<a class="el" href="facture_8inc_8php.html#a20">action_gestion.ag_id</a> (pk)
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00031">31</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o3"></a><!-- doxytag: member="Document::$d_filename" ref="o3" 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">Document::$d_filename </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00033">33</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o4"></a><!-- doxytag: member="Document::$d_lob" ref="o4" 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">Document::$d_lob </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
the oid of the lob
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00034">34</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o2"></a><!-- doxytag: member="Document::$d_mimetype" ref="o2" 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">Document::$d_mimetype </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00032">32</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o5"></a><!-- doxytag: member="Document::$d_number" ref="o5" 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">Document::$d_number </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
seq of action
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00035">35</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o0"></a><!-- doxytag: member="Document::$db" ref="o0" 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">Document::$db </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Database connexion var $d_id; /*!
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00029">29</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o6"></a><!-- doxytag: member="Document::$md_id" ref="o6" 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">Document::$<a class="el" href="facture_8inc_8php.html#a19">md_id</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
document's template
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00036">36</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__document_8php-source.html">class_document.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:48 2006 for phpcompta by&nbsp;
<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>

View file

@ -467,7 +467,7 @@ Definition at line <a class="el" href="class__document__modele_8php-source.html#
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:48 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -0,0 +1,100 @@
<!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: Document_type Class 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>Document_type Class Reference</h1><!-- doxytag: class="Document_type" --><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument__type.html#a0">document_type</a> ($p_cn)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">constructor <a href="#a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument__type.html#a1">get</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get all the data for this dt_id. <a href="#a1"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<p>
<p>
Definition at line <a class="el" href="class__document__type_8php-source.html#l00029">29</a> of file <a class="el" href="class__document__type_8php-source.html">class_document_type.php</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="Document_type::document_type" ref="a0" 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">Document_type::document_type </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_cn</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
constructor
<p>
document_type <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>&nbsp;</td><td>database connx</td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="class__document__type_8php-source.html#l00035">35</a> of file <a class="el" href="class__document__type_8php-source.html">class_document_type.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="Document_type::get" ref="a1" 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">Document_type::get </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get all the data for this dt_id.
<p>
<p>
Definition at line <a class="el" href="class__document__type_8php-source.html#l00043">43</a> of file <a class="el" href="class__document__type_8php-source.html">class_document_type.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</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>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__document__type_8php-source.html">class_document_type.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:48 2006 for phpcompta by&nbsp;
<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>

View file

@ -340,7 +340,7 @@ Definition at line <a class="el" href="class__invoice_8php-source.html#l00033">3
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__invoice_8php-source.html">class_invoice.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__invoice_8php-source.html">class_invoice.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -162,7 +162,7 @@ Definition at line <a class="el" href="class__own_8php-source.html#l00029">29</a
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__own_8php-source.html">class_own.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__own_8php-source.html">class_own.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -1562,7 +1562,7 @@
<a name="l01553"></a>01553 <a name="l01553"></a>01553
<a name="l01554"></a>01554 } <a name="l01554"></a>01554 }
<a name="l01555"></a>01555 ?&gt; <a name="l01555"></a>01555 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -15,7 +15,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCezpdf.html">Cezpdf</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCezpdf.html">Cezpdf</a></td></tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -2597,7 +2597,7 @@
<a name="l03073"></a>03073 <span class="stringliteral">} // end of class</span> <a name="l03073"></a>03073 <span class="stringliteral">} // end of class</span>
<a name="l03074"></a>03074 <span class="stringliteral"></span> <a name="l03074"></a>03074 <span class="stringliteral"></span>
<a name="l03075"></a>03075 <span class="stringliteral">?&gt;</span> <a name="l03075"></a>03075 <span class="stringliteral">?&gt;</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -18,7 +18,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html">Cpdf</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html">Cpdf</a></td></tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -0,0 +1,335 @@
<!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/class_action.php Source File</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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000006.html">include</a></div>
<h1>class_action.php</h1><a href="class__action_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?
<a name="l00002"></a>00002 <span class="comment">/*</span>
<a name="l00003"></a>00003 <span class="comment"> * This file is part of PhpCompta.</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * PhpCompta is free software; you can redistribute it and/or modify</span>
<a name="l00006"></a>00006 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
<a name="l00007"></a>00007 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00008"></a>00008 <span class="comment"> * (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * PhpCompta is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
<a name="l00013"></a>00013 <span class="comment"> * GNU General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
<a name="l00016"></a>00016 <span class="comment"> * along with PhpCompta; if not, write to the Free Software</span>
<a name="l00017"></a>00017 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
<a name="l00018"></a>00018 <span class="comment">*/</span>
<a name="l00019"></a>00019 <span class="comment">/* $Revision$ */</span>
<a name="l00020"></a>00020 <span class="comment">// Copyright Author Dany De Bontridder ddebontridder@yahoo.f</span>
<a name="l00021"></a>00021
<a name="l00022"></a>00022 require_once(<span class="stringliteral">"class_fiche.php"</span>);
<a name="l00023"></a>00023 require_once(<span class="stringliteral">"class_document.php"</span>);
<a name="l00024"></a>00024 require_once(<span class="stringliteral">"class_document_type.php"</span>);
<a name="l00025"></a>00025 require_once(<span class="stringliteral">"user_common.php"</span>);
<a name="l00047"></a><a class="code" href="classaction.html">00047</a> <span class="keyword">class </span><a class="code" href="classaction.html">action</a>
<a name="l00048"></a>00048 {
<a name="l00060"></a><a class="code" href="classaction.html#o0">00060</a> var <a class="code" href="classaction.html#o0">$db</a>;
<a name="l00061"></a><a class="code" href="classaction.html#o1">00061</a> var <a class="code" href="classaction.html#o1">$ag_desc</a>;
<a name="l00062"></a><a class="code" href="classaction.html#o2">00062</a> var <a class="code" href="classaction.html#o2">$ag_date</a>;
<a name="l00063"></a><a class="code" href="classaction.html#o3">00063</a> var <a class="code" href="classaction.html#o3">$d_lob</a>;
<a name="l00064"></a><a class="code" href="classaction.html#o4">00064</a> var <a class="code" href="classaction.html#o4">$dt_id</a>;
<a name="l00065"></a><a class="code" href="classaction.html#o5">00065</a> var <a class="code" href="classaction.html#o5">$d_state</a>;
<a name="l00066"></a><a class="code" href="classaction.html#o6">00066</a> var <a class="code" href="classaction.html#o6">$d_number</a>;
<a name="l00067"></a><a class="code" href="classaction.html#o7">00067</a> var <a class="code" href="classaction.html#o7">$d_filename</a>;
<a name="l00068"></a><a class="code" href="classaction.html#o8">00068</a> var <a class="code" href="classaction.html#o8">$d_mimetype</a>;
<a name="l00069"></a><a class="code" href="classaction.html#o9">00069</a> var <a class="code" href="classaction.html#o9">$ag_title</a>;
<a name="l00070"></a><a class="code" href="classaction.html#o10">00070</a> var <a class="code" href="classaction.html#o10">$f_id</a>;
<a name="l00075"></a><a class="code" href="classaction.html#a0">00075</a> function <a class="code" href="classaction.html#a0">action</a> ($p_cn)
<a name="l00076"></a>00076 {
<a name="l00077"></a>00077 $this-&gt;db=$p_cn;
<a name="l00078"></a>00078 $this-&gt;<a class="code" href="facture_8inc_8php.html#a18">f_id</a>=0;
<a name="l00079"></a>00079 }
<a name="l00085"></a><a class="code" href="classaction.html#a1">00085</a> function <a class="code" href="classaction.html#a1">Display</a>()
<a name="l00086"></a>00086 {
<a name="l00087"></a>00087 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">""</span>;
<a name="l00088"></a>00088 <span class="comment">// Compute the widget</span>
<a name="l00089"></a>00089 <span class="comment">// Date </span>
<a name="l00090"></a>00090 $date=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00091"></a>00091 $date-&gt;readonly=<span class="keyword">true</span>;
<a name="l00092"></a>00092 $date-&gt;name=<span class="stringliteral">"ag_date"</span>;
<a name="l00093"></a>00093 $date-&gt;value=$this-&gt;ag_date;
<a name="l00094"></a>00094 <span class="comment">// Doc Type</span>
<a name="l00095"></a>00095 $doc_type=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00096"></a>00096 $doc_type-&gt;name=<span class="stringliteral">"dt_id"</span>;
<a name="l00097"></a>00097 $doc_type-&gt;value=$this-&gt;dt_id;
<a name="l00098"></a>00098 <a class="code" href="balance_8php.html#a9">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select dt_value from document_type where dt_id="</span>.$this-&gt;dt_id);
<a name="l00099"></a>00099 $v=pg_fetch_array($a,0);
<a name="l00100"></a>00100 $str_type=$v[0];
<a name="l00101"></a>00101
<a name="l00102"></a>00102 <span class="comment">// state</span>
<a name="l00103"></a>00103 <span class="comment">// Retrieve the value</span>
<a name="l00104"></a>00104 <a class="code" href="balance_8php.html#a9">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select s_value from document_state where s_id="</span>.$this-&gt;d_state);
<a name="l00105"></a>00105 $v=pg_fetch_array($a,0);
<a name="l00106"></a>00106 $str_state=$v[0];
<a name="l00107"></a>00107 $state=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00108"></a>00108 $state-&gt;name=<span class="stringliteral">"d_state"</span>;
<a name="l00109"></a>00109 $state-&gt;value=$this-&gt;d_state;
<a name="l00110"></a>00110 <span class="comment">// title</span>
<a name="l00111"></a>00111 $title=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00112"></a>00112 $title-&gt;readonly=<span class="keyword">true</span>;
<a name="l00113"></a>00113 $title-&gt;name=<span class="stringliteral">"ag_title"</span>;
<a name="l00114"></a>00114 $title-&gt;value=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;ag_title);
<a name="l00115"></a>00115
<a name="l00116"></a>00116 <span class="comment">// Description</span>
<a name="l00117"></a>00117 <a class="code" href="admin__repo_8php.html#a9">$desc</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>('textarea');
<a name="l00118"></a>00118 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;name=<span class="stringliteral">"ag_desc"</span>;
<a name="l00119"></a>00119 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;readonly=<span class="stringliteral">" disabled "</span>;
<a name="l00120"></a>00120 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;value=$this-&gt;ag_desc;
<a name="l00121"></a>00121 <span class="comment">// Propose to generate a document</span>
<a name="l00122"></a>00122 $gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a> (<span class="stringliteral">"checkbox"</span>);
<a name="l00123"></a>00123 $gen-&gt;name=<span class="stringliteral">"p_gen"</span>;
<a name="l00124"></a>00124 $doc_gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00125"></a>00125 $doc_gen-&gt;name=<span class="stringliteral">"gen_doc"</span>;
<a name="l00126"></a>00126 $doc_gen-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($this-&gt;db,
<a name="l00127"></a>00127 <span class="stringliteral">"select md_id,md_name from document_modele where md_type="</span>.$this-&gt;dt_id);
<a name="l00128"></a>00128 <span class="comment">// f_id</span>
<a name="l00129"></a>00129 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00130"></a>00130 $tiers-&gt;GetByQCode($this-&gt;qcode);
<a name="l00131"></a>00131 <span class="comment">// Preparing the return string</span>
<a name="l00132"></a>00132
<a name="l00133"></a>00133 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Date : "</span>.$date-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00134"></a>00134 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Etat $str_state"</span>.$state-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00135"></a>00135 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Type du document $str_type"</span>.$doc_type-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00136"></a>00136 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Tiers : "</span>.$this-&gt;qcode.<span class="stringliteral">" "</span>.$tiers-&gt;strAttribut(1).'&lt;/p&gt;';
<a name="l00137"></a>00137 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Titre : "</span>.$title-&gt;IOValue();
<a name="l00138"></a>00138 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Description :"</span>.urldecode($desc-&gt;IOValue()).<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00139"></a>00139 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00140"></a>00140
<a name="l00141"></a>00141 }
<a name="l00142"></a>00142
<a name="l00151"></a><a class="code" href="classaction.html#a2">00151</a> function <a class="code" href="classaction.html#a2">Confirm</a>()
<a name="l00152"></a>00152 {
<a name="l00153"></a>00153 <span class="keywordflow">if</span> ( <a class="code" href="ac__common_8php.html#a3">isDate</a>($this-&gt;ag_date) == NULL )
<a name="l00154"></a>00154 {
<a name="l00155"></a>00155 <span class="comment">// if the date is invalid, default date is today</span>
<a name="l00156"></a>00156 $this-&gt;ag_date=date(<span class="stringliteral">"d.m.Y"</span>);
<a name="l00157"></a>00157 }
<a name="l00158"></a>00158 <span class="comment">// Compute the widget</span>
<a name="l00159"></a>00159 <span class="comment">// Date </span>
<a name="l00160"></a>00160 $date=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00161"></a>00161 $date-&gt;readonly=<span class="keyword">true</span>;
<a name="l00162"></a>00162 $date-&gt;name=<span class="stringliteral">"ag_date"</span>;
<a name="l00163"></a>00163 $date-&gt;value=$this-&gt;ag_date;
<a name="l00164"></a>00164 <span class="comment">// Doc Type</span>
<a name="l00165"></a>00165 $doc_type=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00166"></a>00166 $doc_type-&gt;name=<span class="stringliteral">"dt_id"</span>;
<a name="l00167"></a>00167 $doc_type-&gt;value=$this-&gt;dt_id;
<a name="l00168"></a>00168 <a class="code" href="balance_8php.html#a9">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select dt_value from document_type where dt_id="</span>.$this-&gt;dt_id);
<a name="l00169"></a>00169 $v=pg_fetch_array($a,0);
<a name="l00170"></a>00170 $str_type=$v[0];
<a name="l00171"></a>00171 <span class="keywordflow">if</span> ( isset ($_REQUEST['url']))
<a name="l00172"></a>00172 {
<a name="l00173"></a>00173 <a class="code" href="client_8inc_8php.html#a9">$retour</a>=sprintf('&lt;A HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',urldecode($_REQUEST['url']));
<a name="l00174"></a>00174 <a class="code" href="action_8inc_8php.html#a1">$h_url</a>=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"%s"</span>&gt;',urldecode($_REQUEST['url']));
<a name="l00175"></a>00175 }
<a name="l00176"></a>00176 <span class="keywordflow">else</span>
<a name="l00177"></a>00177 {
<a name="l00178"></a>00178 <a class="code" href="client_8inc_8php.html#a9">$retour</a>=<span class="stringliteral">""</span>;
<a name="l00179"></a>00179 <a class="code" href="action_8inc_8php.html#a1">$h_url</a>=<span class="stringliteral">""</span>;
<a name="l00180"></a>00180 }
<a name="l00181"></a>00181
<a name="l00182"></a>00182 <span class="comment">// state</span>
<a name="l00183"></a>00183 <span class="comment">// Retrieve the value</span>
<a name="l00184"></a>00184 <a class="code" href="balance_8php.html#a9">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select s_value from document_state where s_id="</span>.$this-&gt;d_state);
<a name="l00185"></a>00185 $v=pg_fetch_array($a,0);
<a name="l00186"></a>00186 $str_state=$v[0];
<a name="l00187"></a>00187 $state=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00188"></a>00188 $state-&gt;name=<span class="stringliteral">"d_state"</span>;
<a name="l00189"></a>00189 $state-&gt;value=$this-&gt;d_state;
<a name="l00190"></a>00190 <span class="comment">// title</span>
<a name="l00191"></a>00191 $title=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00192"></a>00192 $title-&gt;readonly=<span class="keyword">true</span>;
<a name="l00193"></a>00193 $title-&gt;name=<span class="stringliteral">"ag_title"</span>;
<a name="l00194"></a>00194 $title-&gt;value=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;ag_title);
<a name="l00195"></a>00195
<a name="l00196"></a>00196 <span class="comment">// Description</span>
<a name="l00197"></a>00197 <a class="code" href="admin__repo_8php.html#a9">$desc</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>('textarea');
<a name="l00198"></a>00198 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;name=<span class="stringliteral">"ag_desc"</span>;
<a name="l00199"></a>00199 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;readonly=<span class="stringliteral">" disabled "</span>;
<a name="l00200"></a>00200 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;value=$this-&gt;ag_desc;
<a name="l00201"></a>00201 <span class="comment">// Propose to generate a document</span>
<a name="l00202"></a>00202 $gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a> (<span class="stringliteral">"checkbox"</span>);
<a name="l00203"></a>00203 $gen-&gt;name=<span class="stringliteral">"p_gen"</span>;
<a name="l00204"></a>00204 $doc_gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00205"></a>00205 $doc_gen-&gt;name=<span class="stringliteral">"gen_doc"</span>;
<a name="l00206"></a>00206 $doc_gen-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($this-&gt;db,
<a name="l00207"></a>00207 <span class="stringliteral">"select md_id,md_name from document_modele where md_type="</span>.$this-&gt;dt_id);
<a name="l00208"></a>00208 <span class="comment">// f_id</span>
<a name="l00209"></a>00209 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00210"></a>00210 $tiers-&gt;GetByQCode($this-&gt;qcode);
<a name="l00211"></a>00211 <span class="comment">// Preparing the return string</span>
<a name="l00212"></a>00212 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="client_8inc_8php.html#a9">$retour</a>.<span class="stringliteral">"&lt;form method=\"post\"&gt;"</span>;
<a name="l00213"></a>00213 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Date : "</span>.$date-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00214"></a>00214 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Etat $str_state"</span>.$state-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00215"></a>00215 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Type du document $str_type"</span>.$doc_type-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00216"></a>00216 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Tiers : "</span>.$this-&gt;qcode.<span class="stringliteral">" "</span>.$tiers-&gt;strAttribut(1).'&lt;/p&gt;';
<a name="l00217"></a>00217 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Titre : "</span>.$title-&gt;IOValue();
<a name="l00218"></a>00218 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Description :"</span>.$desc-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00219"></a>00219 <span class="comment">// if no document exist for this type then do not display the question</span>
<a name="l00220"></a>00220 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span>($doc_gen-&gt;value) != 0)
<a name="l00221"></a>00221 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; G&amp;eacute;n&amp;eacute;rer un document "</span>.$gen-&gt;IOValue().<span class="stringliteral">" "</span>.$doc_gen-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00222"></a>00222
<a name="l00223"></a>00223 <span class="comment">// Add the hidden tag</span>
<a name="l00224"></a>00224 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"save_action_st2"</span>&gt;';
<a name="l00225"></a>00225 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;';
<a name="l00226"></a>00226 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"tiers"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"'.$this-&gt;qcode.'"</span>&gt;';
<a name="l00227"></a>00227 <span class="keywordflow">if</span> ( $tiers-&gt;strAttribut(1) != <span class="stringliteral">"- ERROR -"</span>)
<a name="l00228"></a>00228 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;Submit(<span class="stringliteral">"Save"</span>,<span class="stringliteral">"Sauve"</span>);
<a name="l00229"></a>00229 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;Submit(<span class="stringliteral">"corr"</span>,<span class="stringliteral">"Corrige"</span>);
<a name="l00230"></a>00230
<a name="l00231"></a>00231 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="action_8inc_8php.html#a1">$h_url</a>.<span class="stringliteral">"&lt;/form&gt;"</span>;
<a name="l00232"></a>00232 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00233"></a>00233 }
<a name="l00241"></a><a class="code" href="classaction.html#a3">00241</a> function <a class="code" href="classaction.html#a3">SaveStage2</a>()
<a name="l00242"></a>00242 {
<a name="l00243"></a>00243 <span class="comment">// Get The sequence id, </span>
<a name="l00244"></a>00244 $seq_name=<span class="stringliteral">"seq_doc_type_"</span>.$this-&gt;dt_id;
<a name="l00245"></a>00245 <a class="code" href="facture_8inc_8php.html#a21">$str_file</a>=<span class="stringliteral">""</span>;
<a name="l00246"></a>00246 $add_file='';
<a name="l00247"></a>00247 <span class="comment">// f_id</span>
<a name="l00248"></a>00248 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00249"></a>00249 $tiers-&gt;GetByQCode($this-&gt;qcode);
<a name="l00250"></a>00250 <span class="keywordflow">if</span> ( trim($this-&gt;ag_title) == <span class="stringliteral">""</span>) {
<a name="l00251"></a>00251 $doc_mod=<span class="keyword">new</span> document_type($this-&gt;db);
<a name="l00252"></a>00252 $doc_mod-&gt;dt_id=$this-&gt;dt_id;
<a name="l00253"></a>00253 $doc_mod-&gt;get();
<a name="l00254"></a>00254 $this-&gt;ag_title=$doc_mod-&gt;dt_value;
<a name="l00255"></a>00255 }
<a name="l00256"></a>00256 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_action',__LINE__,<span class="stringliteral">" tiers-&gt;id "</span>.$tiers-&gt;id);
<a name="l00257"></a>00257 <a class="code" href="facture_8inc_8php.html#a1">$sql</a>=sprintf(<span class="stringliteral">"insert into action_gestion(ag_type,ag_title,f_id,ag_comment) values ('%s','%s',%d,'%s')"</span>, $this-&gt;dt_id,
<a name="l00258"></a>00258 <a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;ag_title),
<a name="l00259"></a>00259 $tiers-&gt;id,
<a name="l00260"></a>00260 <a class="code" href="ac__common_8php.html#a9">FormatString</a>(urlencode($this-&gt;ag_desc)));
<a name="l00261"></a>00261 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql);
<a name="l00262"></a>00262 $this-&gt;<a class="code" href="facture_8inc_8php.html#a20">ag_id</a>=<a class="code" href="postgres_8php.html#a12">GetSequence</a>($this-&gt;db,'action_gestion_ag_id_seq');
<a name="l00263"></a>00263
<a name="l00264"></a>00264 <span class="comment">// the lob filename and the mimetype needed if we want to generate a doc.</span>
<a name="l00265"></a>00265 <span class="keywordflow">if</span> ( $this-&gt;gen == 'on' )
<a name="l00266"></a>00266 {
<a name="l00267"></a>00267 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>=<span class="keyword">new</span> <a class="code" href="classDocument.html">Document</a>($this-&gt;db);
<a name="l00268"></a>00268 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;f_id=$tiers-&gt;id;
<a name="l00269"></a>00269 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;md_id=$this-&gt;<a class="code" href="document__modele_8inc_8php.html#a3">md_id</a>;
<a name="l00270"></a>00270 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;ag_id=$this-&gt;<a class="code" href="facture_8inc_8php.html#a20">ag_id</a>;
<a name="l00271"></a>00271 <a class="code" href="facture_8inc_8php.html#a21">$str_file</a>=<a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;Generate();
<a name="l00272"></a>00272 }
<a name="l00273"></a>00273
<a name="l00274"></a>00274 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$this-&gt;<a class="code" href="classaction.html#a1">Display</a>();
<a name="l00275"></a>00275 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;hr&gt;"</span>;
<a name="l00276"></a>00276 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;form enctype=<span class="stringliteral">"multipart/form-data"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00277"></a>00277 <span class="comment">// Add the hidden tag</span>
<a name="l00278"></a>00278 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"save_action_st3"</span>&gt;';
<a name="l00279"></a>00279 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;';
<a name="l00280"></a>00280 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"ag_id"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"'.$this-&gt;ag_id.'"</span>&gt;';
<a name="l00281"></a>00281
<a name="l00282"></a>00282 <span class="comment">// Value for the generated document</span>
<a name="l00283"></a>00283 <span class="keywordflow">if</span> ( $this-&gt;gen == 'on' )
<a name="l00284"></a>00284 {
<a name="l00285"></a>00285 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"d_id"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"'.$doc-&gt;d_id.'"</span>&gt;';
<a name="l00286"></a>00286 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"Sauver le document généré :"</span>;
<a name="l00287"></a>00287 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="facture_8inc_8php.html#a21">$str_file</a>;
<a name="l00288"></a>00288 $checkbox=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"checkbox"</span>);
<a name="l00289"></a>00289 $checkbox-&gt;name=<span class="stringliteral">"save_generate"</span>;
<a name="l00290"></a>00290 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$checkbox-&gt;IOValue();
<a name="l00291"></a>00291 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;hr&gt;"</span>;
<a name="l00292"></a>00292 }
<a name="l00293"></a>00293 $upload=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"file"</span>);
<a name="l00294"></a>00294 $upload-&gt;name=<span class="stringliteral">"file_upload"</span>;
<a name="l00295"></a>00295 $upload-&gt;value=<span class="stringliteral">""</span>;
<a name="l00296"></a>00296 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"Enregistrer le fichier "</span>.$upload-&gt;IOValue();
<a name="l00297"></a>00297 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$upload-&gt;Submit(<span class="stringliteral">"save"</span>,<span class="stringliteral">"Sauve le fichier"</span>);
<a name="l00298"></a>00298 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/form&gt;"</span>;
<a name="l00299"></a>00299 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00300"></a>00300 }
<a name="l00306"></a><a class="code" href="classaction.html#a4">00306</a> function <a class="code" href="classaction.html#a4">SaveStage3</a>($d_id)
<a name="l00307"></a>00307 {
<a name="l00308"></a>00308 <span class="comment">// no generated doc</span>
<a name="l00309"></a>00309 <span class="keywordflow">if</span> ( $d_id == 0 ) <span class="keywordflow">return</span>;
<a name="l00310"></a>00310 <span class="comment">// if we save the generated doc</span>
<a name="l00311"></a>00311 <span class="keywordflow">if</span> ( isset($_POST['save_generate']))
<a name="l00312"></a>00312 {
<a name="l00313"></a>00313 <span class="keywordflow">return</span>;
<a name="l00314"></a>00314 }
<a name="l00315"></a>00315
<a name="l00316"></a>00316 <span class="comment">// Upload a new document</span>
<a name="l00317"></a>00317 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>=<span class="keyword">new</span> <a class="code" href="classDocument.html">Document</a>($this-&gt;db);
<a name="l00318"></a>00318 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;d_id=$d_id;
<a name="l00319"></a>00319 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;Upload($this-&gt;ag_id);
<a name="l00320"></a>00320 }
<a name="l00329"></a><a class="code" href="classaction.html#a5">00329</a> function <a class="code" href="classaction.html#a5">myList</a>($p_filter=<span class="stringliteral">""</span>,$p_search=<span class="stringliteral">""</span>)
<a name="l00330"></a>00330 {
<a name="l00331"></a>00331 <a class="code" href="facture_8inc_8php.html#a1">$sql</a>=<span class="stringliteral">"</span>
<a name="l00332"></a>00332 <span class="stringliteral"> select ag_id,to_char(ag_timestamp,'DD-MM-YYYY HH:MI') as my_date,f_id,ag_title,d_id,md_type,dt_value </span>
<a name="l00333"></a>00333 <span class="stringliteral"> from action_gestion </span>
<a name="l00334"></a>00334 <span class="stringliteral"> left outer join document using (ag_id)</span>
<a name="l00335"></a>00335 <span class="stringliteral"> left outer join document_modele on (ag_type=md_type) </span>
<a name="l00336"></a>00336 <span class="stringliteral"> join document_type on (ag_type=dt_id)</span>
<a name="l00337"></a>00337 <span class="stringliteral"> where dt_id in ($p_filter) $p_search"</span>;
<a name="l00338"></a>00338 $max_line=<a class="code" href="postgres_8php.html#a10">CountSql</a>($this-&gt;db,$sql);
<a name="l00339"></a>00339 <a class="code" href="facture_8inc_8php.html#a12">$step</a>=<a class="code" href="commercial_8php.html#a0">$_SESSION</a>['g_pagesize'];
<a name="l00340"></a>00340 <a class="code" href="facture_8inc_8php.html#a13">$page</a>=(isset($_GET['offset']))?$_GET['page']:1;
<a name="l00341"></a>00341 <a class="code" href="facture_8inc_8php.html#a14">$offset</a>=(isset($_GET['offset']))?$_GET['offset']:0;
<a name="l00342"></a>00342 <a class="code" href="jrn__pdf_8php.html#a9">$limit</a>=<span class="stringliteral">" LIMIT $step OFFSET $offset "</span>;
<a name="l00343"></a>00343 <a class="code" href="facture_8inc_8php.html#a16">$bar</a>=<a class="code" href="user__common_8php.html#a16">jrn_navigation_bar</a>($offset,$max_line,$step,$page);
<a name="l00344"></a>00344
<a name="l00345"></a>00345 <a class="code" href="eub__be_8inc_8php.html#a5">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql.$limit);
<a name="l00346"></a>00346 $a_row=pg_fetch_all($Res);
<a name="l00347"></a>00347 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00348"></a>00348 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="facture_8inc_8php.html#a16">$bar</a>;
<a name="l00349"></a>00349 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;table&gt;"</span>;
<a name="l00350"></a>00350 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;tr&gt;"</span>;
<a name="l00351"></a>00351 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Date&lt;/th&gt;"</span>;
<a name="l00352"></a>00352 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Société&lt;/th&gt;"</span>;
<a name="l00353"></a>00353 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Titre&lt;/th&gt;"</span>;
<a name="l00354"></a>00354 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;type&lt;/th&gt;"</span>;
<a name="l00355"></a>00355 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Document&lt;/th&gt;"</span>;
<a name="l00356"></a>00356 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/tr&gt;"</span>;
<a name="l00357"></a>00357
<a name="l00358"></a>00358 <span class="comment">// if there are no records return a message</span>
<a name="l00359"></a>00359 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span> ($a_row) == 0 or $a_row == <span class="keyword">false</span> )
<a name="l00360"></a>00360 {
<a name="l00361"></a>00361 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00362"></a>00362 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;hr&gt;Aucun enregistrement trouvé';
<a name="l00363"></a>00363 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/div&gt;"</span>;
<a name="l00364"></a>00364 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00365"></a>00365
<a name="l00366"></a>00366 }
<a name="l00367"></a>00367 foreach ($a_row as $row )
<a name="l00368"></a>00368 {
<a name="l00369"></a>00369 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;tr&gt;"</span>;
<a name="l00370"></a>00370 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$row['my_date'].<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00371"></a>00371 $f=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00372"></a>00372 $f-&gt;id=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['<a class="code" href="facture_8inc_8php.html#a18">f_id</a>'];
<a name="l00373"></a>00373 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$f-&gt;getName().<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00374"></a>00374 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$row['ag_title'].<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00375"></a>00375 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$row['dt_value'].<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00376"></a>00376
<a name="l00377"></a>00377 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>=<span class="keyword">new</span> <a class="code" href="classDocument.html">Document</a>($this-&gt;db,$row['d_id']);
<a name="l00378"></a>00378 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$doc-&gt;a_ref().<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00379"></a>00379 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/tr&gt;"</span>;
<a name="l00380"></a>00380
<a name="l00381"></a>00381 }
<a name="l00382"></a>00382 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/table&gt;"</span>;
<a name="l00383"></a>00383 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="facture_8inc_8php.html#a16">$bar</a>;
<a name="l00384"></a>00384 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/div&gt;"</span>;
<a name="l00385"></a>00385 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00386"></a>00386 }
<a name="l00387"></a>00387
<a name="l00388"></a>00388
<a name="l00389"></a>00389
<a name="l00390"></a>00390 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<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>

View file

@ -0,0 +1,36 @@
<!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/class_action.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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000006.html">include</a></div>
<h1>class_action.php File Reference</h1>class_action for manipulating actions action can be :<ul>
<li>an invoice</li><li>a meeting</li><li>an order</li><li>a letter </li></ul>
<a href="#_details">More...</a>
<p>
<p>
<a href="class__action_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>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html">action</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">class_action for manipulating actions action can be :<ul>
<li>an invoice</li><li>a meeting</li><li>an order</li><li>a letter </li></ul>
<a href="classaction.html#_details">More...</a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
class_action for manipulating actions action can be :<ul>
<li>an invoice</li><li>a meeting</li><li>an order</li><li>a letter </li></ul>
<p>
The table document_type are the possible actions
<p>
Definition in file <a class="el" href="class__action_8php-source.html">class_action.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<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>

View file

@ -52,7 +52,7 @@
<a name="l00060"></a>00060 <a name="l00060"></a>00060
<a name="l00061"></a>00061 <span class="keywordflow">return</span> $p_attribut; <a name="l00061"></a>00061 <span class="keywordflow">return</span> $p_attribut;
<a name="l00062"></a>00062 } <a name="l00062"></a>00062 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -70,7 +70,7 @@ References <a class="el" href="balance_8php-source.html#l00113">$i</a>, and <a c
Referenced by <a class="el" href="class__fiche_8php-source.html#l00188">fiche::getAttribut()</a>. </td> Referenced by <a class="el" href="class__fiche_8php-source.html#l00188">fiche::getAttribut()</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -100,7 +100,7 @@
<a name="l00112"></a>00112 <a name="l00112"></a>00112
<a name="l00113"></a>00113 } <a name="l00113"></a>00113 }
<a name="l00114"></a>00114 } <a name="l00114"></a>00114 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -23,7 +23,7 @@ Class for manipulating data to print the balance of account.
<p> <p>
<p> <p>
Definition in file <a class="el" href="class__balance_8php-source.html">class_balance.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__balance_8php-source.html">class_balance.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -0,0 +1,126 @@
<!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/class_contact.php Source File</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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000006.html">include</a></div>
<h1>class_contact.php</h1><a href="class__contact_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?
<a name="l00002"></a>00002 <span class="comment">/*</span>
<a name="l00003"></a>00003 <span class="comment"> * This file is part of PhpCompta.</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * PhpCompta is free software; you can redistribute it and/or modify</span>
<a name="l00006"></a>00006 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
<a name="l00007"></a>00007 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00008"></a>00008 <span class="comment"> * (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * PhpCompta is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
<a name="l00013"></a>00013 <span class="comment"> * GNU General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
<a name="l00016"></a>00016 <span class="comment"> * along with PhpCompta; if not, write to the Free Software</span>
<a name="l00017"></a>00017 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
<a name="l00018"></a>00018 <span class="comment">*/</span>
<a name="l00019"></a>00019 <span class="comment">/* $Revision$ */</span>
<a name="l00020"></a>00020 <span class="comment">// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr</span>
<a name="l00022"></a>00022 <span class="comment"></span>require_once(<span class="stringliteral">"class_fiche.php"</span>);
<a name="l00023"></a>00023 require_once(<span class="stringliteral">"constant.php"</span>);
<a name="l00024"></a>00024 require_once(<span class="stringliteral">"user_common.php"</span>);
<a name="l00032"></a><a class="code" href="classcontact.html">00032</a> <span class="keyword">class </span><a class="code" href="classcontact.html">contact</a> <span class="keyword">extends</span> <a class="code" href="classfiche.html">fiche</a>
<a name="l00033"></a>00033 {
<a name="l00034"></a><a class="code" href="classcontact.html#o0">00034</a> var <a class="code" href="classcontact.html#o0">$company</a>;
<a name="l00036"></a><a class="code" href="classcontact.html#a0">00036</a> function <a class="code" href="classcontact.html#a0">contact</a>($p_cn,$p_id=0)
<a name="l00037"></a>00037 {
<a name="l00038"></a>00038 $this-&gt;<a class="code" href="classfiche__def__ref.html">fiche_def_ref</a>=<a class="code" href="constant_8php.html#a66">FICHE_TYPE_CONTACT</a>;
<a name="l00039"></a>00039 <a class="code" href="classfiche.html#a0">fiche::fiche</a>($p_cn,$p_id) ;
<a name="l00040"></a>00040 $this-&gt;company=<span class="stringliteral">""</span>;
<a name="l00041"></a>00041 }
<a name="l00050"></a><a class="code" href="classcontact.html#a1">00050</a> function <a class="code" href="classcontact.html#a1">Summary</a>($p_search)
<a name="l00051"></a>00051 {
<a name="l00052"></a>00052 $p_search=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($p_search);
<a name="l00053"></a>00053 $extra_sql=<span class="stringliteral">""</span>;
<a name="l00054"></a>00054 <span class="keywordflow">if</span> ( $this-&gt;company != <span class="stringliteral">""</span>)
<a name="l00055"></a>00055 {
<a name="l00056"></a>00056 $extra_sql=<span class="stringliteral">"and f_id in (select f_id from jnt_fic_att_value join </span>
<a name="l00057"></a>00057 <span class="stringliteral">attr_value using (jft_id) where av_text='"</span>.$this-&gt;company.<span class="stringliteral">"' and ad_id="</span>.<a class="code" href="constant_8php.html#a60">ATTR_DEF_COMPANY</a>.<span class="stringliteral">") "</span>;
<a name="l00058"></a>00058 }
<a name="l00059"></a>00059 <a class="code" href="client_8inc_8php.html#a3">$url</a>=urlencode($_SERVER['REQUEST_URI']);
<a name="l00060"></a>00060 $script=$_SERVER['SCRIPT_NAME'];
<a name="l00061"></a>00061 <span class="comment">// Creation of the nav bar</span>
<a name="l00062"></a>00062 <span class="comment">// Get the max numberRow</span>
<a name="l00063"></a>00063 $all_contact=$this-&gt;<a class="code" href="classfiche.html#a5">CountByDef</a>($this-&gt;fiche_def_ref,$p_search,$extra_sql);
<a name="l00064"></a>00064 <span class="comment">// Get offset and page variable</span>
<a name="l00065"></a>00065 <a class="code" href="facture_8inc_8php.html#a14">$offset</a>=( isset ($_REQUEST['offset'] )) ?$_REQUEST['offset']:0;
<a name="l00066"></a>00066 <a class="code" href="facture_8inc_8php.html#a13">$page</a>=(isset($_REQUEST['page']))?$_REQUEST['page']:1;
<a name="l00067"></a>00067 <a class="code" href="facture_8inc_8php.html#a16">$bar</a>=<a class="code" href="user__common_8php.html#a16">jrn_navigation_bar</a>($offset,$all_contact,$_SESSION['g_pagesize'],$page);
<a name="l00068"></a>00068 <span class="comment">// set a filter ?</span>
<a name="l00069"></a>00069 <a class="code" href="client_8inc_8php.html#a8">$search</a>=<span class="stringliteral">""</span>;
<a name="l00070"></a>00070 <span class="keywordflow">if</span> ( trim($p_search) != <span class="stringliteral">""</span> )
<a name="l00071"></a>00071 {
<a name="l00072"></a>00072 <a class="code" href="client_8inc_8php.html#a8">$search</a>=<span class="stringliteral">" and f_id in</span>
<a name="l00073"></a>00073 <span class="stringliteral">(select f_id from jnt_fic_att_value </span>
<a name="l00074"></a>00074 <span class="stringliteral"> join fiche using (f_id) </span>
<a name="l00075"></a>00075 <span class="stringliteral"> join attr_value using (jft_id)</span>
<a name="l00076"></a>00076 <span class="stringliteral"> where</span>
<a name="l00077"></a>00077 <span class="stringliteral"> ad_id=1 and av_text ~* '$p_search') "</span>;
<a name="l00078"></a>00078 }
<a name="l00079"></a>00079 <span class="comment">// Get The result Array</span>
<a name="l00080"></a>00080 $step_contact=$this-&gt;<a class="code" href="classfiche.html#a17">GetAll</a>($offset,$search.$extra_sql);
<a name="l00081"></a>00081 <span class="keywordflow">if</span> ( $all_contact == 0 ) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00082"></a>00082 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="facture_8inc_8php.html#a16">$bar</a>;
<a name="l00083"></a>00083 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;<a class="code" href="balance_8php.html#a3">table</a>&gt;
<a name="l00084"></a>00084 &lt;TR style=<span class="stringliteral">"background-color:lightgrey;"</span>&gt;
<a name="l00085"></a>00085 &lt;th&gt;Nom&lt;/th&gt;
<a name="l00086"></a>00086 &lt;th&gt;Téléphone&lt;/th&gt;
<a name="l00087"></a>00087 &lt;th&gt;email&lt;/th&gt;
<a name="l00088"></a>00088 &lt;th&gt;Fax&lt;/th&gt;
<a name="l00089"></a>00089 &lt;th&gt;Société&lt;/th&gt;
<a name="l00090"></a>00090 &lt;/TR&gt;';
<a name="l00091"></a>00091 $base=$_SERVER['SCRIPT_NAME'];
<a name="l00092"></a>00092 <span class="comment">// Compute the url</span>
<a name="l00093"></a>00093 <a class="code" href="client_8inc_8php.html#a3">$url</a>=<span class="stringliteral">""</span>;
<a name="l00094"></a>00094 $and=<span class="stringliteral">"?"</span>;
<a name="l00095"></a>00095 $get=$_GET;
<a name="l00096"></a>00096 <span class="keywordflow">if</span> ( isset ($get) ) {
<a name="l00097"></a>00097 foreach ($get as $<a class="code" href="client_8inc_8php.html#a5">name</a>=&gt;$<a class="code" href="client_8inc_8php.html#a6">value</a> ) {
<a name="l00098"></a>00098 <span class="comment">// we clean the parameter offset, step, page and size</span>
<a name="l00099"></a>00099 <span class="keywordflow">if</span> ( ! in_array($<a class="code" href="client_8inc_8php.html#a5">name</a>,array('<a class="code" href="facture_8inc_8php.html#a18">f_id</a><span class="charliteral">','</span>detail'))) {
<a name="l00100"></a>00100 <a class="code" href="client_8inc_8php.html#a3">$url</a>.=$and.$name.<span class="stringliteral">"="</span>.$value;
<a name="l00101"></a>00101 $and=<span class="stringliteral">"&amp;"</span>;
<a name="l00102"></a>00102 }<span class="comment">// if</span>
<a name="l00103"></a>00103 }<span class="comment">//foreach</span>
<a name="l00104"></a>00104 }<span class="comment">// if</span>
<a name="l00105"></a>00105
<a name="l00106"></a>00106 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span> ($step_contact ) == 0 )
<a name="l00107"></a>00107 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00108"></a>00108 foreach ($step_contact as $<a class="code" href="classcontact.html">contact</a> ) {
<a name="l00109"></a>00109 $l_company=<span class="keyword">new</span> <a class="code" href="classfiche.html#a0">fiche</a>($this-&gt;cn);
<a name="l00110"></a>00110 $l_company-&gt;GetByQCode($contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a60">ATTR_DEF_COMPANY</a>),<span class="keyword">false</span>);
<a name="l00111"></a>00111 $l_company_name=$l_company-&gt;strAttribut(<a class="code" href="constant_8php.html#a49">ATTR_DEF_NAME</a>);
<a name="l00112"></a>00112 <span class="keywordflow">if</span> ( $l_company_name == '- <a class="code" href="constant_8php.html#a38">ERROR</a> -' ) $l_company_name=<span class="stringliteral">""</span>;
<a name="l00113"></a>00113 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TR&gt;"</span>;
<a name="l00114"></a>00114 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;TD&gt;&lt;A HREF=<span class="stringliteral">"'.$url."</span>&amp;sa=detail&amp;<a class="code" href="facture_8inc_8php.html#a18">f_id</a>=<span class="stringliteral">".$contact-&gt;id."</span>\<span class="stringliteral">"&gt;"</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a49">ATTR_DEF_NAME</a>).<span class="stringliteral">"&lt;/A&gt;&lt;/TD&gt;"</span>;
<a name="l00115"></a>00115 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a58">ATTR_DEF_TEL</a>).<span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00116"></a>00116 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a59">ATTR_DEF_EMAIL</a>).<span class="stringliteral">"&lt;/TD&gt;"</span>.
<a name="l00117"></a>00117 <span class="stringliteral">"&lt;TD&gt; "</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a61">ATTR_DEF_FAX</a>).<span class="stringliteral">"&lt;/TD&gt;"</span>.
<a name="l00118"></a>00118 <span class="stringliteral">"&lt;TD&gt; "</span>.$l_company_name.
<a name="l00119"></a>00119 <span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00120"></a>00120
<a name="l00121"></a>00121 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/TR&gt;"</span>;
<a name="l00122"></a>00122
<a name="l00123"></a>00123 }
<a name="l00124"></a>00124 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/TABLE&gt;"</span>;
<a name="l00125"></a>00125 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="facture_8inc_8php.html#a16">$bar</a>;
<a name="l00126"></a>00126 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00127"></a>00127 }
<a name="l00128"></a>00128
<a name="l00129"></a>00129 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<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>

View file

@ -0,0 +1,30 @@
<!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/class_contact.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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000006.html">include</a></div>
<h1>class_contact.php File Reference</h1>class for the contact, contact are derived from ficheContact are a card which are own by a another card (customer, supplier...) <a href="#_details">More...</a>
<p>
<p>
<a href="class__contact_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>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcontact.html">contact</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class contact (customer, supplier...). <a href="classcontact.html#_details">More...</a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
class for the contact, contact are derived from ficheContact are a card which are own by a another card (customer, supplier...)
<p>
<p>
Definition in file <a class="el" href="class__contact_8php-source.html">class_contact.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<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>

View file

@ -242,7 +242,7 @@
<a name="l00268"></a>00268 } <a name="l00268"></a>00268 }
<a name="l00269"></a>00269 <a name="l00269"></a>00269
<a name="l00270"></a>00270 ?&gt; <a name="l00270"></a>00270 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -23,7 +23,7 @@ Derived from class fiche <a class="el" href="classCustomer.html">Customer</a> ar
<p> <p>
<p> <p>
Definition in file <a class="el" href="class__customer_8php-source.html">class_customer.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__customer_8php-source.html">class_customer.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -0,0 +1,512 @@
<!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/class_document.php Source File</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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000006.html">include</a></div>
<h1>class_document.php</h1><a href="class__document_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?
<a name="l00002"></a>00002 <span class="comment">/*</span>
<a name="l00003"></a>00003 <span class="comment"> * This file is part of PhpCompta.</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * PhpCompta is free software; you can redistribute it and/or modify</span>
<a name="l00006"></a>00006 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
<a name="l00007"></a>00007 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00008"></a>00008 <span class="comment"> * (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * PhpCompta is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
<a name="l00013"></a>00013 <span class="comment"> * GNU General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
<a name="l00016"></a>00016 <span class="comment"> * along with PhpCompta; if not, write to the Free Software</span>
<a name="l00017"></a>00017 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
<a name="l00018"></a>00018 <span class="comment">*/</span>
<a name="l00019"></a>00019 <span class="comment">/* $Revision$ */</span>
<a name="l00020"></a>00020 <span class="comment">// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr</span>
<a name="l00021"></a>00021 require_once('class_own.php');
<a name="l00027"></a><a class="code" href="classDocument.html">00027</a> <span class="keyword">class </span><a class="code" href="classDocument.html">Document</a>
<a name="l00028"></a>00028 {
<a name="l00029"></a><a class="code" href="classDocument.html#o0">00029</a> var <a class="code" href="classDocument.html#o0">$db</a>;
<a name="l00031"></a><a class="code" href="classDocument.html#o1">00031</a> var <a class="code" href="classDocument.html#o1">$ag_id</a>;
<a name="l00032"></a><a class="code" href="classDocument.html#o2">00032</a> var <a class="code" href="classDocument.html#o2">$d_mimetype</a>;
<a name="l00033"></a><a class="code" href="classDocument.html#o3">00033</a> var <a class="code" href="classDocument.html#o3">$d_filename</a>;
<a name="l00034"></a><a class="code" href="classDocument.html#o4">00034</a> var <a class="code" href="classDocument.html#o4">$d_lob</a>;
<a name="l00035"></a><a class="code" href="classDocument.html#o5">00035</a> var <a class="code" href="classDocument.html#o5">$d_number</a>;
<a name="l00036"></a><a class="code" href="classDocument.html#o6">00036</a> var <a class="code" href="classDocument.html#o6">$md_id</a>;
<a name="l00037"></a>00037 <span class="comment">/* Constructor</span>
<a name="l00038"></a>00038 <span class="comment"> * \param $p_cn Database connection</span>
<a name="l00039"></a>00039 <span class="comment"> */</span>
<a name="l00040"></a><a class="code" href="classDocument.html#a0">00040</a> function <a class="code" href="classDocument.html#a0">Document</a>($p_cn,$p_d_id=0)
<a name="l00041"></a>00041 {
<a name="l00042"></a>00042 $this-&gt;db=$p_cn;
<a name="l00043"></a>00043 $this-&gt;d_id=$p_d_id;
<a name="l00044"></a>00044 }
<a name="l00055"></a><a class="code" href="classDocument.html#a1">00055</a> function <a class="code" href="classDocument.html#a1">Generate</a>()
<a name="l00056"></a>00056 {
<a name="l00057"></a>00057 <span class="comment">// create a temp directory in /tmp to unpack file and to parse it</span>
<a name="l00058"></a>00058 $dirname=tempnam('/tmp<span class="charliteral">','</span>doc_');
<a name="l00059"></a>00059 echo $dirname;
<a name="l00060"></a>00060 unlink($dirname);
<a name="l00061"></a>00061 mkdir ($dirname);
<a name="l00062"></a>00062 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_action',__LINE__,<span class="stringliteral">"Dirname is $dirname"</span>);
<a name="l00063"></a>00063 <span class="comment">// Retrieve the lob and save it into $dirname</span>
<a name="l00064"></a>00064 <a class="code" href="postgres_8php.html#a14">StartSql</a>($this-&gt;db);
<a name="l00065"></a>00065 $dm_info=<span class="stringliteral">"select md_lob,md_filename,md_mimetype </span>
<a name="l00066"></a>00066 <span class="stringliteral"> from document_modele where md_id="</span>.$this-&gt;md_id;
<a name="l00067"></a>00067 <a class="code" href="eub__be_8inc_8php.html#a5">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$dm_info);
<a name="l00068"></a>00068
<a name="l00069"></a>00069 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_array($Res,0);
<a name="l00070"></a>00070 $this-&gt;d_lob=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['md_lob'];
<a name="l00071"></a>00071 $this-&gt;d_filename=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['md_filename'];
<a name="l00072"></a>00072 $this-&gt;d_mimetype=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['md_mimetype'];
<a name="l00073"></a>00073
<a name="l00074"></a>00074 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document',__LINE__,<span class="stringliteral">"OID is "</span>.$row['md_lob']);
<a name="l00076"></a>00076 chdir($dirname);
<a name="l00077"></a>00077 $filename=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['md_filename'];
<a name="l00078"></a>00078 pg_lo_export($this-&gt;db,$row['md_lob'],$filename);
<a name="l00079"></a>00079
<a name="l00080"></a>00080 <span class="comment">// if the doc is a OOo, we need to unzip it first</span>
<a name="l00081"></a>00081 <span class="comment">// and the name of the file to change is always content.xml</span>
<a name="l00082"></a>00082 <span class="keywordflow">if</span> ( substr($row['md_mimetype'],'vnd.oasis') != 0 )
<a name="l00083"></a>00083 {
<a name="l00084"></a>00084 system(<span class="stringliteral">"unzip "</span>.$filename);
<a name="l00085"></a>00085 <span class="comment">// Remove the file we do not need anymore</span>
<a name="l00086"></a>00086 unlink($filename);
<a name="l00087"></a>00087 $file_to_parse=<span class="stringliteral">"content.xml"</span>;
<a name="l00088"></a>00088 }
<a name="l00089"></a>00089 <span class="keywordflow">else</span>
<a name="l00090"></a>00090 $file_to_parse=$filename;
<a name="l00091"></a>00091 <span class="comment">// affect a number</span>
<a name="l00092"></a>00092 $this-&gt;d_number=<a class="code" href="postgres_8php.html#a13">NextSequence</a>($this-&gt;db,<span class="stringliteral">"seq_doc_type_"</span>.$this-&gt;md_id);
<a name="l00093"></a>00093
<a name="l00094"></a>00094
<a name="l00095"></a>00095 <span class="comment">// parse the document - return the doc number ?</span>
<a name="l00096"></a>00096 $this-&gt;<a class="code" href="classDocument.html#a2">ParseDocument</a>($dirname,$file_to_parse);
<a name="l00097"></a>00097
<a name="l00098"></a>00098 <a class="code" href="postgres_8php.html#a16">Commit</a>($this-&gt;db);
<a name="l00099"></a>00099 <span class="comment">// if the doc is a OOo, we need to re-zip it </span>
<a name="l00100"></a>00100 <span class="keywordflow">if</span> ( substr($row['md_mimetype'],'vnd.oasis') != 0 )
<a name="l00101"></a>00101 {
<a name="l00102"></a>00102 system (<span class="stringliteral">"zip -r "</span>.$filename.<span class="stringliteral">" *"</span>);
<a name="l00103"></a>00103 $file_to_parse=$filename;
<a name="l00104"></a>00104 }
<a name="l00105"></a>00105 <span class="comment">// Create a directory </span>
<a name="l00106"></a>00106 mkdir ($_SERVER['DOCUMENT_ROOT'].$dirname);
<a name="l00107"></a>00107
<a name="l00108"></a>00108 <span class="comment">// we need to rename the new generated file</span>
<a name="l00109"></a>00109 rename($dirname.<span class="stringliteral">"/"</span>.$file_to_parse,$_SERVER['DOCUMENT_ROOT'].$dirname.<span class="charliteral">'/'</span>.$file_to_parse);
<a name="l00110"></a>00110 <a class="code" href="class__operation_8php.html#a4">$ret</a>=sprintf('&lt;A HREF=<span class="stringliteral">"%s"</span>&gt;<a class="code" href="classDocument.html">Document</a> généré&lt;/A&gt;',
<a name="l00111"></a>00111 $dirname.<span class="charliteral">'/'</span>.$file_to_parse);
<a name="l00112"></a>00112 $this-&gt;<a class="code" href="classDocument.html#a3">SaveGenerated</a>($_SERVER['DOCUMENT_ROOT'].$dirname.<span class="stringliteral">"/"</span>.$file_to_parse);
<a name="l00113"></a>00113 <span class="keywordflow">return</span> <a class="code" href="class__operation_8php.html#a4">$ret</a>;
<a name="l00114"></a>00114 }
<a name="l00115"></a>00115
<a name="l00125"></a><a class="code" href="classDocument.html#a2">00125</a> function <a class="code" href="classDocument.html#a2">ParseDocument</a>($p_dir,$p_file)
<a name="l00126"></a>00126 {
<a name="l00127"></a>00127
<a name="l00128"></a>00128
<a name="l00129"></a>00129
<a name="l00136"></a>00136 <span class="comment">// open the document</span>
<a name="l00137"></a>00137 $infile_name=$p_dir.<span class="stringliteral">"/"</span>.$p_file;
<a name="l00138"></a>00138 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_document.php"</span>,__LINE__,<span class="stringliteral">"Open the document $p_dir/$p_file"</span>);
<a name="l00139"></a>00139 <a class="code" href="poste_8inc_8php.html#a8">$h</a>=fopen($infile_name,<span class="stringliteral">"r"</span>);
<a name="l00140"></a>00140 $output_name=tempnam($_SERVER[<span class="stringliteral">"DOCUMENT_ROOT"</span>].<span class="stringliteral">"/tmp"</span>,<span class="stringliteral">"gen_doc_"</span>);
<a name="l00141"></a>00141 $output_file=fopen($output_name,<span class="stringliteral">"w+"</span>);
<a name="l00142"></a>00142 <span class="comment">// check if the opening is sucessfull</span>
<a name="l00143"></a>00143 <span class="keywordflow">if</span> ( $h == <span class="keyword">false</span> )
<a name="l00144"></a>00144 {
<a name="l00145"></a>00145 echo <span class="stringliteral">"cannot open $p_dir $p_file "</span>;
<a name="l00146"></a>00146 <a class="code" href="balance_8php.html#a0">exit</a>();
<a name="l00147"></a>00147 }
<a name="l00148"></a>00148 <span class="keywordflow">if</span> ( $output_file == <span class="keyword">false</span>)
<a name="l00149"></a>00149 {
<a name="l00150"></a>00150 echo <span class="stringliteral">"ne peut pas ouvrir le fichier de sortie"</span>;
<a name="l00151"></a>00151 <a class="code" href="balance_8php.html#a0">exit</a>();
<a name="l00152"></a>00152 }
<a name="l00153"></a>00153 <span class="comment">//read the file</span>
<a name="l00154"></a>00154 <span class="keywordflow">while</span>(! feof($h))
<a name="l00155"></a>00155 {
<a name="l00156"></a>00156 <span class="comment">// replace the tag</span>
<a name="l00157"></a>00157 $buffer=fgets($h);
<a name="l00158"></a>00158 <span class="comment">// search in the buffer the magic &lt;&lt; and &gt;&gt;</span>
<a name="l00159"></a>00159 <span class="comment">// while ereg finds something to replace</span>
<a name="l00160"></a>00160 <span class="keywordflow">while</span> ( ereg (<span class="stringliteral">"&lt;&lt;[A-Z]+_*[A-Z]*_*[A-Z]*_*[0-9]*&gt;&gt;"</span>,$buffer,$f) )
<a name="l00161"></a>00161 {
<a name="l00162"></a>00162
<a name="l00163"></a>00163 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document',__LINE__,var_export( $f,<span class="keyword">true</span>));
<a name="l00164"></a>00164 foreach ( $f as $pattern )
<a name="l00165"></a>00165 {
<a name="l00166"></a>00166 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document',__LINE__, <span class="stringliteral">"pattern"</span>);
<a name="l00167"></a>00167 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document',__LINE__, var_export($pattern,<span class="keyword">true</span>));
<a name="l00168"></a>00168 $to_remove=$pattern;
<a name="l00169"></a>00169 <span class="comment">// we remove the &lt; and &gt; from the pattern</span>
<a name="l00170"></a>00170 $pattern=str_replace(<span class="charliteral">'&lt;'</span>,'',$pattern);
<a name="l00171"></a>00171 $pattern=str_replace(<span class="charliteral">'&gt;'</span>,'',$pattern);
<a name="l00172"></a>00172
<a name="l00173"></a>00173
<a name="l00174"></a>00174 <span class="comment">// if the pattern if found we replace it</span>
<a name="l00175"></a>00175 $value=$this-&gt;<a class="code" href="classDocument.html#a7">Replace</a>($pattern);
<a name="l00176"></a>00176 <span class="comment">// replace into the $buffer</span>
<a name="l00177"></a>00177 $buffer=str_replace($to_remove,$<a class="code" href="client_8inc_8php.html#a6">value</a>,$buffer);
<a name="l00178"></a>00178 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document',__LINE__, $buffer);
<a name="l00179"></a>00179 <span class="comment">// if the pattern if found we replace it</span>
<a name="l00180"></a>00180 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document',__LINE__,<span class="stringliteral">"Transform $pattern by $value"</span>);
<a name="l00181"></a>00181 }
<a name="l00182"></a>00182 }
<a name="l00183"></a>00183 <span class="comment">// write into the output_file</span>
<a name="l00184"></a>00184 fwrite($output_file,$buffer);
<a name="l00185"></a>00185
<a name="l00186"></a>00186 }
<a name="l00187"></a>00187 fclose($h);
<a name="l00188"></a>00188 fclose($output_file);
<a name="l00189"></a>00189 rename ($output_name,$infile_name);
<a name="l00190"></a>00190 <span class="comment">// Save the document into the database</span>
<a name="l00191"></a>00191
<a name="l00192"></a>00192 }
<a name="l00200"></a><a class="code" href="classDocument.html#a3">00200</a> function <a class="code" href="classDocument.html#a3">SaveGenerated</a>($p_file)
<a name="l00201"></a>00201 {
<a name="l00202"></a>00202 <span class="comment">// We save the generated file</span>
<a name="l00203"></a>00203 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>=<span class="keyword">new</span> <a class="code" href="classDocument.html#a0">Document</a>($this-&gt;db);
<a name="l00204"></a>00204 <a class="code" href="postgres_8php.html#a14">StartSql</a>($this-&gt;db);
<a name="l00205"></a>00205 $this-&gt;d_lob=pg_lo_import($this-&gt;db,$p_file);
<a name="l00206"></a>00206 <span class="keywordflow">if</span> ( $this-&gt;d_lob == <span class="keyword">false</span> ) {
<a name="l00207"></a>00207 <a class="code" href="postgres_8php.html#a17">Rollback</a>($this-&gt;db); <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document',__LINE__,<span class="stringliteral">"can't save file $p_file"</span>);
<a name="l00208"></a>00208 <span class="keywordflow">return</span> 1; }
<a name="l00209"></a>00209
<a name="l00210"></a>00210 <a class="code" href="facture_8inc_8php.html#a1">$sql</a>=sprintf(<span class="stringliteral">"insert into document(ag_id,d_lob,d_number,d_filename,d_mimetype) </span>
<a name="l00211"></a>00211 <span class="stringliteral"> values (%d,%s,%d,'%s','%s')"</span>,
<a name="l00212"></a>00212 $this-&gt;ag_id,
<a name="l00213"></a>00213 $this-&gt;d_lob,
<a name="l00214"></a>00214 $this-&gt;d_number,
<a name="l00215"></a>00215 $this-&gt;d_filename,
<a name="l00216"></a>00216 $this-&gt;d_mimetype
<a name="l00217"></a>00217 );
<a name="l00218"></a>00218 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql);
<a name="l00219"></a>00219 $this-&gt;d_id=<a class="code" href="postgres_8php.html#a12">GetSequence</a>($this-&gt;db,<span class="stringliteral">"document_d_id_seq"</span>);
<a name="l00220"></a>00220
<a name="l00221"></a>00221 <a class="code" href="postgres_8php.html#a16">Commit</a>($this-&gt;db);
<a name="l00222"></a>00222 <span class="keywordflow">return</span> 0;
<a name="l00223"></a>00223 }
<a name="l00231"></a><a class="code" href="classDocument.html#a4">00231</a> function <a class="code" href="classDocument.html#a4">Upload</a>()
<a name="l00232"></a>00232 {
<a name="l00233"></a>00233
<a name="l00234"></a>00234 <span class="comment">// Start Transaction</span>
<a name="l00235"></a>00235 <a class="code" href="postgres_8php.html#a14">StartSql</a>($this-&gt;db);
<a name="l00236"></a>00236 $new_name=tempnam('/tmp<span class="charliteral">','</span>doc_');
<a name="l00237"></a>00237 var_dump($_FILES);
<a name="l00238"></a>00238 <span class="comment">// nothing to save</span>
<a name="l00239"></a>00239 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span>($_FILES) == 0 ) <span class="keywordflow">return</span>;
<a name="l00240"></a>00240 <span class="comment">// check if a file is submitted</span>
<a name="l00241"></a>00241 <span class="keywordflow">if</span> ( strlen($_FILES['file_upload']['tmp_name']) != 0 )
<a name="l00242"></a>00242 {
<a name="l00243"></a>00243 <span class="comment">// upload the file and move it to temp directory</span>
<a name="l00244"></a>00244 <span class="keywordflow">if</span> ( move_uploaded_file($_FILES['file_upload']['tmp_name'],$new_name))
<a name="l00245"></a>00245 {
<a name="l00246"></a>00246 $oid=pg_lo_import($this-&gt;db,$new_name);
<a name="l00247"></a>00247 <span class="comment">// check if the lob is in the database</span>
<a name="l00248"></a>00248 <span class="keywordflow">if</span> ( $oid == <span class="keyword">false</span> )
<a name="l00249"></a>00249 {
<a name="l00250"></a>00250 <a class="code" href="postgres_8php.html#a17">Rollback</a>($this-&gt;db);
<a name="l00251"></a>00251 <span class="keywordflow">return</span> 1;
<a name="l00252"></a>00252 }
<a name="l00253"></a>00253 }
<a name="l00254"></a>00254 <span class="comment">// the upload in the database is successfull</span>
<a name="l00255"></a>00255 $this-&gt;d_lob=$oid;
<a name="l00256"></a>00256 $this-&gt;d_filename=$_FILES['file_upload']['<a class="code" href="client_8inc_8php.html#a5">name</a>'];
<a name="l00257"></a>00257 $this-&gt;d_mimetype=$_FILES['file_upload']['type'];
<a name="l00258"></a>00258 <span class="comment">// now we have to update the col.</span>
<a name="l00259"></a>00259 <span class="comment">// We retrieve the row to remove a possible existing lob (replace)</span>
<a name="l00260"></a>00260 <a class="code" href="facture_8inc_8php.html#a1">$sql</a>=<span class="stringliteral">"select d_lob from document where d_id="</span>.$this-&gt;d_id;
<a name="l00261"></a>00261 <a class="code" href="class__operation_8php.html#a4">$ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql);
<a name="l00262"></a>00262
<a name="l00263"></a>00263 <span class="keywordflow">if</span> (pg_num_rows($ret) != 0)
<a name="l00264"></a>00264 {
<a name="l00265"></a>00265 <span class="comment">// a result is found, the old oid is keept in order to</span>
<a name="l00266"></a>00266 <span class="comment">// remove it later</span>
<a name="l00267"></a>00267 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($ret,0) ;
<a name="l00268"></a>00268 <a class="code" href="modify__op_8php.html#a6">$old_oid</a>=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['d_lob'] ;
<a name="l00269"></a>00269 <span class="keywordflow">if</span> (strlen($old_oid) != 0) { pg_lo_unlink ($this-&gt;db,$old_oid);}
<a name="l00270"></a>00270 }
<a name="l00271"></a>00271 <span class="comment">// Update the table</span>
<a name="l00272"></a>00272 <a class="code" href="facture_8inc_8php.html#a1">$sql</a>=sprintf(<span class="stringliteral">"update document set d_lob=%s,d_filename='%s',d_mimetype='%s' where d_id=%d"</span>,
<a name="l00273"></a>00273 $this-&gt;d_lob,$this-&gt;d_filename,$this-&gt;d_mimetype,$this-&gt;d_id);
<a name="l00274"></a>00274 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql);
<a name="l00275"></a>00275 <a class="code" href="postgres_8php.html#a16">Commit</a>($this-&gt;db);
<a name="l00276"></a>00276 }
<a name="l00277"></a>00277
<a name="l00278"></a>00278 }
<a name="l00284"></a><a class="code" href="classDocument.html#a5">00284</a> function <a class="code" href="classDocument.html#a5">a_ref</a>()
<a name="l00285"></a>00285 {
<a name="l00286"></a>00286 <span class="keywordflow">if</span> ( $this-&gt;d_id == 0 )
<a name="l00287"></a>00287 <span class="keywordflow">return</span> '';
<a name="l00288"></a>00288 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">""</span>;
<a name="l00289"></a>00289 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;A HREF=<span class="stringliteral">"show_document.php?d_id='.$this-&gt;d_id.'"</span>&gt;<a class="code" href="classDocument.html">Document</a>&lt;/A&gt;';
<a name="l00290"></a>00290 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00291"></a>00291 }
<a name="l00292"></a>00292 <span class="comment">/* ! Get</span>
<a name="l00293"></a>00293 <span class="comment"> * \brief Retrieve the document</span>
<a name="l00294"></a>00294 <span class="comment"> */</span>
<a name="l00295"></a><a class="code" href="classDocument.html#a6">00295</a> function <a class="code" href="classDocument.html#a6">Get</a>()
<a name="l00296"></a>00296 {
<a name="l00297"></a>00297 <span class="comment">// retrieve the template and generate document</span>
<a name="l00298"></a>00298 <a class="code" href="postgres_8php.html#a14">StartSql</a>($this-&gt;db);
<a name="l00299"></a>00299 <a class="code" href="class__operation_8php.html#a4">$ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,
<a name="l00300"></a>00300 <span class="stringliteral">"select d_id,d_lob,d_filename,d_mimetype from document where d_id="</span>.$this-&gt;d_id );
<a name="l00301"></a>00301 <span class="keywordflow">if</span> ( pg_num_rows ($ret) == 0 )
<a name="l00302"></a>00302 <span class="keywordflow">return</span>;
<a name="l00303"></a>00303 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_array($ret,0);
<a name="l00304"></a>00304 <span class="comment">//the document is saved into file $tmp</span>
<a name="l00305"></a>00305 <a class="code" href="show__document__modele_8php.html#a5">$tmp</a>=tempnam('/tmp/<span class="charliteral">','</span>document_');
<a name="l00306"></a>00306 pg_lo_export($this-&gt;db,$row['d_lob'],$tmp);
<a name="l00307"></a>00307 $this-&gt;d_mimetype=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['d_mimetype'];
<a name="l00308"></a>00308 $this-&gt;d_filename=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['d_filename'];
<a name="l00309"></a>00309
<a name="l00310"></a>00310 <span class="comment">// send it to stdout</span>
<a name="l00311"></a>00311 ini_set('zlib.output_compression<span class="charliteral">','</span>Off');
<a name="l00312"></a>00312 header(<span class="stringliteral">"Pragma: public"</span>);
<a name="l00313"></a>00313 header(<span class="stringliteral">"Expires: Mon, 26 Jul 1997 05:00:00 GMT"</span>);
<a name="l00314"></a>00314 header(<span class="stringliteral">"Last-Modified: "</span> . gmdate(<span class="stringliteral">"D, d M Y H:i:s"</span>) . <span class="stringliteral">" GMT"</span>);
<a name="l00315"></a>00315 header(<span class="stringliteral">"Cache-Control: must-revalidate"</span>);
<a name="l00316"></a>00316 header('Content-type: <span class="stringliteral">"'.$this-&gt;d_mimetype.'"</span>');
<a name="l00317"></a>00317 header('Content-Disposition: attachment;filename=<span class="stringliteral">"'.$this-&gt;d_filename.'"</span>',FALSE);
<a name="l00318"></a>00318 header(<span class="stringliteral">"Accept-Ranges: bytes"</span>);
<a name="l00319"></a>00319 <a class="code" href="show__document__modele_8php.html#a6">$file</a>=fopen($tmp,<span class="charliteral">'r'</span>);
<a name="l00320"></a>00320 <span class="keywordflow">while</span> ( !feof ($file) )
<a name="l00321"></a>00321 {
<a name="l00322"></a>00322 echo fread($file,8192);
<a name="l00323"></a>00323 }
<a name="l00324"></a>00324 fclose($file);
<a name="l00325"></a>00325
<a name="l00326"></a>00326 unlink ($tmp);
<a name="l00327"></a>00327
<a name="l00328"></a>00328 <a class="code" href="postgres_8php.html#a16">Commit</a>($this-&gt;db);
<a name="l00329"></a>00329
<a name="l00330"></a>00330 }
<a name="l00363"></a><a class="code" href="classDocument.html#a7">00363</a> function <a class="code" href="classDocument.html#a7">Replace</a>($p_tag)
<a name="l00364"></a>00364 {
<a name="l00365"></a>00365 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"Tag inconnu"</span>;
<a name="l00366"></a>00366 <span class="keyword">static</span> $counter=0;
<a name="l00367"></a>00367 <span class="keywordflow">switch</span> ($p_tag)
<a name="l00368"></a>00368 {
<a name="l00369"></a>00369 <span class="keywordflow">case</span> 'DATE':
<a name="l00370"></a>00370 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=' Date inconnue ';
<a name="l00371"></a>00371 <span class="comment">// Date are in $_REQUEST['ag_date'] </span>
<a name="l00372"></a>00372 <span class="comment">// or $_POST['e_date']</span>
<a name="l00373"></a>00373 <span class="keywordflow">if</span> ( isset ($_REQUEST['ag_date']))
<a name="l00374"></a>00374 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$_REQUEST['ag_date'];
<a name="l00375"></a>00375 <span class="keywordflow">if</span> ( isset ($_REQUEST['e_date']))
<a name="l00376"></a>00376 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$_REQUEST['e_date'];
<a name="l00377"></a>00377
<a name="l00378"></a>00378 <span class="keywordflow">break</span>;
<a name="l00379"></a>00379 <span class="comment">//</span>
<a name="l00380"></a>00380 <span class="comment">// the company priv</span>
<a name="l00381"></a>00381
<a name="l00382"></a>00382 <span class="keywordflow">case</span> '<a class="code" href="parametre_8php.html#a8">MY_NAME</a>':
<a name="l00383"></a>00383 <a class="code" href="parametre_8php.html#a14">$my</a>=<span class="keyword">new</span> own($this-&gt;db);
<a name="l00384"></a>00384 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="parametre_8php.html#a14">$my</a>-&gt;MY_NAME;
<a name="l00385"></a>00385 <span class="keywordflow">break</span>;
<a name="l00386"></a>00386 <span class="keywordflow">case</span> '<a class="code" href="parametre_8php.html#a12">MY_CP</a>':
<a name="l00387"></a>00387 <a class="code" href="parametre_8php.html#a14">$my</a>=<span class="keyword">new</span> own($this-&gt;db);
<a name="l00388"></a>00388 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="parametre_8php.html#a14">$my</a>-&gt;MY_CP;
<a name="l00389"></a>00389 <span class="keywordflow">break</span>;
<a name="l00390"></a>00390 <span class="keywordflow">case</span> '<a class="code" href="parametre_8php.html#a13">MY_COMMUNE</a>':
<a name="l00391"></a>00391 <a class="code" href="parametre_8php.html#a14">$my</a>=<span class="keyword">new</span> own($this-&gt;db);
<a name="l00392"></a>00392 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="parametre_8php.html#a14">$my</a>-&gt;MY_COMMUNE;
<a name="l00393"></a>00393 <span class="keywordflow">break</span>;
<a name="l00394"></a>00394 <span class="keywordflow">case</span> '<a class="code" href="parametre_8php.html#a9">MY_TVA</a>':
<a name="l00395"></a>00395 <a class="code" href="parametre_8php.html#a14">$my</a>=<span class="keyword">new</span> own($this-&gt;db);
<a name="l00396"></a>00396 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="parametre_8php.html#a14">$my</a>-&gt;MY_TVA;
<a name="l00397"></a>00397 <span class="keywordflow">break</span>;
<a name="l00398"></a>00398 <span class="keywordflow">case</span> '<a class="code" href="parametre_8php.html#a10">MY_STREET</a>':
<a name="l00399"></a>00399 <a class="code" href="parametre_8php.html#a14">$my</a>=<span class="keyword">new</span> own($this-&gt;db);
<a name="l00400"></a>00400 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="parametre_8php.html#a14">$my</a>-&gt;MY_STREET;
<a name="l00401"></a>00401 <span class="keywordflow">break</span>;
<a name="l00402"></a>00402 <span class="keywordflow">case</span> '<a class="code" href="parametre_8php.html#a11">MY_NUMBER</a>':
<a name="l00403"></a>00403 <a class="code" href="parametre_8php.html#a14">$my</a>=<span class="keyword">new</span> own($this-&gt;db);
<a name="l00404"></a>00404 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="parametre_8php.html#a14">$my</a>-&gt;MY_NUMBER;
<a name="l00405"></a>00405 <span class="keywordflow">break</span>;
<a name="l00406"></a>00406 <span class="comment">// customer </span>
<a name="l00407"></a>00407 <span class="comment">/*\note The CUST_* are retrieved thx the $_REQUEST['tiers'] </span>
<a name="l00408"></a>00408 <span class="comment"> * which contains the quick_code</span>
<a name="l00409"></a>00409 <span class="comment"> */</span>
<a name="l00410"></a>00410 <span class="keywordflow">case</span> 'CUST_NAME':
<a name="l00411"></a>00411 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00412"></a>00412 <a class="code" href="contact_8inc_8php.html#a7">$qcode</a>=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:$_REQUEST['e_client'];
<a name="l00413"></a>00413 $tiers-&gt;getByQcode($qcode,<span class="keyword">false</span>);
<a name="l00414"></a>00414 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$tiers-&gt;strAttribut(<a class="code" href="constant_8php.html#a49">ATTR_DEF_NAME</a>);
<a name="l00415"></a>00415 <span class="keywordflow">break</span>;
<a name="l00416"></a>00416 <span class="keywordflow">case</span> 'CUST_ADDR_1':
<a name="l00417"></a>00417 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00418"></a>00418 <a class="code" href="contact_8inc_8php.html#a7">$qcode</a>=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:$_REQUEST['e_client'];
<a name="l00419"></a>00419 $tiers-&gt;getByQcode($qcode,<span class="keyword">false</span>);
<a name="l00420"></a>00420 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$tiers-&gt;strAttribut(<a class="code" href="constant_8php.html#a54">ATTR_DEF_ADRESS</a>);
<a name="l00421"></a>00421
<a name="l00422"></a>00422 <a class="code" href="readme_8php.html#a13">break</a> ;
<a name="l00423"></a>00423 <span class="keywordflow">case</span> 'CUST_CP':
<a name="l00424"></a>00424 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00425"></a>00425 <a class="code" href="contact_8inc_8php.html#a7">$qcode</a>=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:$_REQUEST['e_client'];
<a name="l00426"></a>00426 $tiers-&gt;getByQcode($qcode,<span class="keyword">false</span>);
<a name="l00427"></a>00427 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$tiers-&gt;strAttribut(<a class="code" href="constant_8php.html#a55">ATTR_DEF_CP</a>);
<a name="l00428"></a>00428
<a name="l00429"></a>00429 <span class="keywordflow">break</span>;
<a name="l00430"></a>00430 <span class="keywordflow">case</span> 'CUST_CO':
<a name="l00431"></a>00431 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00432"></a>00432 <a class="code" href="contact_8inc_8php.html#a7">$qcode</a>=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:$_REQUEST['e_client'];
<a name="l00433"></a>00433 $tiers-&gt;getByQcode($qcode,<span class="keyword">false</span>);
<a name="l00434"></a>00434 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$tiers-&gt;strAttribut(<a class="code" href="constant_8php.html#a56">ATTR_DEF_PAYS</a>);
<a name="l00435"></a>00435
<a name="l00436"></a>00436 <span class="keywordflow">break</span>;
<a name="l00437"></a>00437 <span class="keywordflow">case</span> 'CUST_VAT':
<a name="l00438"></a>00438 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00439"></a>00439 <a class="code" href="contact_8inc_8php.html#a7">$qcode</a>=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:$_REQUEST['e_client'];
<a name="l00440"></a>00440 $tiers-&gt;getByQcode($qcode,<span class="keyword">false</span>);
<a name="l00441"></a>00441 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$tiers-&gt;strAttribut(<a class="code" href="constant_8php.html#a53">ATTR_DEF_NUMTVA</a>);
<a name="l00442"></a>00442 <span class="keywordflow">break</span>;
<a name="l00443"></a>00443 <span class="comment">// Marchandise in $_POST['e_march*']</span>
<a name="l00444"></a>00444 <span class="comment">// \see user_form_achat.php or user_form_ven.php</span>
<a name="l00445"></a>00445 <span class="keywordflow">case</span> 'NUMBER':
<a name="l00446"></a>00446 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$this-&gt;d_number;
<a name="l00447"></a>00447 <span class="keywordflow">break</span>;
<a name="l00448"></a>00448 <span class="comment">/*</span>
<a name="l00449"></a>00449 <span class="comment"> * - [VEN_ART_NAME]</span>
<a name="l00450"></a>00450 <span class="comment"> * - [VEN_ART_PRICE]</span>
<a name="l00451"></a>00451 <span class="comment"> * - [VEN_ART_QUANT]</span>
<a name="l00452"></a>00452 <span class="comment"> * - [VEN_ART_TVA_CODE]</span>
<a name="l00453"></a>00453 <span class="comment"> * - [VEN_ART_TVA_AMOUNT]</span>
<a name="l00454"></a>00454 <span class="comment"> * - [VEN_ART_STOCK_CODE]</span>
<a name="l00455"></a>00455 <span class="comment"> * - [VEN_HTVA]</span>
<a name="l00456"></a>00456 <span class="comment"> * - [VEN_TVAC]</span>
<a name="l00457"></a>00457 <span class="comment"> * - [VEN_TVA]</span>
<a name="l00458"></a>00458 <span class="comment"> * - [TOTAL_VEN_HTVA]</span>
<a name="l00459"></a>00459 <span class="comment"> */</span>
<a name="l00460"></a>00460 <span class="keywordflow">case</span> 'MARCH_NEXT':
<a name="l00461"></a>00461 $counter++;
<a name="l00462"></a>00462 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='';
<a name="l00463"></a>00463 <span class="keywordflow">break</span>;
<a name="l00464"></a>00464
<a name="l00465"></a>00465 <span class="keywordflow">case</span> 'VEN_ART_NAME':
<a name="l00466"></a>00466 extract ($_POST);
<a name="l00467"></a>00467 $id='e_march'.$counter;
<a name="l00468"></a>00468 <span class="comment">// check if the march exists</span>
<a name="l00469"></a>00469 <span class="keywordflow">if</span> ( ! isset (${$<span class="keywordtype">id</span>})) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00470"></a>00470 <span class="comment">// check that something is sold</span>
<a name="l00471"></a>00471 <span class="keywordflow">if</span> ( ${'e_march'.$counter.'_sell'} != 0 &amp;&amp; ${'e_quant'.$counter} != 0 )
<a name="l00472"></a>00472 {
<a name="l00473"></a>00473 $f=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00474"></a>00474 $f-&gt;GetByQCode(${$<span class="keywordtype">id</span>},<span class="keyword">false</span>);
<a name="l00475"></a>00475 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$f-&gt;strAttribut(<a class="code" href="constant_8php.html#a49">ATTR_DEF_NAME</a>);
<a name="l00476"></a>00476 } <span class="keywordflow">else</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a> = <span class="stringliteral">""</span>;
<a name="l00477"></a>00477 <span class="keywordflow">break</span>;
<a name="l00478"></a>00478
<a name="l00479"></a>00479 <span class="keywordflow">case</span> 'VEN_ART_PRICE':
<a name="l00480"></a>00480 extract ($_POST);
<a name="l00481"></a>00481 $id='e_march'.$counter.'_sell' ;
<a name="l00482"></a>00482 <span class="keywordflow">if</span> ( !isset (${$<span class="keywordtype">id</span>}) ) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00483"></a>00483 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=${$id};
<a name="l00484"></a>00484 <span class="keywordflow">break</span>;
<a name="l00485"></a>00485
<a name="l00486"></a>00486 <span class="keywordflow">case</span> 'VEN_ART_TVA_CODE':
<a name="l00487"></a>00487 extract ($_POST);
<a name="l00488"></a>00488 $id='e_march'.$counter.'_tva_id';
<a name="l00489"></a>00489 <span class="keywordflow">if</span> ( !isset (${$<span class="keywordtype">id</span>}) ) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00490"></a>00490 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=${$id};
<a name="l00491"></a>00491 <span class="keywordflow">break</span>;
<a name="l00492"></a>00492
<a name="l00493"></a>00493 <span class="keywordflow">case</span> 'VEN_ART_TVA_LABEL':
<a name="l00494"></a>00494 extract ($_POST);
<a name="l00495"></a>00495 $id='e_march'.$counter.'_tva_id';
<a name="l00496"></a>00496 <span class="keywordflow">if</span> ( !isset (${$<span class="keywordtype">id</span>}) ) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00497"></a>00497 <a class="code" href="print__invoice_8php.html#a2">$tva</a>=<a class="code" href="user__common_8php.html#a0">GetTvaRate</a>($this-&gt;db,${$<span class="keywordtype">id</span>});
<a name="l00498"></a>00498 <span class="keywordflow">if</span> ( $tva == null || $tva==0 ) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00499"></a>00499 $r=$tva['tva_label'];
<a name="l00500"></a>00500 <span class="keywordflow">break</span>;
<a name="l00501"></a>00501
<a name="l00502"></a>00502
<a name="l00503"></a>00503 <span class="keywordflow">case</span> 'VEN_ART_TVA_AMOUNT':
<a name="l00504"></a>00504 extract ($_POST);
<a name="l00505"></a>00505 $qt='e_quant'.$counter;
<a name="l00506"></a>00506 $price='e_march'.$counter.'_sell' ;
<a name="l00507"></a>00507 $tva='e_march'.$counter.'_tva_id';
<a name="l00508"></a>00508 if ( !isset (${'e_march'.$counter}) ) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00509"></a>00509 <span class="comment">// check that something is sold</span>
<a name="l00510"></a>00510 <span class="keywordflow">if</span> ( ${'e_march'.$counter.'_sell'} == 0 &amp;&amp; ${'e_quant'.$counter} == 0 )
<a name="l00511"></a>00511 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00512"></a>00512 $a_tva=<a class="code" href="user__common_8php.html#a0">GetTvaRate</a>($this-&gt;db,${$tva});
<a name="l00513"></a>00513 <span class="comment">// if no vat returns 0</span>
<a name="l00514"></a>00514 <span class="keywordflow">if</span> ( $a_tva == null || $a_tva == 0 ) <span class="keywordflow">return</span> 0;
<a name="l00515"></a>00515 $r=round($price,2)*$qt*$a_tva['tva_rate'];
<a name="l00516"></a>00516 $r=round($r,2);
<a name="l00517"></a>00517 <span class="keywordflow">break</span>;
<a name="l00518"></a>00518
<a name="l00519"></a>00519 <span class="keywordflow">case</span> 'VEN_ART_QUANT':
<a name="l00520"></a>00520 extract ($_POST);
<a name="l00521"></a>00521 $<span class="keywordtype">id</span>='e_quant'.$counter;
<a name="l00522"></a>00522 <span class="keywordflow">if</span> ( !isset (${$<span class="keywordtype">id</span>}) ) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00523"></a>00523 <span class="comment">// check that something is sold</span>
<a name="l00524"></a>00524 <span class="keywordflow">if</span> ( ${'e_march'.$counter.'_sell'} == 0 &amp;&amp; ${'e_quant'.$counter} == 0 )
<a name="l00525"></a>00525 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00526"></a>00526 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=${$id};
<a name="l00527"></a>00527 <span class="keywordflow">break</span>;
<a name="l00528"></a>00528
<a name="l00529"></a>00529 <span class="keywordflow">case</span> 'VEN_HTVA':
<a name="l00530"></a>00530 extract ($_POST);
<a name="l00531"></a>00531 $id='e_march'.$counter.'_sell' ;
<a name="l00532"></a>00532 $quant='e_quant'.$counter;
<a name="l00533"></a>00533 <span class="comment">// check that something is sold</span>
<a name="l00534"></a>00534 <span class="keywordflow">if</span> ( ${'e_march'.$counter.'_sell'} == 0 &amp;&amp; ${'e_quant'.$counter} == 0 )
<a name="l00535"></a>00535 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00541"></a>00541 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=round(${$<span class="keywordtype">id</span>}*${$quant},2);
<a name="l00542"></a>00542 <span class="keywordflow">break</span>;
<a name="l00543"></a>00543
<a name="l00544"></a>00544 <span class="keywordflow">case</span> 'VEN_TVAC':
<a name="l00545"></a>00545 extract ($_POST);
<a name="l00546"></a>00546 $id='e_march'.$counter.'_sell' ;
<a name="l00547"></a>00547 $quant='e_quant'.$counter;
<a name="l00548"></a>00548 <span class="comment">// check that something is sold</span>
<a name="l00549"></a>00549 <span class="keywordflow">if</span> ( ${'e_march'.$counter.'_sell'} == 0 &amp;&amp; ${'e_quant'.$counter} == 0 )
<a name="l00550"></a>00550 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00555"></a>00555 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=${$id}*${$quant};
<a name="l00556"></a>00556 <a class="code" href="print__invoice_8php.html#a2">$tva</a>=<a class="code" href="user__common_8php.html#a0">GetTvaRate</a>($this-&gt;db,${'e_march'.$counter.'_tva_id'});
<a name="l00557"></a>00557 <span class="comment">// if there is no vat we return now</span>
<a name="l00558"></a>00558 <span class="keywordflow">if</span> ( $tva == null || $tva == 0 ) <span class="keywordflow">return</span> $r;
<a name="l00559"></a>00559 <span class="comment">// we compute with the vat included</span>
<a name="l00560"></a>00560 $r=$r+$tva['tva_rate'];
<a name="l00561"></a>00561 $r=round($r,2);
<a name="l00562"></a>00562 <span class="keywordflow">break</span>;
<a name="l00563"></a>00563 <span class="keywordflow">case</span> 'TOTAL_VEN_HTVA':
<a name="l00564"></a>00564 extract($_POST);
<a name="l00565"></a>00565 $sum=0.0;
<a name="l00566"></a>00566 <span class="keywordflow">for</span> ($i=0;$i&lt;$nb_item;$i++)
<a name="l00567"></a>00567 {
<a name="l00568"></a>00568 $sum+=${'e_march'.$i.'_sell'}*<a class="code" href="impress__fiche_8php.html#a10">$e</a>{'e_quant'.$i};
<a name="l00569"></a>00569 }
<a name="l00570"></a>00570 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=round($sum,2);
<a name="l00571"></a>00571 <span class="keywordflow">break</span>;
<a name="l00572"></a>00572 <span class="keywordflow">case</span> 'TOTAL_VEN_TVAC':
<a name="l00573"></a>00573 extract($_POST);
<a name="l00574"></a>00574 $sum=0.0;
<a name="l00575"></a>00575 <span class="keywordflow">for</span> ($i=0;$i&lt;$nb_item;$i++)
<a name="l00576"></a>00576 {
<a name="l00577"></a>00577 <a class="code" href="print__invoice_8php.html#a2">$tva</a>=<a class="code" href="user__common_8php.html#a0">GetTvaRate</a>($this-&gt;db,${'e_march'.$i.'_tva_id'});
<a name="l00578"></a>00578 <a class="code" href="tva_8inc_8php.html#a2">$tva_rate</a>=( <a class="code" href="print__invoice_8php.html#a2">$tva</a> == null || <a class="code" href="print__invoice_8php.html#a2">$tva</a> == 0 )?0.0:<a class="code" href="print__invoice_8php.html#a2">$tva</a>['tva_rate'];
<a name="l00579"></a>00579 $sum+=${'e_march'.$i.'_sell'}*${'e_quant'.$i}*(1+<a class="code" href="tva_8inc_8php.html#a2">$tva_rate</a>);
<a name="l00580"></a>00580 }
<a name="l00581"></a>00581 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=round($sum,2);
<a name="l00582"></a>00582
<a name="l00583"></a>00583 <span class="keywordflow">break</span>;
<a name="l00584"></a>00584
<a name="l00585"></a>00585 }
<a name="l00586"></a>00586 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00587"></a>00587 }
<a name="l00588"></a>00588
<a name="l00589"></a>00589
<a name="l00590"></a>00590 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<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>

View file

@ -0,0 +1,30 @@
<!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/class_document.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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000006.html">include</a></div>
<h1>class_document.php File Reference</h1>Class <a class="el" href="classDocument.html">Document</a> corresponds to the table document. <a href="#_details">More...</a>
<p>
<p>
<a href="class__document_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>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html">Document</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class Document corresponds to the table document. <a href="classDocument.html#_details">More...</a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Class <a class="el" href="classDocument.html">Document</a> corresponds to the table document.
<p>
<p>
Definition in file <a class="el" href="class__document_8php-source.html">class_document.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<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>

View file

@ -241,7 +241,7 @@
<a name="l00281"></a>00281 <a name="l00281"></a>00281
<a name="l00282"></a>00282 } <a name="l00282"></a>00282 }
<a name="l00283"></a>00283 ?&gt; <a name="l00283"></a>00283 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -23,7 +23,7 @@ Class for the document template.
<p> <p>
<p> <p>
Definition in file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -0,0 +1,51 @@
<!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/class_document_type.php Source File</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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000006.html">include</a></div>
<h1>class_document_type.php</h1><a href="class__document__type_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?
<a name="l00002"></a>00002 <span class="comment">/*</span>
<a name="l00003"></a>00003 <span class="comment"> * This file is part of PhpCompta.</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * PhpCompta is free software; you can redistribute it and/or modify</span>
<a name="l00006"></a>00006 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
<a name="l00007"></a>00007 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00008"></a>00008 <span class="comment"> * (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * PhpCompta is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
<a name="l00013"></a>00013 <span class="comment"> * GNU General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
<a name="l00016"></a>00016 <span class="comment"> * along with PhpCompta; if not, write to the Free Software</span>
<a name="l00017"></a>00017 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
<a name="l00018"></a>00018 <span class="comment">*/</span>
<a name="l00019"></a>00019 <span class="comment">/* $Revision$ */</span>
<a name="l00020"></a>00020 <span class="comment">// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr</span>
<a name="l00029"></a><a class="code" href="classDocument__type.html">00029</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classDocument__type.html">Document_type</a>
<a name="l00030"></a>00030 {
<a name="l00035"></a><a class="code" href="classDocument__type.html#a0">00035</a> function <a class="code" href="classDocument__type.html#a0">document_type</a>($p_cn)
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037 $this-&gt;db=$p_cn;
<a name="l00038"></a>00038 $this-&gt;dt_id=-1;
<a name="l00039"></a>00039 }
<a name="l00043"></a><a class="code" href="classDocument__type.html#a1">00043</a> function <a class="code" href="classDocument__type.html#a1">get</a>()
<a name="l00044"></a>00044 {
<a name="l00045"></a>00045 <a class="code" href="facture_8inc_8php.html#a1">$sql</a>=<span class="stringliteral">"select * from document_type where dt_id="</span>.$this-&gt;dt_id;
<a name="l00046"></a>00046 $R=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql);
<a name="l00047"></a>00047 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($R,0);
<a name="l00048"></a>00048 $this-&gt;dt_id=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['dt_id'];
<a name="l00049"></a>00049 $this-&gt;dt_value=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['dt_value'];
<a name="l00050"></a>00050 }
<a name="l00051"></a>00051
<a name="l00052"></a>00052 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<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>

View file

@ -0,0 +1,29 @@
<!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/class_document_type.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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000006.html">include</a></div>
<h1>class_document_type.php File Reference</h1>class for the table document_type <a href="#_details">More...</a>
<p>
<p>
<a href="class__document__type_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>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument__type.html">Document_type</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
class for the table document_type
<p>
<p>
Definition in file <a class="el" href="class__document__type_8php-source.html">class_document_type.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<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>

View file

@ -639,7 +639,7 @@
<a name="l00774"></a>00774 } <a name="l00774"></a>00774 }
<a name="l00775"></a>00775 } <a name="l00775"></a>00775 }
<a name="l00776"></a>00776 ?&gt; <a name="l00776"></a>00776 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -26,7 +26,7 @@ define Class fiche and fiche def, those class are using class attribut
<p> <p>
<p> <p>
Definition in file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -103,7 +103,7 @@
<a name="l00141"></a>00141 <a name="l00141"></a>00141
<a name="l00142"></a>00142 } <a name="l00142"></a>00142 }
<a name="l00143"></a>00143 ?&gt; <a name="l00143"></a>00143 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -23,7 +23,7 @@
<p> <p>
<p> <p>
Definition in file <a class="el" href="class__fiche__def_8php-source.html">class_fiche_def.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__fiche__def_8php-source.html">class_fiche_def.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -148,7 +148,7 @@
<a name="l00149"></a>00149 } <a name="l00149"></a>00149 }
<a name="l00150"></a>00150 } <a name="l00150"></a>00150 }
<a name="l00151"></a>00151 ?&gt; <a name="l00151"></a>00151 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -24,7 +24,7 @@ Class invoice to manage the customer invoice.
<dl compact><dt><b><a class="el" href="todo.html#_todo000009">Todo:</a></b></dt><dd>obsolete ? then delete it </dd></dl> <dl compact><dt><b><a class="el" href="todo.html#_todo000009">Todo:</a></b></dt><dd>obsolete ? then delete it </dd></dl>
<p> <p>
Definition in file <a class="el" href="class__invoice_8php-source.html">class_invoice.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__invoice_8php-source.html">class_invoice.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -297,7 +297,7 @@
<a name="l00329"></a>00329 <span class="keywordflow">return</span> <a class="code" href="eub__be_8inc_8php.html#a5">$Res</a>[0]['<a class="code" href="client_8inc_8php.html#a6">value</a>']; <a name="l00329"></a>00329 <span class="keywordflow">return</span> <a class="code" href="eub__be_8inc_8php.html#a5">$Res</a>[0]['<a class="code" href="client_8inc_8php.html#a6">value</a>'];
<a name="l00330"></a>00330 } <a name="l00330"></a>00330 }
<a name="l00331"></a>00331 } <a name="l00331"></a>00331 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -16,7 +16,7 @@
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class for jrn. <a href="classjrn.html#_details">More...</a><br></td></tr> <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class for jrn. <a href="classjrn.html#_details">More...</a><br></td></tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -118,7 +118,7 @@
<a name="l00119"></a>00119 echo '&lt;/<a class="code" href="constant_8php.html#a7">FORM</a>&gt;'; <a name="l00119"></a>00119 echo '&lt;/<a class="code" href="constant_8php.html#a7">FORM</a>&gt;';
<a name="l00120"></a>00120 echo '&lt;/div&gt;'; <a name="l00120"></a>00120 echo '&lt;/div&gt;';
<a name="l00121"></a>00121 ?&gt; <a name="l00121"></a>00121 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -354,7 +354,7 @@ Referenced by <a class="el" href="setup_8php-source.html#l00097">ExecuteScript()
Definition at line <a class="el" href="class__operation_8php-source.html#l00098">98</a> of file <a class="el" href="class__operation_8php-source.html">class_operation.php</a>. </td> Definition at line <a class="el" href="class__operation_8php-source.html#l00098">98</a> of file <a class="el" href="class__operation_8php-source.html">class_operation.php</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -58,7 +58,7 @@
<a name="l00070"></a>00070 } <a name="l00070"></a>00070 }
<a name="l00071"></a>00071 <a name="l00071"></a>00071
<a name="l00072"></a>00072 } <a name="l00072"></a>00072 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -23,7 +23,7 @@ Class to manage the company parameter (address, name...).
<p> <p>
<p> <p>
Definition in file <a class="el" href="class__own_8php-source.html">class_own.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__own_8php-source.html">class_own.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -114,7 +114,7 @@
<a name="l00152"></a>00152 } <a name="l00152"></a>00152 }
<a name="l00153"></a>00153 <a name="l00153"></a>00153
<a name="l00154"></a>00154 } <a name="l00154"></a>00154 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -23,7 +23,7 @@ Manage the table <a class="el" href="classparm__code.html">parm_code</a> which c
<p> <p>
<p> <p>
Definition in file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -97,7 +97,7 @@
<a name="l00113"></a>00113 <span class="keywordflow">return</span> abs($r['sum_deb']-$r['sum_cred']); <a name="l00113"></a>00113 <span class="keywordflow">return</span> abs($r['sum_deb']-$r['sum_cred']);
<a name="l00114"></a>00114 } <a name="l00114"></a>00114 }
<a name="l00121"></a><a class="code" href="classposte.html#a4">00121</a> function <a class="code" href="classposte.html#a4">GetSoldeDetail</a>($p_cond=<span class="stringliteral">""</span>) { <a name="l00121"></a><a class="code" href="classposte.html#a4">00121</a> function <a class="code" href="classposte.html#a4">GetSoldeDetail</a>($p_cond=<span class="stringliteral">""</span>) {
<a name="l00122"></a>00122 <span class="keywordflow">if</span> ( $p_cond != <span class="stringliteral">""</span>) $p_cond.=<span class="stringliteral">" and "</span>; <a name="l00122"></a>00122 <span class="keywordflow">if</span> ( $p_cond != <span class="stringliteral">""</span>) $p_cond=<span class="stringliteral">" and "</span>.$p_cond;
<a name="l00123"></a>00123 <a class="code" href="eub__be_8inc_8php.html#a5">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select sum(deb) as sum_deb, sum(cred) as sum_cred from </span> <a name="l00123"></a>00123 <a class="code" href="eub__be_8inc_8php.html#a5">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select sum(deb) as sum_deb, sum(cred) as sum_cred from </span>
<a name="l00124"></a>00124 <span class="stringliteral"> ( select j_poste, </span> <a name="l00124"></a>00124 <span class="stringliteral"> ( select j_poste, </span>
<a name="l00125"></a>00125 <span class="stringliteral"> case when j_debit='t' then j_montant else 0 end as deb, </span> <a name="l00125"></a>00125 <span class="stringliteral"> case when j_debit='t' then j_montant else 0 end as deb, </span>
@ -116,7 +116,7 @@
<a name="l00138"></a>00138 'solde'=&gt;abs($r['sum_deb']-$r['sum_cred'])); <a name="l00138"></a>00138 'solde'=&gt;abs($r['sum_deb']-$r['sum_cred']));
<a name="l00139"></a>00139 } <a name="l00139"></a>00139 }
<a name="l00140"></a>00140 } <a name="l00140"></a>00140 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -23,7 +23,7 @@ Manage the account.
<p> <p>
<p> <p>
Definition in file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -72,7 +72,7 @@
<a name="l00079"></a>00079 } <a name="l00079"></a>00079 }
<a name="l00080"></a>00080 } <a name="l00080"></a>00080 }
<a name="l00081"></a>00081 ?&gt; <a name="l00081"></a>00081 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -23,7 +23,7 @@ Create, view, modify and parse report.
<p> <p>
<p> <p>
Definition in file <a class="el" href="class__rapport_8php-source.html">class_rapport.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__rapport_8php-source.html">class_rapport.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -269,7 +269,7 @@
<a name="l00342"></a>00342 }<span class="comment">//end function</span> <a name="l00342"></a>00342 }<span class="comment">//end function</span>
<a name="l00343"></a>00343 } <a name="l00343"></a>00343 }
<a name="l00344"></a>00344 ?&gt; <a name="l00344"></a>00344 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -23,7 +23,7 @@ Data &amp; function about connected users.
<p> <p>
<p> <p>
Definition in file <a class="el" href="class__user_8php-source.html">class_user.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__user_8php-source.html">class_user.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -358,7 +358,7 @@
<a name="l00382"></a>00382 } <a name="l00382"></a>00382 }
<a name="l00383"></a>00383 <a name="l00383"></a>00383
<a name="l00384"></a>00384 } <a name="l00384"></a>00384 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -23,7 +23,7 @@ This class is used to create all the HTML INPUT TYPE.
<p> <p>
<p> <p>
Definition in file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; Definition in file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -0,0 +1,586 @@
<!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: action Class 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>action Class Reference</h1><!-- doxytag: class="action" -->class_action for manipulating actions action can be :<ul>
<li>an invoice</li><li>a meeting</li><li>an order</li><li>a letter </li></ul>
<a href="#_details">More...</a>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a0">action</a> ($p_cn)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">constructor <a href="#a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a1">Display</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display the object. <a href="#a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a2">Confirm</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display the encoded data and ask a confirmation this correspond to the stage 1, before the generation or the upload of document. <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a3">SaveStage2</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Save the document and propose to save the generated document or to upload one, the data are included except the file. Temporary the generated document is save. <a href="#a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a4">SaveStage3</a> ($d_id)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Upload the document or save the generated document. <a href="#a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a5">myList</a> ($p_filter=&quot;&quot;, $p_search=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Show list of action. <a href="#a5"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o0">$db</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o1">$ag_desc</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o2">$ag_date</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o3">$d_lob</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o4">$dt_id</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o5">$d_state</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o6">$d_number</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o7">$d_filename</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o8">$d_mimetype</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o9">$ag_title</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o10">$f_id</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
class_action for manipulating actions action can be :<ul>
<li>an invoice</li><li>a meeting</li><li>an order</li><li>a letter </li></ul>
<p>
The table document_type are the possible actions
<p>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00047">47</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="action::action" ref="a0" 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">action::action </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_cn</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
constructor
<p>
constructor <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>&nbsp;</td><td>database connection</td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00075">75</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="facture_8inc_8php-source.html#l00196">f_id</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a2"></a><!-- doxytag: member="action::Confirm" ref="a2" 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">action::Confirm </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Display the encoded data and ask a confirmation this correspond to the stage 1, before the generation or the upload of document.
<p>
Confirm<p>
<dl compact><dt><b>Returns:</b></dt><dd>string containing the form</dd></dl>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00151">151</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00108">$a</a>, <a class="el" href="admin__repo_8php-source.html#l00119">$desc</a>, <a class="el" href="action_8inc_8php-source.html#l00050">$h_url</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="client_8inc_8php-source.html#l00152">$retour</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="ac__common_8php-source.html#l00097">isDate()</a>, <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>, <a class="el" href="client_8inc_8php-source.html#l00116">name</a>, and <a class="el" href="client_8inc_8php-source.html#l00117">value</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="action::Display" ref="a1" 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">action::Display </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Display the object.
<p>
Display<p>
<dl compact><dt><b>Returns:</b></dt><dd>string containing the html code</dd></dl>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00085">85</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00108">$a</a>, <a class="el" href="admin__repo_8php-source.html#l00119">$desc</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, and <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00241">SaveStage2()</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="action::myList" ref="a5" args="($p_filter=&quot;&quot;, $p_search=&quot;&quot;)" --><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">action::myList </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_filter</em> = <code>&quot;&quot;</code>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_search</em> = <code>&quot;&quot;</code></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Show list of action.
<p>
myList($p_filter="") <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_filter</em>&nbsp;</td><td>filters on the document_type </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_search</em>&nbsp;</td><td>must a valid sql command ( ex 'and ag_title like upper('hjkh'))</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>string containing html code</dd></dl>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00329">329</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="facture_8inc_8php-source.html#l00148">$bar</a>, <a class="el" href="document__modele_8inc_8php-source.html#l00033">$doc</a>, <a class="el" href="jrn__pdf_8php-source.html#l00071">$limit</a>, <a class="el" href="facture_8inc_8php-source.html#l00136">$offset</a>, <a class="el" href="facture_8inc_8php-source.html#l00135">$page</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="facture_8inc_8php-source.html#l00082">$sql</a>, <a class="el" href="facture_8inc_8php-source.html#l00134">$step</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="facture_8inc_8php-source.html#l00196">f_id</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, and <a class="el" href="user__common_8php-source.html#l00861">jrn_navigation_bar()</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="action::SaveStage2" 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">action::SaveStage2 </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Save the document and propose to save the generated document or to upload one, the data are included except the file. Temporary the generated document is save.
<p>
SaveStage2<p>
<dl compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00241">241</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="document__modele_8inc_8php-source.html#l00033">$doc</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="facture_8inc_8php-source.html#l00082">$sql</a>, <a class="el" href="facture_8inc_8php-source.html#l00199">$str_file</a>, <a class="el" href="facture_8inc_8php-source.html#l00198">ag_id</a>, <a class="el" href="class__action_8php-source.html#l00085">Display()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="postgres_8php-source.html#l00242">GetSequence()</a>, <a class="el" href="document__modele_8inc_8php-source.html#l00045">md_id</a>, <a class="el" href="client_8inc_8php-source.html#l00116">name</a>, and <a class="el" href="client_8inc_8php-source.html#l00117">value</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="action::SaveStage3" ref="a4" args="($d_id)" --><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">action::SaveStage3 </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>d_id</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Upload the document or save the generated document.
<p>
SaveStage3 <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>$d_id</em>&nbsp;</td><td>document_id when we upload we don't increment seq. if = 0 then no file</td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00306">306</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="document__modele_8inc_8php-source.html#l00033">$doc</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o2"></a><!-- doxytag: member="action::$ag_date" ref="o2" 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">action::$ag_date </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
document date (ag_gestion.ag_date)
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00062">62</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o1"></a><!-- doxytag: member="action::$ag_desc" ref="o1" 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">action::$ag_desc </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
description (ag_gestion.ag_desc)
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00061">61</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o9"></a><!-- doxytag: member="action::$ag_title" ref="o9" 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">action::$ag_title </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
title document
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00069">69</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o7"></a><!-- doxytag: member="action::$d_filename" ref="o7" 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">action::$d_filename </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
filename's document
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00067">67</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o3"></a><!-- doxytag: member="action::$d_lob" ref="o3" 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">action::$d_lob </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00063">63</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o8"></a><!-- doxytag: member="action::$d_mimetype" ref="o8" 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">action::$d_mimetype </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
document's filename
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00068">68</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o6"></a><!-- doxytag: member="action::$d_number" ref="o6" 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">action::$d_number </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
number of the document
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00066">66</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o5"></a><!-- doxytag: member="action::$d_state" ref="o5" 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">action::$d_state </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
stage of the document (printed, send to client...)
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00065">65</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o0"></a><!-- doxytag: member="action::$db" ref="o0" 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">action::$db </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
database connexion
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00060">60</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o4"></a><!-- doxytag: member="action::$dt_id" ref="o4" 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">action::$dt_id </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
type of the document (document_type.dt_id)
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00064">64</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o10"></a><!-- doxytag: member="action::$f_id" ref="o10" 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">action::$<a class="el" href="facture_8inc_8php.html#a18">f_id</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
fiche id
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00070">70</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__action_8php-source.html">class_action.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:47 2006 for phpcompta by&nbsp;
<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>

View file

@ -687,7 +687,7 @@ Definition at line <a class="el" href="class__user_8php-source.html#l00038">38</
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__user_8php-source.html">class_user.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__user_8php-source.html">class_user.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:47 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -0,0 +1,152 @@
<!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: contact Class 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>contact Class Reference</h1><!-- doxytag: class="contact" --><!-- doxytag: inherits="fiche" -->Class contact (customer, supplier...).
<a href="#_details">More...</a>
<p>
<p>Inheritance diagram for contact:
<p><center><img src="classcontact.png" usemap="#contact_map" border="0" alt=""></center>
<map name="contact_map">
<area href="classfiche.html" alt="fiche" shape="rect" coords="0,0,53,24">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcontact.html#a0">contact</a> ($p_cn, $p_id=0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">constructor <a href="#a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcontact.html#a1">Summary</a> ($p_search)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">show the default screen <a href="#a1"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcontact.html#o0">$company</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Class contact (customer, supplier...).
<p>
<p>
Definition at line <a class="el" href="class__contact_8php-source.html#l00032">32</a> of file <a class="el" href="class__contact_8php-source.html">class_contact.php</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="contact::contact" ref="a0" args="($p_cn, $p_id=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">contact::contact </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</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>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_id</em> = <code>0</code></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
constructor
<p>
<p>
Definition at line <a class="el" href="class__contact_8php-source.html#l00036">36</a> of file <a class="el" href="class__contact_8php-source.html">class_contact.php</a>.
<p>
References <a class="el" href="class__fiche_8php-source.html#l00155">fiche::fiche()</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a1"></a><!-- doxytag: member="contact::Summary" ref="a1" args="($p_search)" --><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">contact::Summary </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_search</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
show the default screen
<p>
Summary<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_search</em>&nbsp;</td><td>(filter)</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>string to display</dd></dl>
<p>
Definition at line <a class="el" href="class__contact_8php-source.html#l00050">50</a> of file <a class="el" href="class__contact_8php-source.html">class_contact.php</a>.
<p>
References <a class="el" href="facture_8inc_8php-source.html#l00148">$bar</a>, <a class="el" href="facture_8inc_8php-source.html#l00136">$offset</a>, <a class="el" href="facture_8inc_8php-source.html#l00135">$page</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="client_8inc_8php-source.html#l00128">$search</a>, <a class="el" href="client_8inc_8php-source.html#l00111">$url</a>, <a class="el" href="class__fiche_8php-source.html#l00289">fiche::CountByDef()</a>, <a class="el" href="facture_8inc_8php-source.html#l00196">f_id</a>, <a class="el" href="class__fiche_8php-source.html#l00155">fiche::fiche()</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="class__fiche_8php-source.html#l00771">fiche::GetAll()</a>, <a class="el" href="user__common_8php-source.html#l00861">jrn_navigation_bar()</a>, <a class="el" href="client_8inc_8php-source.html#l00116">name</a>, <a class="el" href="balance_8php-source.html#l00068">table</a>, and <a class="el" href="client_8inc_8php-source.html#l00117">value</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o0"></a><!-- doxytag: member="contact::$company" ref="o0" 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">contact::$company </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
company of the contact (ad_id=ATTR_DEF_COMPANY)
<p>
Definition at line <a class="el" href="class__contact_8php-source.html#l00034">34</a> of file <a class="el" href="class__contact_8php-source.html">class_contact.php</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__contact_8php-source.html">class_contact.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:48 2006 for phpcompta by&nbsp;
<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>

View file

@ -950,7 +950,7 @@ Definition at line <a class="el" href="class__fiche_8php-source.html#l00150">150
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__fiche_8php-source.html">class_fiche.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__fiche_8php-source.html">class_fiche.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -474,7 +474,7 @@ Definition at line <a class="el" href="class__fiche_8php-source.html#l00033">33<
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__fiche_8php-source.html">class_fiche.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__fiche_8php-source.html">class_fiche.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -369,7 +369,7 @@ Definition at line <a class="el" href="class__fiche__def_8php-source.html#l00033
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__fiche__def_8php-source.html">class_fiche_def.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__fiche__def_8php-source.html">class_fiche_def.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -398,7 +398,7 @@ Definition at line <a class="el" href="class__jrn_8php-source.html#l00028">28</a
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__jrn_8php-source.html">class_jrn.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__jrn_8php-source.html">class_jrn.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -367,7 +367,7 @@ Definition at line <a class="el" href="class__parm__code_8php-source.html#l00033
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -312,7 +312,7 @@ Definition at line <a class="el" href="class__poste_8php-source.html#l00031">31<
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__poste_8php-source.html">class_poste.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__poste_8php-source.html">class_poste.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -238,7 +238,7 @@ Definition at line <a class="el" href="class__rapport_8php-source.html#l00031">3
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__rapport_8php-source.html">class_rapport.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__rapport_8php-source.html">class_rapport.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -586,7 +586,7 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00049">49
</table> </table>
<hr>The documentation for this class was generated from the following file:<ul> <hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__widget_8php-source.html">class_widget.php</a></ul> <li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__widget_8php-source.html">class_widget.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:05 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -171,7 +171,7 @@
<a name="l00171"></a>00171 } <a name="l00171"></a>00171 }
<a name="l00172"></a>00172 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>(); <a name="l00172"></a>00172 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00173"></a>00173 ?&gt; <a name="l00173"></a>00173 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -309,7 +309,7 @@ Definition at line <a class="el" href="client_8inc_8php-source.html#l00117">117<
Referenced by <a class="el" href="stock__inc_8php-source.html#l00259">ChangeStock()</a>, <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="class__widget_8php-source.html#l00370">widget::debug()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00078">fiche_def_ref::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="form__inc_8php-source.html#l00034">EncodeForm()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</a>, <a class="el" href="user__form__fin_8php-source.html#l00147">FormFin()</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="class__jrn_8php-source.html#l00321">jrn::GetDefLine()</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="class__widget_8php-source.html#l00084">widget::IOValue()</a>, <a class="el" href="user__common_8php-source.html#l00861">jrn_navigation_bar()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00051">fiche_def_ref::LoadAll()</a>, <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>, <a class="el" href="fiche__new_8php-source.html#l00060">new_fiche()</a>, <a class="el" href="class_8pdf_8php-source.html#l00559">Cpdf::o_fontDescriptor()</a>, <a class="el" href="class__document_8php-source.html#l00125">Document::ParseDocument()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, <a class="el" href="class__action_8php-source.html#l00241">action::SaveStage2()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="user__menu_8php-source.html#l00405">u_ShowMenuRecherche()</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="jrn_8php-source.html#l00282">UpdateJrn()</a>, <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>, <a class="el" href="fiche__inc_8php-source.html#l00394">ViewFiche()</a>, <a class="el" href="impress__inc_8php-source.html#l00036">ViewImp()</a>, and <a class="el" href="class__widget_8php-source.html#l00059">widget::widget()</a>. </td> Referenced by <a class="el" href="stock__inc_8php-source.html#l00259">ChangeStock()</a>, <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="class__widget_8php-source.html#l00370">widget::debug()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00078">fiche_def_ref::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="form__inc_8php-source.html#l00034">EncodeForm()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</a>, <a class="el" href="user__form__fin_8php-source.html#l00147">FormFin()</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="class__jrn_8php-source.html#l00321">jrn::GetDefLine()</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="class__widget_8php-source.html#l00084">widget::IOValue()</a>, <a class="el" href="user__common_8php-source.html#l00861">jrn_navigation_bar()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00051">fiche_def_ref::LoadAll()</a>, <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>, <a class="el" href="fiche__new_8php-source.html#l00060">new_fiche()</a>, <a class="el" href="class_8pdf_8php-source.html#l00559">Cpdf::o_fontDescriptor()</a>, <a class="el" href="class__document_8php-source.html#l00125">Document::ParseDocument()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, <a class="el" href="class__action_8php-source.html#l00241">action::SaveStage2()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="user__menu_8php-source.html#l00405">u_ShowMenuRecherche()</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="jrn_8php-source.html#l00282">UpdateJrn()</a>, <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>, <a class="el" href="fiche__inc_8php-source.html#l00394">ViewFiche()</a>, <a class="el" href="impress__inc_8php-source.html#l00036">ViewImp()</a>, and <a class="el" href="class__widget_8php-source.html#l00059">widget::widget()</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -121,7 +121,7 @@
<a name="l00130"></a>00130 { <a name="l00130"></a>00130 {
<a name="l00131"></a>00131 require_once(<span class="stringliteral">"contact.inc.php"</span>); <a name="l00131"></a>00131 require_once(<span class="stringliteral">"contact.inc.php"</span>);
<a name="l00132"></a>00132 } <a name="l00132"></a>00132 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:03 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:45 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -158,7 +158,7 @@ Definition at line <a class="el" href="commercial_8php-source.html#l00041">41</a
Definition at line <a class="el" href="commercial_8php-source.html#l00043">43</a> of file <a class="el" href="commercial_8php-source.html">commercial.php</a>. </td> Definition at line <a class="el" href="commercial_8php-source.html#l00043">43</a> of file <a class="el" href="commercial_8php-source.html">commercial.php</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -378,7 +378,7 @@
<a name="l00374"></a><a class="code" href="constant_8php.html#a84">00374</a> define (<span class="stringliteral">"SQL_LIST_UNPAID_INVOICE_DATE_LIMIT"</span> ,<span class="stringliteral">" where (jr_rapt is null or jr_rapt = '') </span> <a name="l00374"></a><a class="code" href="constant_8php.html#a84">00374</a> define (<span class="stringliteral">"SQL_LIST_UNPAID_INVOICE_DATE_LIMIT"</span> ,<span class="stringliteral">" where (jr_rapt is null or jr_rapt = '') </span>
<a name="l00375"></a>00375 <span class="stringliteral"> and to_date(to_char(jr_ech,'DD.MM.YYYY'),'DD.MM.YYYY') &lt; to_date(to_char(now(),'DD.MM.YYYY'),'DD.MM.YYYY') and jr_valid = true"</span> ); <a name="l00375"></a>00375 <span class="stringliteral"> and to_date(to_char(jr_ech,'DD.MM.YYYY'),'DD.MM.YYYY') &lt; to_date(to_char(now(),'DD.MM.YYYY'),'DD.MM.YYYY') and jr_valid = true"</span> );
<a name="l00376"></a>00376 ?&gt; <a name="l00376"></a>00376 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -2316,7 +2316,7 @@ Definition at line <a class="el" href="constant_8php-source.html#l00059">59</a>
Definition at line <a class="el" href="constant_8php-source.html#l00086">86</a> of file <a class="el" href="constant_8php-source.html">constant.php</a>. </td> Definition at line <a class="el" href="constant_8php-source.html#l00086">86</a> of file <a class="el" href="constant_8php-source.html">constant.php</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -0,0 +1,193 @@
<!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/contact.inc.php Source File</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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000006.html">include</a></div>
<h1>contact.inc.php</h1><a href="contact_8inc_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?
<a name="l00002"></a>00002 <span class="comment">/*</span>
<a name="l00003"></a>00003 <span class="comment"> * This file is part of PhpCompta.</span>
<a name="l00004"></a>00004 <span class="comment"> *</span>
<a name="l00005"></a>00005 <span class="comment"> * PhpCompta is free software; you can redistribute it and/or modify</span>
<a name="l00006"></a>00006 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
<a name="l00007"></a>00007 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00008"></a>00008 <span class="comment"> * (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * PhpCompta is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
<a name="l00013"></a>00013 <span class="comment"> * GNU General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
<a name="l00016"></a>00016 <span class="comment"> * along with PhpCompta; if not, write to the Free Software</span>
<a name="l00017"></a>00017 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
<a name="l00018"></a>00018 <span class="comment">*/</span>
<a name="l00019"></a>00019 <span class="comment">/* $Revision$ */</span>
<a name="l00020"></a>00020 <span class="comment">// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr</span>
<a name="l00022"></a>00022 <span class="comment"></span>require_once('class_contact.php');
<a name="l00023"></a>00023 require_once('class_widget.php');
<a name="l00030"></a><a class="code" href="contact_8inc_8php.html#a0">00030</a> <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=(isset($_REQUEST['sa']))?$_REQUEST['sa']:<span class="stringliteral">""</span>;
<a name="l00031"></a>00031 var_dump($_REQUEST);
<a name="l00032"></a>00032 <span class="comment">// if this page is called from another menu (customer, supplier,...)</span>
<a name="l00033"></a>00033 <span class="comment">// a button back is added</span>
<a name="l00034"></a>00034 <span class="comment">// TODO add function for generating url, hidden tags...</span>
<a name="l00035"></a>00035 <span class="keywordflow">if</span> ( isset ($_REQUEST['url']))
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037 <a class="code" href="client_8inc_8php.html#a9">$retour</a>=sprintf('&lt;A HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',urldecode($_REQUEST['url']));
<a name="l00038"></a><a class="code" href="contact_8inc_8php.html#a1">00038</a> <a class="code" href="action_8inc_8php.html#a1">$h_url</a>=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"%s"</span>&gt;',urldecode($_REQUEST['url']));
<a name="l00039"></a>00039 }
<a name="l00040"></a>00040 <span class="keywordflow">else</span>
<a name="l00041"></a>00041 {
<a name="l00042"></a>00042 <a class="code" href="client_8inc_8php.html#a9">$retour</a>=<span class="stringliteral">""</span>;
<a name="l00043"></a>00043 <a class="code" href="action_8inc_8php.html#a1">$h_url</a>=<span class="stringliteral">""</span>;
<a name="l00044"></a>00044 }
<a name="l00045"></a>00045
<a name="l00046"></a>00046 <span class="comment">// Menu</span>
<a name="l00047"></a>00047 <span class="comment">// Remove a card</span>
<a name="l00048"></a>00048 <span class="keywordflow">if</span> ( isset ($_POST['<span class="keyword">delete</span>']) )
<a name="l00049"></a>00049 {
<a name="l00050"></a>00050 echo '<span class="keyword">delete</span>';
<a name="l00051"></a>00051 $f_id=$_REQUEST['<a class="code" href="facture_8inc_8php.html#a18">f_id</a>'];
<a name="l00052"></a>00052
<a name="l00053"></a>00053 <a class="code" href="impress__fiche_8php.html#a9">$fiche</a>=<span class="keyword">new</span> <a class="code" href="classcontact.html">contact</a>($cn,$<a class="code" href="facture_8inc_8php.html#a18">f_id</a>);
<a name="l00054"></a>00054 <a class="code" href="impress__fiche_8php.html#a9">$fiche</a>-&gt;remove();
<a name="l00055"></a>00055 <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=<span class="stringliteral">"list"</span>;
<a name="l00056"></a>00056 }
<a name="l00058"></a>00058 <span class="comment">// Add card</span>
<a name="l00059"></a>00059 <span class="keywordflow">if</span> ( $sub_action==<span class="stringliteral">"insert"</span> )
<a name="l00060"></a>00060 {
<a name="l00061"></a>00061 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>=<span class="keyword">new</span> Contact($cn);
<a name="l00062"></a>00062 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;Save($_REQUEST['fd_id']);
<a name="l00063"></a>00063 echo <a class="code" href="client_8inc_8php.html#a9">$retour</a>;
<a name="l00064"></a>00064 echo <span class="stringliteral">"&lt;table&gt;"</span>;
<a name="l00065"></a>00065 echo <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;Display(<span class="keyword">true</span>);
<a name="l00066"></a>00066 echo <span class="stringliteral">"&lt;/table&gt;"</span>;
<a name="l00067"></a>00067 echo $retour;
<a name="l00068"></a>00068
<a name="l00069"></a>00069 }
<a name="l00070"></a>00070
<a name="l00072"></a>00072 <span class="comment">// Save modification</span>
<a name="l00073"></a>00073 <span class="keywordflow">if</span> ( isset ($_POST['mod']))
<a name="l00074"></a>00074 {
<a name="l00075"></a>00075 <span class="comment">// modification is asked</span>
<a name="l00076"></a>00076 $f_id=$_REQUEST['<a class="code" href="facture_8inc_8php.html#a18">f_id</a>'];
<a name="l00077"></a>00077
<a name="l00078"></a>00078 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>=<span class="keyword">new</span> <a class="code" href="classcontact.html">contact</a>($cn,$<a class="code" href="facture_8inc_8php.html#a18">f_id</a>);
<a name="l00079"></a>00079 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;Save();
<a name="l00080"></a>00080 }
<a name="l00081"></a>00081 <span class="comment">// by default open liste</span>
<a name="l00082"></a>00082 <span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">""</span> )
<a name="l00083"></a>00083 <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=<span class="stringliteral">"list"</span>;
<a name="l00085"></a>00085 <span class="comment">//Display a blank card </span>
<a name="l00086"></a>00086 <span class="keywordflow">if</span> ( $sub_action==<span class="stringliteral">"blank"</span>)
<a name="l00087"></a>00087 {
<a name="l00088"></a>00088 $retour=sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"two"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',
<a name="l00089"></a>00089 <span class="stringliteral">"commercial.php?p_action=contact"</span>);
<a name="l00090"></a>00090 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00091"></a>00091
<a name="l00092"></a>00092 echo $retour;
<a name="l00093"></a><a class="code" href="contact_8inc_8php.html#a2">00093</a> <a class="code" href="balance_8php.html#a7">$c</a>=<span class="keyword">new</span> <a class="code" href="classcontact.html">contact</a>($cn);
<a name="l00094"></a>00094 echo '&lt;form method=<span class="stringliteral">"post"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>';
<a name="l00095"></a>00095 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"client"</span>&gt;';
<a name="l00096"></a>00096 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"insert"</span>&gt;';
<a name="l00097"></a>00097 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"fd_id"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"'.$_GET['fd_id'].'"</span>&gt;';
<a name="l00098"></a>00098 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"'.$_GET['url'].'"</span>&gt;';
<a name="l00099"></a>00099 echo <a class="code" href="balance_8php.html#a7">$c</a>-&gt;blank($_GET['fd_id']);
<a name="l00100"></a>00100 echo '&lt;input type=<span class="stringliteral">"Submit"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"Sauve"</span>&gt;';
<a name="l00101"></a>00101 echo '&lt;/form&gt;';
<a name="l00102"></a>00102 echo $retour;
<a name="l00103"></a>00103 echo '&lt;/div&gt;';
<a name="l00104"></a>00104 }
<a name="l00106"></a>00106 <span class="comment">// list</span>
<a name="l00107"></a>00107 <span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">"list"</span> )
<a name="l00108"></a>00108 {
<a name="l00109"></a>00109 ?&gt;
<a name="l00110"></a>00110 &lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_content"</span>&gt;
<a name="l00111"></a>00111 &lt;span&gt;
<a name="l00112"></a>00112 &lt;form method=<span class="stringliteral">"get"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>&gt;
<a name="l00113"></a>00113 &lt;?
<a name="l00114"></a>00114 <a class="code" href="balance_8php.html#a9">$a</a>=(isset($_GET['query']))?$_GET['query']:<span class="stringliteral">""</span>;
<a name="l00115"></a>00115 printf ('&lt;input type=<span class="stringliteral">"text"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"query"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"%s"</span>&gt;',
<a name="l00116"></a>00116 $a);
<a name="l00117"></a>00117 ?&gt;
<a name="l00118"></a>00118 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"submit_query"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"recherche"</span>&gt;
<a name="l00119"></a>00119 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"contact"</span>&gt;
<a name="l00120"></a>00120 &lt;/form&gt;
<a name="l00121"></a>00121 &lt;/span&gt;
<a name="l00122"></a>00122 &lt;span&gt;
<a name="l00123"></a>00123 &lt;form method=<span class="stringliteral">"get"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>&gt;
<a name="l00124"></a><a class="code" href="contact_8inc_8php.html#a3">00124</a> &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"url"</span> &lt;? <a class="code" href="client_8inc_8php.html#a3">$url</a>=urlencode($_SERVER['REQUEST_URI']);echo '<a class="code" href="client_8inc_8php.html#a6">value</a>=<span class="stringliteral">"'.$url.'"</span>'; ?&gt;
<a name="l00125"></a>00125 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"p_action"</span> value=<span class="stringliteral">"contact"</span>&gt;
<a name="l00126"></a>00126
<a name="l00127"></a>00127 &lt;?
<a name="l00128"></a><a class="code" href="contact_8inc_8php.html#a4">00128</a> <a class="code" href="balance_8php.html#a2">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00129"></a><a class="code" href="contact_8inc_8php.html#a5">00129</a> <a class="code" href="balance_8php.html#a2">$w</a>-&gt;name=<span class="stringliteral">"fd_id"</span>;
<a name="l00130"></a><a class="code" href="contact_8inc_8php.html#a6">00130</a> <a class="code" href="balance_8php.html#a2">$w</a>-&gt;value= <a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select fd_id,fd_label from fiche_def where "</span>.
<a name="l00131"></a>00131 <span class="stringliteral">" frd_id="</span>.<a class="code" href="constant_8php.html#a66">FICHE_TYPE_CONTACT</a>);
<a name="l00132"></a>00132 echo <a class="code" href="balance_8php.html#a2">$w</a>-&gt;IOValue();
<a name="l00133"></a>00133 ?&gt;
<a name="l00134"></a>00134 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"sa"</span> value=<span class="stringliteral">"blank"</span>&gt;
<a name="l00135"></a>00135 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"submit_query"</span> value=<span class="stringliteral">"Ajout Contact"</span>&gt;
<a name="l00136"></a>00136
<a name="l00137"></a>00137 &lt;/form&gt;
<a name="l00138"></a>00138 &lt;/span&gt;
<a name="l00139"></a>00139
<a name="l00140"></a>00140 &lt;form&gt;
<a name="l00141"></a>00141 &lt;?
<a name="l00142"></a><a class="code" href="contact_8inc_8php.html#a7">00142</a> <a class="code" href="contact_8inc_8php.html#a7">$qcode</a>=(isset($_GET['qcode']))?$_GET['qcode']:<span class="stringliteral">""</span>;
<a name="l00143"></a>00143 printf ('&lt;span&gt;Tiers QuickCode: &lt;input type="text" name="qcode" value="%s"&gt;&lt;/span&gt;',
<a name="l00144"></a>00144 $qcode);
<a name="l00145"></a>00145 ?&gt;
<a name="l00146"></a>00146 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"submit_query"</span> value=<span class="stringliteral">"recherche"</span>&gt;
<a name="l00147"></a>00147 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="client_8inc_8php.html#a5">name</a>=<span class="stringliteral">"p_action"</span> value=<span class="stringliteral">"contact"</span>&gt;
<a name="l00148"></a>00148
<a name="l00149"></a>00149 &lt;/<a class="code" href="constant_8php.html#a7">FORM</a>&gt;
<a name="l00150"></a>00150 &lt;?
<a name="l00151"></a><a class="code" href="contact_8inc_8php.html#a8">00151</a> <a class="code" href="contact_8inc_8php.html#a8">$contact</a>=<span class="keyword">new</span> Contact($cn);
<a name="l00152"></a><a class="code" href="contact_8inc_8php.html#a9">00152</a> <a class="code" href="client_8inc_8php.html#a8">$search</a>=(isset($_GET['query']))?$_GET['query']:<span class="stringliteral">""</span>;
<a name="l00153"></a>00153 <span class="comment">// check if a company is asked if yes, add a condition</span>
<a name="l00154"></a>00154 <span class="keywordflow">if</span> ( $qcode != <span class="stringliteral">""</span> )
<a name="l00155"></a>00155 {
<a name="l00156"></a>00156 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;company=<a class="code" href="contact_8inc_8php.html#a7">$qcode</a>;
<a name="l00157"></a>00157 }
<a name="l00158"></a>00158 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00159"></a>00159 echo <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;Summary($search);
<a name="l00160"></a>00160 echo '&lt;/div&gt;';
<a name="l00161"></a>00161
<a name="l00162"></a>00162
<a name="l00163"></a>00163 }
<a name="l00165"></a>00165 <span class="comment">// Show Detail</span>
<a name="l00166"></a>00166 <span class="keywordflow">if</span> ( $sub_action == 'detail' )
<a name="l00167"></a>00167 {
<a name="l00168"></a>00168 $f_id=$_REQUEST['<a class="code" href="facture_8inc_8php.html#a18">f_id</a>'];
<a name="l00169"></a>00169 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00170"></a>00170 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>=<span class="keyword">new</span> <a class="code" href="classcontact.html">contact</a>($cn,$<a class="code" href="facture_8inc_8php.html#a18">f_id</a>);
<a name="l00171"></a>00171 echo $retour;
<a name="l00172"></a>00172 echo '&lt;form <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"'.$_SERVER['REQUEST_URI'].'"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00173"></a>00173 echo <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;Display(<span class="keyword">false</span>);
<a name="l00174"></a>00174 <a class="code" href="balance_8php.html#a2">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00175"></a>00175 <a class="code" href="balance_8php.html#a2">$w</a>-&gt;name=<span class="stringliteral">"p_action"</span>;
<a name="l00176"></a>00176 <a class="code" href="balance_8php.html#a2">$w</a>-&gt;value=<span class="stringliteral">"contact"</span>;
<a name="l00177"></a>00177 echo <a class="code" href="balance_8php.html#a2">$w</a>-&gt;IOValue();
<a name="l00178"></a>00178 <a class="code" href="balance_8php.html#a2">$w</a>-&gt;name=<span class="stringliteral">"f_id"</span>;
<a name="l00179"></a>00179 <a class="code" href="balance_8php.html#a2">$w</a>-&gt;value=$f_id;
<a name="l00180"></a>00180 echo <a class="code" href="balance_8php.html#a2">$w</a>-&gt;IOValue();
<a name="l00181"></a>00181
<a name="l00182"></a>00182 echo <a class="code" href="balance_8php.html#a2">$w</a>-&gt;Submit('mod<span class="charliteral">','</span>Sauver les modifications');
<a name="l00183"></a>00183 echo '&lt;A HREF=<span class="stringliteral">"commercial.php?p_action=contact"</span>&gt;&lt;INPUT TYPE=<span class="stringliteral">"button"</span> value=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;';
<a name="l00184"></a>00184 echo <a class="code" href="balance_8php.html#a2">$w</a>-&gt;Submit('<span class="keyword">delete</span><span class="charliteral">','</span>Effacer cette <a class="code" href="classfiche.html">fiche</a>');
<a name="l00185"></a>00185 echo '&lt;/form&gt;';
<a name="l00186"></a>00186 echo $retour;
<a name="l00187"></a>00187 echo '&lt;div&gt;';
<a name="l00188"></a>00188 }
<a name="l00189"></a>00189 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00190"></a>00190
<a name="l00191"></a>00191
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<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>

View file

@ -0,0 +1,302 @@
<!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/contact.inc.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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000006.html">include</a></div>
<h1>contact.inc.php File Reference</h1>File for adding contact, contact is a kind of fichethe contact class is derived from the class fiche the contact is in fact a card but more specific This file is included from the module "Gestion". <a href="#_details">More...</a>
<p>
<p>
<a href="contact_8inc_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>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a0">$sub_action</a> = (isset($_REQUEST['sa']))?$_REQUEST['sa']:&quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a1">$h_url</a> = sprintf('&lt;input type=&quot;hidden&quot; name=&quot;url&quot; value=&quot;%s&quot;&gt;',urldecode($_REQUEST['url']))</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a2">$c</a> = new <a class="el" href="classcontact.html">contact</a>($cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a3">$url</a> = urlencode($_SERVER['REQUEST_URI'])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a4">$w</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;select&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a5">name</a> = &quot;fd_id&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a6">value</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a7">$qcode</a> = (isset($_GET['qcode']))?$_GET['qcode']:&quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a8">$contact</a> = new Contact($cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a9">$search</a> = (isset($_GET['query']))?$_GET['query']:&quot;&quot;</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
File for adding contact, contact is a kind of fichethe contact class is derived from the class fiche the contact is in fact a card but more specific This file is included from the module "Gestion".
<p>
<p>
Definition in file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>.<hr><h2>Variable Documentation</h2>
<a class="anchor" name="a2"></a><!-- doxytag: member="contact.inc.php::$c" ref="a2" 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">$c = new <a class="el" href="classcontact.html">contact</a>($cn) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00093">93</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="contact.inc.php::$contact" ref="a8" 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">$<a class="el" href="classcontact.html">contact</a> = new Contact($cn) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00151">151</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="contact.inc.php::$h_url" ref="a1" 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">$h_url = sprintf('&lt;input type=&quot;hidden&quot; name=&quot;url&quot; value=&quot;%s&quot;&gt;',urldecode($_REQUEST['url'])) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00038">38</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="contact.inc.php::$qcode" ref="a7" 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">$qcode = (isset($_GET['qcode']))?$_GET['qcode']:&quot;&quot; </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00142">142</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>.
<p>
Referenced by <a class="el" href="class__document_8php-source.html#l00363">Document::Replace()</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="contact.inc.php::$search" ref="a9" 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">$search = (isset($_GET['query']))?$_GET['query']:&quot;&quot; </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00152">152</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="contact.inc.php::$sub_action" ref="a0" 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">$sub_action = (isset($_REQUEST['sa']))?$_REQUEST['sa']:&quot;&quot; </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00030">30</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="contact.inc.php::$url" 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">$url = urlencode($_SERVER['REQUEST_URI']) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00124">124</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="contact.inc.php::$w" ref="a4" 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">$w = new <a class="el" href="classwidget.html">widget</a>(&quot;select&quot;) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00128">128</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="contact.inc.php::name" ref="a5" 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">$w <a class="el" href="ecrit__ouv_8php.html#a8">name</a> = &quot;fd_id&quot; </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00129">129</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="contact.inc.php::value" ref="a6" 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">$w <a class="el" href="ecrit__ouv_8php.html#a7">value</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment"> <a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select fd_id,fd_label from fiche_def where "</span>.
<span class="stringliteral">" frd_id="</span>.<a class="code" href="constant_8php.html#a66">FICHE_TYPE_CONTACT</a>)
</pre></div>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00130">130</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<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>

View file

@ -40,7 +40,7 @@
<a name="l00040"></a>00040 } <a name="l00040"></a>00040 }
<a name="l00041"></a>00041 <a name="l00041"></a>00041
<a name="l00042"></a>00042 ?&gt; <a name="l00042"></a>00042 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

File diff suppressed because one or more lines are too long

View file

@ -78,7 +78,7 @@
<a name="l00084"></a>00084 <a class="code" href="balance_8php.html#a9">$a</a>.=<span class="stringliteral">"\r\n"</span>; <a name="l00084"></a>00084 <a class="code" href="balance_8php.html#a9">$a</a>.=<span class="stringliteral">"\r\n"</span>;
<a name="l00085"></a>00085 <span class="keywordflow">return</span> <a class="code" href="balance_8php.html#a9">$a</a>; <a name="l00085"></a>00085 <span class="keywordflow">return</span> <a class="code" href="balance_8php.html#a9">$a</a>;
<a name="l00086"></a>00086 } <a name="l00086"></a>00086 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

View file

@ -68,7 +68,7 @@ Definition at line <a class="el" href="decla_8BE_8inc_8php-source.html#l00036">3
References <a class="el" href="balance_8php-source.html#l00108">$a</a>, <a class="el" href="balance_8php-source.html#l00109">$b</a>, <a class="el" href="client_8inc_8php-source.html#l00127">$client</a>, <a class="el" href="parametre_8php-source.html#l00164">$my</a>, and <a class="el" href="client_8inc_8php-source.html#l00116">name</a>. </td> References <a class="el" href="balance_8php-source.html#l00108">$a</a>, <a class="el" href="balance_8php-source.html#l00109">$b</a>, <a class="el" href="client_8inc_8php-source.html#l00127">$client</a>, <a class="el" href="parametre_8php-source.html#l00164">$my</a>, and <a class="el" href="client_8inc_8php-source.html#l00116">name</a>. </td>
</tr> </tr>
</table> </table>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 22 23:54:04 2006 for phpcompta by&nbsp; <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html"> <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body> </body>

Some files were not shown because too many files have changed in this diff Show more