diff options
Diffstat (limited to 'doc/latex')
-rw-r--r-- | doc/latex/classBiblioIsisDb.pdf | bin | 4432 -> 4432 bytes | |||
-rw-r--r-- | doc/latex/classIsisAudit.pdf | bin | 5896 -> 5896 bytes | |||
-rw-r--r-- | doc/latex/classIsisConnector.pdf | bin | 5892 -> 5892 bytes | |||
-rw-r--r-- | doc/latex/classIsisFinder.pdf | bin | 5893 -> 5893 bytes | |||
-rw-r--r-- | doc/latex/classIsisMap.pdf | bin | 5892 -> 5892 bytes | |||
-rw-r--r-- | doc/latex/classIsisReader.pdf | bin | 5892 -> 5892 bytes | |||
-rw-r--r-- | doc/latex/classMaleteDb.pdf | bin | 4661 -> 4661 bytes | |||
-rw-r--r-- | doc/latex/classPhpIsisDb.pdf | bin | 4491 -> 4491 bytes | |||
-rw-r--r-- | doc/latex/doxygen.sty | 4 | ||||
-rw-r--r-- | doc/latex/index.tex | 56 | ||||
-rw-r--r-- | doc/latex/interfaceIsisDb.pdf | bin | 5431 -> 5431 bytes | |||
-rw-r--r-- | doc/latex/refman.tex | 2 |
12 files changed, 59 insertions, 3 deletions
diff --git a/doc/latex/classBiblioIsisDb.pdf b/doc/latex/classBiblioIsisDb.pdf Binary files differindex 256b33f..bad3f16 100644 --- a/doc/latex/classBiblioIsisDb.pdf +++ b/doc/latex/classBiblioIsisDb.pdf diff --git a/doc/latex/classIsisAudit.pdf b/doc/latex/classIsisAudit.pdf Binary files differindex d51a623..2f3a2d1 100644 --- a/doc/latex/classIsisAudit.pdf +++ b/doc/latex/classIsisAudit.pdf diff --git a/doc/latex/classIsisConnector.pdf b/doc/latex/classIsisConnector.pdf Binary files differindex 6d98810..ab5304a 100644 --- a/doc/latex/classIsisConnector.pdf +++ b/doc/latex/classIsisConnector.pdf diff --git a/doc/latex/classIsisFinder.pdf b/doc/latex/classIsisFinder.pdf Binary files differindex 6d9f3ad..e500d8e 100644 --- a/doc/latex/classIsisFinder.pdf +++ b/doc/latex/classIsisFinder.pdf diff --git a/doc/latex/classIsisMap.pdf b/doc/latex/classIsisMap.pdf Binary files differindex e4516ab..abe6610 100644 --- a/doc/latex/classIsisMap.pdf +++ b/doc/latex/classIsisMap.pdf diff --git a/doc/latex/classIsisReader.pdf b/doc/latex/classIsisReader.pdf Binary files differindex 765f605..bbb047a 100644 --- a/doc/latex/classIsisReader.pdf +++ b/doc/latex/classIsisReader.pdf diff --git a/doc/latex/classMaleteDb.pdf b/doc/latex/classMaleteDb.pdf Binary files differindex 0a6a4bc..cb82082 100644 --- a/doc/latex/classMaleteDb.pdf +++ b/doc/latex/classMaleteDb.pdf diff --git a/doc/latex/classPhpIsisDb.pdf b/doc/latex/classPhpIsisDb.pdf Binary files differindex 687031c..3089039 100644 --- a/doc/latex/classPhpIsisDb.pdf +++ b/doc/latex/classPhpIsisDb.pdf 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 Binary files differindex ddb0179..0311e2b 100644 --- a/doc/latex/interfaceIsisDb.pdf +++ b/doc/latex/interfaceIsisDb.pdf 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 |