aboutsummaryrefslogtreecommitdiff
path: root/doc/html/classPhpIsisDb.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/classPhpIsisDb.html')
-rw-r--r--doc/html/classPhpIsisDb.html343
1 files changed, 343 insertions, 0 deletions
diff --git a/doc/html/classPhpIsisDb.html b/doc/html/classPhpIsisDb.html
new file mode 100644
index 0000000..47116c8
--- /dev/null
+++ b/doc/html/classPhpIsisDb.html
@@ -0,0 +1,343 @@
+<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>Cinisis Database Reader: PhpIsisDb Class Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javaScript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body onload='searchBox.OnSelectItem(0);'>
+<!-- Generated by Doxygen 1.6.3 -->
+<script type="text/javascript"><!--
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+--></script>
+<div class="navigation" id="top">
+ <div class="tabs">
+ <ul>
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
+ <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
+ <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <img id="MSearchSelect" src="search/search.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div class="tabs">
+ <ul>
+ <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
+ <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
+ <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
+ </ul>
+ </div>
+</div>
+<div class="contents">
+<h1>PhpIsisDb Class Reference</h1><!-- doxytag: class="PhpIsisDb" --><!-- doxytag: inherits="IsisDb" --><div class="dynheader">
+Inheritance diagram for PhpIsisDb:</div>
+<div class="dynsection">
+ <div class="center">
+ <img src="classPhpIsisDb.png" usemap="#PhpIsisDb_map" alt=""/>
+ <map id="PhpIsisDb_map" name="PhpIsisDb_map">
+<area href="interfaceIsisDb.html" alt="IsisDb" shape="rect" coords="0,0,68,24"/>
+</map>
+ </div>
+</div>
+
+<p><a href="classPhpIsisDb-members.html">List of all members.</a></p>
+<table border="0" cellpadding="0" cellspacing="0">
+<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPhpIsisDb.html#abb6db51373d065baf9135fd278653bc5">__construct</a> ($schema)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPhpIsisDb.html#af2266931746f6f2335b831be8b8333fb">read</a> ($id)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPhpIsisDb.html#a0491ce84e5a85e775f811f18e63ef0fb">entries</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPhpIsisDb.html#a7f4f3a9fd6dab86bd3cb3149d65f92cd">example</a> ()</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPhpIsisDb.html#a849f238c3323f53431be1c225a914d98">tag</a> ($results)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPhpIsisDb.html#a46f8c39b305f170e2cf8ae5f4d218e74">charset</a> (&amp;$data)</td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPhpIsisDb.html#a8d8185060a26d4fe673844b2ea3db39a">logger</a> ($message)</td></tr>
+<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPhpIsisDb.html#a23761cc04114090a2863467b2accc80a">check</a> ($schema, $section=NULL)</td></tr>
+<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPhpIsisDb.html#a536e4c67dda71a7c7dad9ffbac299f9b">$db</a></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPhpIsisDb.html#a275e29f3711d37fc67cea340b564ddf3">$format</a></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPhpIsisDb.html#a0742105b3efab477fda99cd0561f98c7">$log</a></td></tr>
+</table>
+<hr/><a name="_details"></a><h2>Detailed Description</h2>
+<p>PHP-Isis implementation of <a class="el" href="interfaceIsisDb.html">IsisDb</a>.</p>
+<dl class="warning"><dt><b>Warning:</b></dt><dd>This implementation is currently outdated and lacks basic functionalities such as subfield handling and therefore it's use is not recommended. </dd></dl>
+<hr/><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" id="abb6db51373d065baf9135fd278653bc5"></a><!-- doxytag: member="PhpIsisDb::__construct" ref="abb6db51373d065baf9135fd278653bc5" args="($schema)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PhpIsisDb::__construct </td>
+ <td>(</td>
+ <td class="paramtype">$&nbsp;</td>
+ <td class="paramname"> <em>schema</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Constructor.</p>
+<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="interfaceIsisDb.html#ae1c0a3496d55f710d34c5c19ada7a66b">IsisDb::__construct()</a> </dd></dl>
+
+<p>Implements <a class="el" href="interfaceIsisDb.html#ae1c0a3496d55f710d34c5c19ada7a66b">IsisDb</a>.</p>
+
+</div>
+</div>
+<hr/><h2>Member Function Documentation</h2>
+<a class="anchor" id="a46f8c39b305f170e2cf8ae5f4d218e74"></a><!-- doxytag: member="PhpIsisDb::charset" ref="a46f8c39b305f170e2cf8ae5f4d218e74" args="(&amp;$data)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PhpIsisDb::charset </td>
+ <td>(</td>
+ <td class="paramtype">&amp;$&nbsp;</td>
+ <td class="paramname"> <em>data</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Charset conversion.</p>
+<p>Converts a string from the database charset to UTF-8.</p>
+<dl><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>$data</em>&nbsp;</td><td>String to be converted.</td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="return"><dt><b>Returns:</b></dt><dd>String converted to UTF-8. </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="a23761cc04114090a2863467b2accc80a"></a><!-- doxytag: member="PhpIsisDb::check" ref="a23761cc04114090a2863467b2accc80a" args="($schema, $section=NULL)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">static PhpIsisDb::check </td>
+ <td>(</td>
+ <td class="paramtype">$&nbsp;</td>
+ <td class="paramname"> <em>schema</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">$&nbsp;</td>
+ <td class="paramname"> <em>section</em> = <code>NULL</code></td><td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td><td><code> [static]</code></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Check configuration.</p>
+<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="interfaceIsisDb.html#af681b8f990b579f1835aa7ba4c83f1b8">IsisDb::check()</a> </dd></dl>
+
+<p>Implements <a class="el" href="interfaceIsisDb.html#af681b8f990b579f1835aa7ba4c83f1b8">IsisDb</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a0491ce84e5a85e775f811f18e63ef0fb"></a><!-- doxytag: member="PhpIsisDb::entries" ref="a0491ce84e5a85e775f811f18e63ef0fb" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PhpIsisDb::entries </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Return number of entries in the database.</p>
+<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="interfaceIsisDb.html#a86f38eca2b6d0835b60770d8a4e511ff">IsisDb::entries()</a> </dd></dl>
+
+<p>Implements <a class="el" href="interfaceIsisDb.html#a86f38eca2b6d0835b60770d8a4e511ff">IsisDb</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a7f4f3a9fd6dab86bd3cb3149d65f92cd"></a><!-- doxytag: member="PhpIsisDb::example" ref="a7f4f3a9fd6dab86bd3cb3149d65f92cd" args="()" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PhpIsisDb::example </td>
+ <td>(</td>
+ <td class="paramname"></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Return an example schema.</p>
+<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="interfaceIsisDb.html#a857c10d90da64067efa17afb2f32edb6">IsisDb::example()</a> </dd></dl>
+
+<p>Implements <a class="el" href="interfaceIsisDb.html#a857c10d90da64067efa17afb2f32edb6">IsisDb</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a8d8185060a26d4fe673844b2ea3db39a"></a><!-- doxytag: member="PhpIsisDb::logger" ref="a8d8185060a26d4fe673844b2ea3db39a" args="($message)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PhpIsisDb::logger </td>
+ <td>(</td>
+ <td class="paramtype">$&nbsp;</td>
+ <td class="paramname"> <em>message</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Class logger.</p>
+<dl><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>$message</em>&nbsp;</td><td>Log message. </td></tr>
+ </table>
+ </dd>
+</dl>
+
+</div>
+</div>
+<a class="anchor" id="af2266931746f6f2335b831be8b8333fb"></a><!-- doxytag: member="PhpIsisDb::read" ref="af2266931746f6f2335b831be8b8333fb" args="($id)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PhpIsisDb::read </td>
+ <td>(</td>
+ <td class="paramtype">$&nbsp;</td>
+ <td class="paramname"> <em>id</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Read an entry.</p>
+<p>The PHP-Isis API doen't implement such feature so we have to emulate it by geting all entries and using isis_data_seek() to get the desired record.</p>
+<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="interfaceIsisDb.html#a68335ec0db01ef03f0725621b38b5686">IsisDb::read()</a></dd></dl>
+<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000003">Todo:</a></b></dt><dd>Subfield handling. </dd></dl>
+
+<p>Implements <a class="el" href="interfaceIsisDb.html#a68335ec0db01ef03f0725621b38b5686">IsisDb</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a849f238c3323f53431be1c225a914d98"></a><!-- doxytag: member="PhpIsisDb::tag" ref="a849f238c3323f53431be1c225a914d98" args="($results)" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PhpIsisDb::tag </td>
+ <td>(</td>
+ <td class="paramtype">$&nbsp;</td>
+ <td class="paramname"> <em>results</em></td>
+ <td>&nbsp;)&nbsp;</td>
+ <td></td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Tag results of a db query.</p>
+<p>This function converts the keys of query result from field numbers to names.</p>
+<dl><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>$results</em>&nbsp;</td><td>Database query results.</td></tr>
+ </table>
+ </dd>
+</dl>
+<dl class="return"><dt><b>Returns:</b></dt><dd>Tagged database result. </dd></dl>
+
+</div>
+</div>
+<hr/><h2>Member Data Documentation</h2>
+<a class="anchor" id="a536e4c67dda71a7c7dad9ffbac299f9b"></a><!-- doxytag: member="PhpIsisDb::$db" ref="a536e4c67dda71a7c7dad9ffbac299f9b" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PhpIsisDb::$db</td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Database resource. </p>
+
+</div>
+</div>
+<a class="anchor" id="a275e29f3711d37fc67cea340b564ddf3"></a><!-- doxytag: member="PhpIsisDb::$format" ref="a275e29f3711d37fc67cea340b564ddf3" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PhpIsisDb::$format</td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Database format, derived from $schema. </p>
+
+</div>
+</div>
+<a class="anchor" id="a0742105b3efab477fda99cd0561f98c7"></a><!-- doxytag: member="PhpIsisDb::$log" ref="a0742105b3efab477fda99cd0561f98c7" args="" -->
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">PhpIsisDb::$log</td>
+ </tr>
+ </table>
+</div>
+<div class="memdoc">
+<p>Class action log. </p>
+
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following file:<ul>
+<li>classes/backends/PhpIsisDb.php</li>
+</ul>
+</div>
+<!--- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Variables</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<hr class="footer"/><address style="text-align: right;"><small>Generated on Fri Aug 20 15:38:20 2010 for Cinisis Database Reader by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
+</body>
+</html>