aboutsummaryrefslogtreecommitdiff
path: root/doc/latex
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2011-02-23 11:45:39 -0300
committerSilvio Rhatto <silvio@devlet.com.br>2011-02-23 11:45:39 -0300
commit37ca029f0fc8f35584f944a5df48a060a2d9b5e4 (patch)
tree22a9bcf84c0d72ed75a822db8520f92661299d7f /doc/latex
parent07563f53baedcf6085b4467dd4659b1d0e0ab17a (diff)
downloadcinisis-37ca029f0fc8f35584f944a5df48a060a2d9b5e4.tar.gz
cinisis-37ca029f0fc8f35584f944a5df48a060a2d9b5e4.tar.bz2
Documentation update (4)HEADmaster
Diffstat (limited to 'doc/latex')
-rw-r--r--doc/latex/classBiblioIsisDb.pdfbin4432 -> 4432 bytes
-rw-r--r--doc/latex/classIsisAudit.pdfbin5896 -> 5896 bytes
-rw-r--r--doc/latex/classIsisConnector.pdfbin5892 -> 5892 bytes
-rw-r--r--doc/latex/classIsisFinder.pdfbin5893 -> 5893 bytes
-rw-r--r--doc/latex/classIsisMap.pdfbin5892 -> 5892 bytes
-rw-r--r--doc/latex/classIsisReader.pdfbin5892 -> 5892 bytes
-rw-r--r--doc/latex/classMaleteDb.pdfbin4661 -> 4661 bytes
-rw-r--r--doc/latex/classPhpIsisDb.pdfbin4491 -> 4491 bytes
-rw-r--r--doc/latex/doxygen.sty4
-rw-r--r--doc/latex/index.tex56
-rw-r--r--doc/latex/interfaceIsisDb.pdfbin5431 -> 5431 bytes
-rw-r--r--doc/latex/refman.tex2
12 files changed, 59 insertions, 3 deletions
diff --git a/doc/latex/classBiblioIsisDb.pdf b/doc/latex/classBiblioIsisDb.pdf
index 256b33f..bad3f16 100644
--- a/doc/latex/classBiblioIsisDb.pdf
+++ b/doc/latex/classBiblioIsisDb.pdf
Binary files differ
diff --git a/doc/latex/classIsisAudit.pdf b/doc/latex/classIsisAudit.pdf
index d51a623..2f3a2d1 100644
--- a/doc/latex/classIsisAudit.pdf
+++ b/doc/latex/classIsisAudit.pdf
Binary files differ
diff --git a/doc/latex/classIsisConnector.pdf b/doc/latex/classIsisConnector.pdf
index 6d98810..ab5304a 100644
--- a/doc/latex/classIsisConnector.pdf
+++ b/doc/latex/classIsisConnector.pdf
Binary files differ
diff --git a/doc/latex/classIsisFinder.pdf b/doc/latex/classIsisFinder.pdf
index 6d9f3ad..e500d8e 100644
--- a/doc/latex/classIsisFinder.pdf
+++ b/doc/latex/classIsisFinder.pdf
Binary files differ
diff --git a/doc/latex/classIsisMap.pdf b/doc/latex/classIsisMap.pdf
index e4516ab..abe6610 100644
--- a/doc/latex/classIsisMap.pdf
+++ b/doc/latex/classIsisMap.pdf
Binary files differ
diff --git a/doc/latex/classIsisReader.pdf b/doc/latex/classIsisReader.pdf
index 765f605..bbb047a 100644
--- a/doc/latex/classIsisReader.pdf
+++ b/doc/latex/classIsisReader.pdf
Binary files differ
diff --git a/doc/latex/classMaleteDb.pdf b/doc/latex/classMaleteDb.pdf
index 0a6a4bc..cb82082 100644
--- a/doc/latex/classMaleteDb.pdf
+++ b/doc/latex/classMaleteDb.pdf
Binary files differ
diff --git a/doc/latex/classPhpIsisDb.pdf b/doc/latex/classPhpIsisDb.pdf
index 687031c..3089039 100644
--- a/doc/latex/classPhpIsisDb.pdf
+++ b/doc/latex/classPhpIsisDb.pdf
Binary files differ
diff --git a/doc/latex/doxygen.sty b/doc/latex/doxygen.sty
index cf8af3f..02080c7 100644
--- a/doc/latex/doxygen.sty
+++ b/doc/latex/doxygen.sty
@@ -27,9 +27,9 @@
\fancyplain{}{\bfseries\thepage}%
}
\rfoot[\fancyplain{}{\bfseries\scriptsize%
- Generated on Tue Feb 22 2011 11:43:15 for Cinisis Database Reader by Doxygen }]{}
+ Generated on Wed Feb 23 2011 11:44:08 for Cinisis Database Reader by Doxygen }]{}
\lfoot[]{\fancyplain{}{\bfseries\scriptsize%
- Generated on Tue Feb 22 2011 11:43:15 for Cinisis Database Reader by Doxygen }}
+ Generated on Wed Feb 23 2011 11:44:08 for Cinisis Database Reader by Doxygen }}
\cfoot{}
%---------- Internal commands used in this style file ----------------
diff --git a/doc/latex/index.tex b/doc/latex/index.tex
index c8954a3..8611c8f 100644
--- a/doc/latex/index.tex
+++ b/doc/latex/index.tex
@@ -61,6 +61,12 @@ Cinisis config files are written in YAML. You'll need to download Spyc
library from https://code.google.com/p/spyc/ and put the files at
the contrib/ folder.
+Configuration
+-------------
+
+ - Put your databases into the db folder, one folder per database.
+ - Optionally edit config/config.yaml to set the default database.
+
Naming conventions
------------------
@@ -87,4 +93,54 @@ For that entry we have fields 10 and 20, where field 10 has two rows (i.e, two
repetitions). The main field is the data wich is has no qualifier (^) and a
subfield is the data with qualifiers (like subfields a and b from above).
\end{DoxyVerbInclude}
+
+
+\subsection*{Example}
+
+The following exemple shows how to read a database entry using two different ISIS backends:
+
+
+\begin{DoxyCodeInclude}
+<?php
+// Import requisites.
+require_once '../index.php';
+
+// Draw the document.
+$display = new CinisisDisplayHelper('Isis Reader');
+$display->open_table();
+
+$configs = array(
+ 0 => array(
+ 'implementation' => 'PhpIsis',
+ 'database' => 'dbname',
+ ),
+ 1 => array(
+ 'implementation' => 'BiblioIsis',
+ 'database' => 'dbname',
+ ),
+);
+
+foreach ($configs as $config) {
+ // Get a db instance.
+ $isis = new Cinisis($config);
+
+ // Test connection.
+ if ($isis->db) {
+ $result = $isis->db->read(1);
+ $entries = $isis->db->entries();
+
+ // Format output.
+ echo '<td>';
+ echo '<pre>';
+ echo 'Implementation: '. $config['implementation'] ."\n";
+ echo "Rows: $entries\n";
+ print_r($result);
+ echo '</pre>';
+ echo '</td>';
+ }
+}
+
+$display->close_table();
+$display->footer();
+\end{DoxyCodeInclude}
\ No newline at end of file
diff --git a/doc/latex/interfaceIsisDb.pdf b/doc/latex/interfaceIsisDb.pdf
index ddb0179..0311e2b 100644
--- a/doc/latex/interfaceIsisDb.pdf
+++ b/doc/latex/interfaceIsisDb.pdf
Binary files differ
diff --git a/doc/latex/refman.tex b/doc/latex/refman.tex
index e55a179..cad4c39 100644
--- a/doc/latex/refman.tex
+++ b/doc/latex/refman.tex
@@ -41,7 +41,7 @@
\vspace*{1cm}
{\large Generated by Doxygen 1.7.1}\\
\vspace*{0.5cm}
-{\small Tue Feb 22 2011 11:43:15}\\
+{\small Wed Feb 23 2011 11:44:08}\\
\end{center}
\end{titlepage}
\clearemptydoublepage