Added more meta-information methods, with tests

This commit is contained in:
Timothy Warren 2012-05-09 13:54:38 -04:00
parent eb5d30ab21
commit 3da9cd9c19
42 changed files with 671 additions and 190 deletions

View File

@ -367,6 +367,31 @@ abstract class DB_PDO extends PDO {
return $this->driver_query($this->sql->system_table_list()); return $this->driver_query($this->sql->system_table_list());
} }
// --------------------------------------------------------------------------
/**
* Retrieve column information for the current database table
*
* @param string $table
* @return array
*/
public function get_columns($table)
{
return $this->driver_query($this->sql->column_list($table), FALSE);
}
// --------------------------------------------------------------------------
/**
* Retrieve list of data types for the database
*
* @return array
*/
public function get_types()
{
return $this->driver_query($this->sql->type_list(), FALSE);
}
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
/** /**
@ -378,11 +403,18 @@ abstract class DB_PDO extends PDO {
*/ */
protected function driver_query($sql, $filtered_index=TRUE) protected function driver_query($sql, $filtered_index=TRUE)
{ {
// Return if the query doesn't apply to the driver
if ($sql === FALSE) if ($sql === FALSE)
{ {
return FALSE; return FALSE;
} }
// Return predefined data
if (is_array($sql))
{
return $sql;
}
$res = $this->query($sql); $res = $this->query($sql);
$flag = ($filtered_index) ? PDO::FETCH_NUM : PDO::FETCH_ASSOC; $flag = ($filtered_index) ? PDO::FETCH_NUM : PDO::FETCH_ASSOC;

View File

@ -168,5 +168,14 @@ abstract class DB_SQL {
* @return mixed * @return mixed
*/ */
abstract public function type_list(); abstract public function type_list();
/**
* Get information about the columns in the
* specified table
*
* @param string
* @return string
*/
abstract public function column_list($table);
} }
// End of db_sql.php // End of db_sql.php

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -81,6 +81,7 @@ method if the database does not support 'TRUNCATE';</span><pre>empty_table()</pr
</span><pre>getAttribute()</pre></a></li> </span><pre>getAttribute()</pre></a></li>
<li class="method public "><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers() <li class="method public "><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers()
</span><pre>getAvailableDrivers()</pre></a></li> </span><pre>getAvailableDrivers()</pre></a></li>
<li class="method public "><a href="#get_columns" title="get_columns :: Retrieve column information for the current database table"><span class="description">Retrieve column information for the current database table</span><pre>get_columns()</pre></a></li>
<li class="method public "><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li> <li class="method public "><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li>
<li class="method public "><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li> <li class="method public "><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li>
<li class="method public "><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li> <li class="method public "><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li>
@ -93,6 +94,7 @@ the connection/database"><span class="description">Retreives an array of non-use
the connection/database</span><pre>get_system_tables()</pre></a></li> the connection/database</span><pre>get_system_tables()</pre></a></li>
<li class="method public "><a href="#get_tables" title="get_tables :: Return list of tables for the current database"><span class="description">Return list of tables for the current database</span><pre>get_tables()</pre></a></li> <li class="method public "><a href="#get_tables" title="get_tables :: Return list of tables for the current database"><span class="description">Return list of tables for the current database</span><pre>get_tables()</pre></a></li>
<li class="method public "><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li> <li class="method public "><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li>
<li class="method public "><a href="#get_types" title="get_types :: Retrieve list of data types for the database"><span class="description">Retrieve list of data types for the database</span><pre>get_types()</pre></a></li>
<li class="method public "><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li> <li class="method public "><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li>
<li class="method public "><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction() <li class="method public "><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction()
</span><pre>inTransaction()</pre></a></li> </span><pre>inTransaction()</pre></a></li>
@ -316,6 +318,21 @@ method if the database does not support 'TRUNCATE';</h2>
</tr></table> </tr></table>
</div></div> </div></div>
</div> </div>
<a name="get_columns" id="get_columns"></a><div class="element clickable method public get_columns" data-toggle="collapse" data-target=".get_columns .collapse">
<h2>Retrieve column information for the current database table</h2>
<pre>get_columns(string $table) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse"> <a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse">
<h2>Return list of dbs for the current connection, if possible</h2> <h2>Return list of dbs for the current connection, if possible</h2>
<pre>get_dbs() : array</pre> <pre>get_dbs() : array</pre>
@ -422,6 +439,16 @@ the connection/database</h2>
<div class="subelement response"><code>array</code></div> <div class="subelement response"><code>array</code></div>
</div></div> </div></div>
</div> </div>
<a name="get_types" id="get_types"></a><div class="element clickable method public get_types" data-toggle="collapse" data-target=".get_types .collapse">
<h2>Retrieve list of data types for the database</h2>
<pre>get_types() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse"> <a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse">
<h2>Return list of views for the current database</h2> <h2>Return list of views for the current database</h2>
<pre>get_views() : array</pre> <pre>get_views() : array</pre>
@ -680,7 +707,7 @@ the connection/database</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -153,7 +153,7 @@ and organizes database connections</p></p>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -59,6 +59,9 @@
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li> <i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#avg" title="avg :: Get the 'average' keyword"><span class="description">Get the 'average' keyword</span><pre>avg()</pre></a></li> <li class="method public "><a href="#avg" title="avg :: Get the 'average' keyword"><span class="description">Get the 'average' keyword</span><pre>avg()</pre></a></li>
<li class="method public "><a href="#column_list" title="column_list :: Get information about the columns in the
specified table"><span class="description">Get information about the columns in the
specified table</span><pre>column_list()</pre></a></li>
<li class="method public "><a href="#db_list" title="db_list :: Returns sql to list other databases"><span class="description">Returns sql to list other databases</span><pre>db_list()</pre></a></li> <li class="method public "><a href="#db_list" title="db_list :: Returns sql to list other databases"><span class="description">Returns sql to list other databases</span><pre>db_list()</pre></a></li>
<li class="method public "><a href="#distinct" title="distinct :: Get the 'distinct' keyword"><span class="description">Get the 'distinct' keyword</span><pre>distinct()</pre></a></li> <li class="method public "><a href="#distinct" title="distinct :: Get the 'distinct' keyword"><span class="description">Get the 'distinct' keyword</span><pre>distinct()</pre></a></li>
<li class="method public "><a href="#function_list" title="function_list :: Return sql to list functions"><span class="description">Return sql to list functions</span><pre>function_list()</pre></a></li> <li class="method public "><a href="#function_list" title="function_list :: Return sql to list functions"><span class="description">Return sql to list functions</span><pre>function_list()</pre></a></li>
@ -103,6 +106,21 @@
<div class="subelement response"><code>string</code></div> <div class="subelement response"><code>string</code></div>
</div></div> </div></div>
</div> </div>
<a name="column_list" id="column_list"></a><div class="element clickable method public column_list" data-toggle="collapse" data-target=".column_list .collapse">
<h2>Get information about the columns in the
specified table</h2>
<pre>column_list($table) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code></code><p>string</p></div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="db_list" id="db_list"></a><div class="element clickable method public db_list" data-toggle="collapse" data-target=".db_list .collapse"> <a name="db_list" id="db_list"></a><div class="element clickable method public db_list" data-toggle="collapse" data-target=".db_list .collapse">
<h2>Returns sql to list other databases</h2> <h2>Returns sql to list other databases</h2>
<pre>db_list() : string</pre> <pre>db_list() : string</pre>
@ -281,7 +299,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -210,7 +210,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -77,6 +77,7 @@ method if the database does not support 'TRUNCATE';</span><pre>empty_table()</pr
</span><pre>getAttribute()</pre></a></li> </span><pre>getAttribute()</pre></a></li>
<li class="method public inherited"><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers() <li class="method public inherited"><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers()
</span><pre>getAvailableDrivers()</pre></a></li> </span><pre>getAvailableDrivers()</pre></a></li>
<li class="method public inherited"><a href="#get_columns" title="get_columns :: Retrieve column information for the current database table"><span class="description">Retrieve column information for the current database table</span><pre>get_columns()</pre></a></li>
<li class="method public inherited"><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li> <li class="method public inherited"><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li>
<li class="method public inherited"><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li> <li class="method public inherited"><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li>
<li class="method public inherited"><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li> <li class="method public inherited"><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li>
@ -89,6 +90,7 @@ the connection/database"><span class="description">Retreives an array of non-use
the connection/database</span><pre>get_system_tables()</pre></a></li> the connection/database</span><pre>get_system_tables()</pre></a></li>
<li class="method public inherited"><a href="#get_tables" title="get_tables :: Return list of tables for the current database"><span class="description">Return list of tables for the current database</span><pre>get_tables()</pre></a></li> <li class="method public inherited"><a href="#get_tables" title="get_tables :: Return list of tables for the current database"><span class="description">Return list of tables for the current database</span><pre>get_tables()</pre></a></li>
<li class="method public inherited"><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li> <li class="method public inherited"><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li>
<li class="method public inherited"><a href="#get_types" title="get_types :: Retrieve list of data types for the database"><span class="description">Retrieve list of data types for the database</span><pre>get_types()</pre></a></li>
<li class="method public inherited"><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li> <li class="method public inherited"><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li>
<li class="method public inherited"><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction() <li class="method public inherited"><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction()
</span><pre>inTransaction()</pre></a></li> </span><pre>inTransaction()</pre></a></li>
@ -335,6 +337,25 @@ method if the database does not support 'TRUNCATE';</h2>
</table> </table>
</div></div> </div></div>
</div> </div>
<a name="get_columns" id="get_columns"></a><div class="element clickable method public get_columns" data-toggle="collapse" data-target=".get_columns .collapse">
<h2>Retrieve column information for the current database table</h2>
<pre>get_columns(string $table) : array</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\DB_PDO::get_columns()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse"> <a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse">
<h2>Return list of dbs for the current connection, if possible</h2> <h2>Return list of dbs for the current connection, if possible</h2>
<pre>get_dbs() : array</pre> <pre>get_dbs() : array</pre>
@ -481,6 +502,20 @@ the connection/database</h2>
<div class="subelement response"><code>array</code></div> <div class="subelement response"><code>array</code></div>
</div></div> </div></div>
</div> </div>
<a name="get_types" id="get_types"></a><div class="element clickable method public get_types" data-toggle="collapse" data-target=".get_types .collapse">
<h2>Retrieve list of data types for the database</h2>
<pre>get_types() : array</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\DB_PDO::get_types()</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse"> <a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse">
<h2>Return list of views for the current database</h2> <h2>Return list of views for the current database</h2>
<pre>get_views() : array</pre> <pre>get_views() : array</pre>
@ -834,7 +869,7 @@ the last query executed</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -505,7 +505,7 @@ the query</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -309,7 +309,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -213,7 +213,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -81,6 +81,7 @@ method if the database does not support 'TRUNCATE';</span><pre>empty_table()</pr
</span><pre>getAttribute()</pre></a></li> </span><pre>getAttribute()</pre></a></li>
<li class="method public inherited"><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers() <li class="method public inherited"><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers()
</span><pre>getAvailableDrivers()</pre></a></li> </span><pre>getAvailableDrivers()</pre></a></li>
<li class="method public inherited"><a href="#get_columns" title="get_columns :: Retrieve column information for the current database table"><span class="description">Retrieve column information for the current database table</span><pre>get_columns()</pre></a></li>
<li class="method public inherited"><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li> <li class="method public inherited"><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li>
<li class="method public inherited"><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li> <li class="method public inherited"><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li>
<li class="method public inherited"><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li> <li class="method public inherited"><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li>
@ -93,6 +94,7 @@ the connection/database"><span class="description">Retreives an array of non-use
the connection/database</span><pre>get_system_tables()</pre></a></li> the connection/database</span><pre>get_system_tables()</pre></a></li>
<li class="method public inherited"><a href="#get_tables" title="get_tables :: Return list of tables for the current database"><span class="description">Return list of tables for the current database</span><pre>get_tables()</pre></a></li> <li class="method public inherited"><a href="#get_tables" title="get_tables :: Return list of tables for the current database"><span class="description">Return list of tables for the current database</span><pre>get_tables()</pre></a></li>
<li class="method public inherited"><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li> <li class="method public inherited"><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li>
<li class="method public inherited"><a href="#get_types" title="get_types :: Retrieve list of data types for the database"><span class="description">Retrieve list of data types for the database</span><pre>get_types()</pre></a></li>
<li class="method public inherited"><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li> <li class="method public inherited"><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li>
<li class="method public inherited"><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction() <li class="method public inherited"><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction()
</span><pre>inTransaction()</pre></a></li> </span><pre>inTransaction()</pre></a></li>
@ -378,6 +380,25 @@ method if the database does not support 'TRUNCATE';</h2>
</table> </table>
</div></div> </div></div>
</div> </div>
<a name="get_columns" id="get_columns"></a><div class="element clickable method public get_columns" data-toggle="collapse" data-target=".get_columns .collapse">
<h2>Retrieve column information for the current database table</h2>
<pre>get_columns(string $table) : array</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\DB_PDO::get_columns()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse"> <a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse">
<h2>Return list of dbs for the current connection, if possible</h2> <h2>Return list of dbs for the current connection, if possible</h2>
<pre>get_dbs() : array</pre> <pre>get_dbs() : array</pre>
@ -524,6 +545,20 @@ the connection/database</h2>
<div class="subelement response"><code>array</code></div> <div class="subelement response"><code>array</code></div>
</div></div> </div></div>
</div> </div>
<a name="get_types" id="get_types"></a><div class="element clickable method public get_types" data-toggle="collapse" data-target=".get_types .collapse">
<h2>Retrieve list of data types for the database</h2>
<pre>get_types() : array</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\DB_PDO::get_types()</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse"> <a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse">
<h2>Return list of views for the current database</h2> <h2>Return list of views for the current database</h2>
<pre>get_views() : array</pre> <pre>get_views() : array</pre>
@ -870,7 +905,7 @@ the connection/database</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -59,6 +59,7 @@
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li> <i class="icon-custom icon-method"></i> Methods</li>
<li class="method public inherited"><a href="#avg" title="avg :: Get the 'average' keyword"><span class="description">Get the 'average' keyword</span><pre>avg()</pre></a></li> <li class="method public inherited"><a href="#avg" title="avg :: Get the 'average' keyword"><span class="description">Get the 'average' keyword</span><pre>avg()</pre></a></li>
<li class="method public "><a href="#column_list" title="column_list :: SQL to show infromation about columns in a table"><span class="description">SQL to show infromation about columns in a table</span><pre>column_list()</pre></a></li>
<li class="method public "><a href="#db_list" title="db_list :: Returns sql to list other databases"><span class="description">Returns sql to list other databases</span><pre>db_list()</pre></a></li> <li class="method public "><a href="#db_list" title="db_list :: Returns sql to list other databases"><span class="description">Returns sql to list other databases</span><pre>db_list()</pre></a></li>
<li class="method public inherited"><a href="#distinct" title="distinct :: Get the 'distinct' keyword"><span class="description">Get the 'distinct' keyword</span><pre>distinct()</pre></a></li> <li class="method public inherited"><a href="#distinct" title="distinct :: Get the 'distinct' keyword"><span class="description">Get the 'distinct' keyword</span><pre>distinct()</pre></a></li>
<li class="method public "><a href="#function_list" title="function_list :: Return sql to list functions"><span class="description">Return sql to list functions</span><pre>function_list()</pre></a></li> <li class="method public "><a href="#function_list" title="function_list :: Return sql to list functions"><span class="description">Return sql to list functions</span><pre>function_list()</pre></a></li>
@ -107,6 +108,21 @@
<div class="subelement response"><code>string</code></div> <div class="subelement response"><code>string</code></div>
</div></div> </div></div>
</div> </div>
<a name="column_list" id="column_list"></a><div class="element clickable method public column_list" data-toggle="collapse" data-target=".column_list .collapse">
<h2>SQL to show infromation about columns in a table</h2>
<pre>column_list(string $table) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="db_list" id="db_list"></a><div class="element clickable method public db_list" data-toggle="collapse" data-target=".db_list .collapse"> <a name="db_list" id="db_list"></a><div class="element clickable method public db_list" data-toggle="collapse" data-target=".db_list .collapse">
<h2>Returns sql to list other databases</h2> <h2>Returns sql to list other databases</h2>
<pre>db_list() : string</pre> <pre>db_list() : string</pre>
@ -248,10 +264,15 @@
</div> </div>
<a name="table_list" id="table_list"></a><div class="element clickable method public table_list" data-toggle="collapse" data-target=".table_list .collapse"> <a name="table_list" id="table_list"></a><div class="element clickable method public table_list" data-toggle="collapse" data-target=".table_list .collapse">
<h2>Returns sql to list tables</h2> <h2>Returns sql to list tables</h2>
<pre>table_list() : string</pre> <pre>table_list(string $database) : string</pre>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"> <div class="row collapse"><div class="span8">
<p class="long_description"></p> <p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$database</h4>
<code>string</code>
</div>
<h3>Returns</h3> <h3>Returns</h3>
<div class="subelement response"><code>string</code></div> <div class="subelement response"><code>string</code></div>
</div></div> </div></div>
@ -293,7 +314,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -209,7 +209,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -81,6 +81,7 @@ method if the database does not support 'TRUNCATE';</span><pre>empty_table()</pr
</span><pre>getAttribute()</pre></a></li> </span><pre>getAttribute()</pre></a></li>
<li class="method public inherited"><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers() <li class="method public inherited"><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers()
</span><pre>getAvailableDrivers()</pre></a></li> </span><pre>getAvailableDrivers()</pre></a></li>
<li class="method public inherited"><a href="#get_columns" title="get_columns :: Retrieve column information for the current database table"><span class="description">Retrieve column information for the current database table</span><pre>get_columns()</pre></a></li>
<li class="method public inherited"><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li> <li class="method public inherited"><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li>
<li class="method public inherited"><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li> <li class="method public inherited"><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li>
<li class="method public inherited"><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li> <li class="method public inherited"><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li>
@ -93,6 +94,7 @@ the connection/database"><span class="description">Retreives an array of non-use
the connection/database</span><pre>get_system_tables()</pre></a></li> the connection/database</span><pre>get_system_tables()</pre></a></li>
<li class="method public inherited"><a href="#get_tables" title="get_tables :: Return list of tables for the current database"><span class="description">Return list of tables for the current database</span><pre>get_tables()</pre></a></li> <li class="method public inherited"><a href="#get_tables" title="get_tables :: Return list of tables for the current database"><span class="description">Return list of tables for the current database</span><pre>get_tables()</pre></a></li>
<li class="method public inherited"><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li> <li class="method public inherited"><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li>
<li class="method public inherited"><a href="#get_types" title="get_types :: Retrieve list of data types for the database"><span class="description">Retrieve list of data types for the database</span><pre>get_types()</pre></a></li>
<li class="method public inherited"><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li> <li class="method public inherited"><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li>
<li class="method public inherited"><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction() <li class="method public inherited"><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction()
</span><pre>inTransaction()</pre></a></li> </span><pre>inTransaction()</pre></a></li>
@ -378,6 +380,25 @@ method if the database does not support 'TRUNCATE';</h2>
</table> </table>
</div></div> </div></div>
</div> </div>
<a name="get_columns" id="get_columns"></a><div class="element clickable method public get_columns" data-toggle="collapse" data-target=".get_columns .collapse">
<h2>Retrieve column information for the current database table</h2>
<pre>get_columns(string $table) : array</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\DB_PDO::get_columns()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse"> <a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse">
<h2>Return list of dbs for the current connection, if possible</h2> <h2>Return list of dbs for the current connection, if possible</h2>
<pre>get_dbs() : array</pre> <pre>get_dbs() : array</pre>
@ -524,6 +545,20 @@ the connection/database</h2>
<div class="subelement response"><code>array</code></div> <div class="subelement response"><code>array</code></div>
</div></div> </div></div>
</div> </div>
<a name="get_types" id="get_types"></a><div class="element clickable method public get_types" data-toggle="collapse" data-target=".get_types .collapse">
<h2>Retrieve list of data types for the database</h2>
<pre>get_types() : array</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\DB_PDO::get_types()</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse"> <a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse">
<h2>Return list of views for the current database</h2> <h2>Return list of views for the current database</h2>
<pre>get_views() : array</pre> <pre>get_views() : array</pre>
@ -872,7 +907,7 @@ the connection/database</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -59,6 +59,7 @@
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li> <i class="icon-custom icon-method"></i> Methods</li>
<li class="method public inherited"><a href="#avg" title="avg :: Get the 'average' keyword"><span class="description">Get the 'average' keyword</span><pre>avg()</pre></a></li> <li class="method public inherited"><a href="#avg" title="avg :: Get the 'average' keyword"><span class="description">Get the 'average' keyword</span><pre>avg()</pre></a></li>
<li class="method public "><a href="#column_list" title="column_list :: SQL to show infromation about columns in a table"><span class="description">SQL to show infromation about columns in a table</span><pre>column_list()</pre></a></li>
<li class="method public "><a href="#db_list" title="db_list :: Returns sql to list other databases"><span class="description">Returns sql to list other databases</span><pre>db_list()</pre></a></li> <li class="method public "><a href="#db_list" title="db_list :: Returns sql to list other databases"><span class="description">Returns sql to list other databases</span><pre>db_list()</pre></a></li>
<li class="method public inherited"><a href="#distinct" title="distinct :: Get the 'distinct' keyword"><span class="description">Get the 'distinct' keyword</span><pre>distinct()</pre></a></li> <li class="method public inherited"><a href="#distinct" title="distinct :: Get the 'distinct' keyword"><span class="description">Get the 'distinct' keyword</span><pre>distinct()</pre></a></li>
<li class="method public "><a href="#function_list" title="function_list :: Return sql to list functions"><span class="description">Return sql to list functions</span><pre>function_list()</pre></a></li> <li class="method public "><a href="#function_list" title="function_list :: Return sql to list functions"><span class="description">Return sql to list functions</span><pre>function_list()</pre></a></li>
@ -107,6 +108,21 @@
<div class="subelement response"><code>string</code></div> <div class="subelement response"><code>string</code></div>
</div></div> </div></div>
</div> </div>
<a name="column_list" id="column_list"></a><div class="element clickable method public column_list" data-toggle="collapse" data-target=".column_list .collapse">
<h2>SQL to show infromation about columns in a table</h2>
<pre>column_list(string $table) : FALSE</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>FALSE</code></div>
</div></div>
</div>
<a name="db_list" id="db_list"></a><div class="element clickable method public db_list" data-toggle="collapse" data-target=".db_list .collapse"> <a name="db_list" id="db_list"></a><div class="element clickable method public db_list" data-toggle="collapse" data-target=".db_list .collapse">
<h2>Returns sql to list other databases</h2> <h2>Returns sql to list other databases</h2>
<pre>db_list() : FALSE</pre> <pre>db_list() : FALSE</pre>
@ -293,7 +309,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -204,7 +204,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -81,6 +81,7 @@ method if the database does not support 'TRUNCATE';</span><pre>empty_table()</pr
</span><pre>getAttribute()</pre></a></li> </span><pre>getAttribute()</pre></a></li>
<li class="method public inherited"><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers() <li class="method public inherited"><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers()
</span><pre>getAvailableDrivers()</pre></a></li> </span><pre>getAvailableDrivers()</pre></a></li>
<li class="method public inherited"><a href="#get_columns" title="get_columns :: Retrieve column information for the current database table"><span class="description">Retrieve column information for the current database table</span><pre>get_columns()</pre></a></li>
<li class="method public inherited"><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li> <li class="method public inherited"><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li>
<li class="method public inherited"><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li> <li class="method public inherited"><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li>
<li class="method public inherited"><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li> <li class="method public inherited"><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li>
@ -93,6 +94,7 @@ the connection/database"><span class="description">Retreives an array of non-use
the connection/database</span><pre>get_system_tables()</pre></a></li> the connection/database</span><pre>get_system_tables()</pre></a></li>
<li class="method public inherited"><a href="#get_tables" title="get_tables :: Return list of tables for the current database"><span class="description">Return list of tables for the current database</span><pre>get_tables()</pre></a></li> <li class="method public inherited"><a href="#get_tables" title="get_tables :: Return list of tables for the current database"><span class="description">Return list of tables for the current database</span><pre>get_tables()</pre></a></li>
<li class="method public inherited"><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li> <li class="method public inherited"><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li>
<li class="method public inherited"><a href="#get_types" title="get_types :: Retrieve list of data types for the database"><span class="description">Retrieve list of data types for the database</span><pre>get_types()</pre></a></li>
<li class="method public inherited"><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li> <li class="method public inherited"><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li>
<li class="method public inherited"><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction() <li class="method public inherited"><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction()
</span><pre>inTransaction()</pre></a></li> </span><pre>inTransaction()</pre></a></li>
@ -378,6 +380,25 @@ method if the database does not support 'TRUNCATE';</h2>
</table> </table>
</div></div> </div></div>
</div> </div>
<a name="get_columns" id="get_columns"></a><div class="element clickable method public get_columns" data-toggle="collapse" data-target=".get_columns .collapse">
<h2>Retrieve column information for the current database table</h2>
<pre>get_columns(string $table) : array</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\DB_PDO::get_columns()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse"> <a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse">
<h2>Return list of dbs for the current connection, if possible</h2> <h2>Return list of dbs for the current connection, if possible</h2>
<pre>get_dbs() : array</pre> <pre>get_dbs() : array</pre>
@ -520,6 +541,20 @@ the connection/database</h2>
<div class="subelement response"><code>array</code></div> <div class="subelement response"><code>array</code></div>
</div></div> </div></div>
</div> </div>
<a name="get_types" id="get_types"></a><div class="element clickable method public get_types" data-toggle="collapse" data-target=".get_types .collapse">
<h2>Retrieve list of data types for the database</h2>
<pre>get_types() : array</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\DB_PDO::get_types()</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse"> <a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse">
<h2>Return list of views for the current database</h2> <h2>Return list of views for the current database</h2>
<pre>get_views() : array</pre> <pre>get_views() : array</pre>
@ -872,7 +907,7 @@ the connection/database</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -309,7 +309,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -209,7 +209,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -119,6 +119,7 @@ passed array with key / value pairs</span><pre>where()</pre></a></li>
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-property"></i> Properties</li> <i class="icon-custom icon-property"></i> Properties</li>
<li class="property public "><a href="#%24conn_name" title="$conn_name :: Convenience property for connection management"><span class="description">Convenience property for connection management</span><pre>$conn_name</pre></a></li> <li class="property public "><a href="#%24conn_name" title="$conn_name :: Convenience property for connection management"><span class="description">Convenience property for connection management</span><pre>$conn_name</pre></a></li>
<li class="property public "><a href="#%24sql" title="$sql :: Alias to $this-&gt;db-&gt;sql"><span class="description">Alias to $this-&gt;db-&gt;sql</span><pre>$sql</pre></a></li>
<li class="nav-header private">» Private</li> <li class="nav-header private">» Private</li>
<li class="property private "><a href="#%24from_string" title="$from_string :: Compiled 'from' clause"><span class="description">Compiled 'from' clause</span><pre>$from_string</pre></a></li> <li class="property private "><a href="#%24from_string" title="$from_string :: Compiled 'from' clause"><span class="description">Compiled 'from' clause</span><pre>$from_string</pre></a></li>
<li class="property private "><a href="#%24group_array" title="$group_array :: Key/val pairs for group by clause"><span class="description">Key/val pairs for group by clause</span><pre>$group_array</pre></a></li> <li class="property private "><a href="#%24group_array" title="$group_array :: Key/val pairs for group by clause"><span class="description">Key/val pairs for group by clause</span><pre>$group_array</pre></a></li>
@ -134,7 +135,6 @@ for complex select queries</span><pre>$query_map</pre></a></li>
<li class="property private "><a href="#%24select_string" title="$select_string :: Compiled 'select' clause"><span class="description">Compiled 'select' clause</span><pre>$select_string</pre></a></li> <li class="property private "><a href="#%24select_string" title="$select_string :: Compiled 'select' clause"><span class="description">Compiled 'select' clause</span><pre>$select_string</pre></a></li>
<li class="property private "><a href="#%24set_array_keys" title="$set_array_keys :: Keys for insert/update statement"><span class="description">Keys for insert/update statement</span><pre>$set_array_keys</pre></a></li> <li class="property private "><a href="#%24set_array_keys" title="$set_array_keys :: Keys for insert/update statement"><span class="description">Keys for insert/update statement</span><pre>$set_array_keys</pre></a></li>
<li class="property private "><a href="#%24set_string" title="$set_string :: Compiled arguments for insert / update"><span class="description">Compiled arguments for insert / update</span><pre>$set_string</pre></a></li> <li class="property private "><a href="#%24set_string" title="$set_string :: Compiled arguments for insert / update"><span class="description">Compiled arguments for insert / update</span><pre>$set_string</pre></a></li>
<li class="property private "><a href="#%24sql" title="$sql :: Alias to $this-&gt;db-&gt;sql"><span class="description">Alias to $this-&gt;db-&gt;sql</span><pre>$sql</pre></a></li>
<li class="property private "><a href="#%24values" title="$values :: Values to apply to prepared statements"><span class="description">Values to apply to prepared statements</span><pre>$values</pre></a></li> <li class="property private "><a href="#%24values" title="$values :: Values to apply to prepared statements"><span class="description">Values to apply to prepared statements</span><pre>$values</pre></a></li>
</ul> </ul>
</div> </div>
@ -1125,6 +1125,12 @@ passed array with key / value pairs</h2>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24sql" id="$sql"> </a><div class="element clickable property public $sql" data-toggle="collapse" data-target=".$sql .collapse">
<h2>Alias to $this-&gt;db-&gt;sql</h2>
<pre>$sql : <a href="../classes/DB_PDO.html">\DB_PDO</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24from_string" id="$from_string"> </a><div class="element clickable property private $from_string" data-toggle="collapse" data-target=".$from_string .collapse"> <a name="%24from_string" id="$from_string"> </a><div class="element clickable property private $from_string" data-toggle="collapse" data-target=".$from_string .collapse">
<h2>Compiled 'from' clause</h2> <h2>Compiled 'from' clause</h2>
<pre>$from_string : string</pre> <pre>$from_string : string</pre>
@ -1204,12 +1210,6 @@ for complex select queries</h2>
<div class="labels"></div> <div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div> <div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div> </div>
<a name="%24sql" id="$sql"> </a><div class="element clickable property private $sql" data-toggle="collapse" data-target=".$sql .collapse">
<h2>Alias to $this-&gt;db-&gt;sql</h2>
<pre>$sql : <a href="../classes/DB_PDO.html">\DB_PDO</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24values" id="$values"> </a><div class="element clickable property private $values" data-toggle="collapse" data-target=".$values .collapse"> <a name="%24values" id="$values"> </a><div class="element clickable property private $values" data-toggle="collapse" data-target=".$values .collapse">
<h2>Values to apply to prepared statements</h2> <h2>Values to apply to prepared statements</h2>
<pre>$values : array</pre> <pre>$values : array</pre>
@ -1223,7 +1223,7 @@ for complex select queries</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -81,6 +81,7 @@ method if the database does not support 'TRUNCATE';</span><pre>empty_table()</pr
</span><pre>getAttribute()</pre></a></li> </span><pre>getAttribute()</pre></a></li>
<li class="method public inherited"><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers() <li class="method public inherited"><a href="#getAvailableDrivers" title="getAvailableDrivers :: "><span class="description">getAvailableDrivers()
</span><pre>getAvailableDrivers()</pre></a></li> </span><pre>getAvailableDrivers()</pre></a></li>
<li class="method public inherited"><a href="#get_columns" title="get_columns :: Retrieve column information for the current database table"><span class="description">Retrieve column information for the current database table</span><pre>get_columns()</pre></a></li>
<li class="method public inherited"><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li> <li class="method public inherited"><a href="#get_dbs" title="get_dbs :: Return list of dbs for the current connection, if possible"><span class="description">Return list of dbs for the current connection, if possible</span><pre>get_dbs()</pre></a></li>
<li class="method public inherited"><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li> <li class="method public inherited"><a href="#get_functions" title="get_functions :: Return list of function for the current database"><span class="description">Return list of function for the current database</span><pre>get_functions()</pre></a></li>
<li class="method public inherited"><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li> <li class="method public inherited"><a href="#get_last_error" title="get_last_error :: Return the last error for the current database connection"><span class="description">Return the last error for the current database connection</span><pre>get_last_error()</pre></a></li>
@ -91,6 +92,7 @@ method if the database does not support 'TRUNCATE';</span><pre>empty_table()</pr
<li class="method public "><a href="#get_system_tables" title="get_system_tables :: List system tables for the current database"><span class="description">List system tables for the current database</span><pre>get_system_tables()</pre></a></li> <li class="method public "><a href="#get_system_tables" title="get_system_tables :: List system tables for the current database"><span class="description">List system tables for the current database</span><pre>get_system_tables()</pre></a></li>
<li class="method public "><a href="#get_tables" title="get_tables :: List tables for the current database"><span class="description">List tables for the current database</span><pre>get_tables()</pre></a></li> <li class="method public "><a href="#get_tables" title="get_tables :: List tables for the current database"><span class="description">List tables for the current database</span><pre>get_tables()</pre></a></li>
<li class="method public inherited"><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li> <li class="method public inherited"><a href="#get_triggers" title="get_triggers :: Return list of triggers for the current database"><span class="description">Return list of triggers for the current database</span><pre>get_triggers()</pre></a></li>
<li class="method public inherited"><a href="#get_types" title="get_types :: Retrieve list of data types for the database"><span class="description">Retrieve list of data types for the database</span><pre>get_types()</pre></a></li>
<li class="method public inherited"><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li> <li class="method public inherited"><a href="#get_views" title="get_views :: Return list of views for the current database"><span class="description">Return list of views for the current database</span><pre>get_views()</pre></a></li>
<li class="method public inherited"><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction() <li class="method public inherited"><a href="#inTransaction" title="inTransaction :: "><span class="description">inTransaction()
</span><pre>inTransaction()</pre></a></li> </span><pre>inTransaction()</pre></a></li>
@ -374,6 +376,25 @@ method if the database does not support 'TRUNCATE';</h2>
</table> </table>
</div></div> </div></div>
</div> </div>
<a name="get_columns" id="get_columns"></a><div class="element clickable method public get_columns" data-toggle="collapse" data-target=".get_columns .collapse">
<h2>Retrieve column information for the current database table</h2>
<pre>get_columns(string $table) : array</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\DB_PDO::get_columns()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse"> <a name="get_dbs" id="get_dbs"></a><div class="element clickable method public get_dbs" data-toggle="collapse" data-target=".get_dbs .collapse">
<h2>Return list of dbs for the current connection, if possible</h2> <h2>Return list of dbs for the current connection, if possible</h2>
<pre>get_dbs() : array</pre> <pre>get_dbs() : array</pre>
@ -511,6 +532,20 @@ method if the database does not support 'TRUNCATE';</h2>
<div class="subelement response"><code>array</code></div> <div class="subelement response"><code>array</code></div>
</div></div> </div></div>
</div> </div>
<a name="get_types" id="get_types"></a><div class="element clickable method public get_types" data-toggle="collapse" data-target=".get_types .collapse">
<h2>Retrieve list of data types for the database</h2>
<pre>get_types() : array</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\DB_PDO::get_types()</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse"> <a name="get_views" id="get_views"></a><div class="element clickable method public get_views" data-toggle="collapse" data-target=".get_views .collapse">
<h2>Return list of views for the current database</h2> <h2>Return list of views for the current database</h2>
<pre>get_views() : array</pre> <pre>get_views() : array</pre>
@ -887,7 +922,7 @@ method if the database does not support 'TRUNCATE';</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -59,6 +59,7 @@
<li class="nav-header"> <li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li> <i class="icon-custom icon-method"></i> Methods</li>
<li class="method public inherited"><a href="#avg" title="avg :: Get the 'average' keyword"><span class="description">Get the 'average' keyword</span><pre>avg()</pre></a></li> <li class="method public inherited"><a href="#avg" title="avg :: Get the 'average' keyword"><span class="description">Get the 'average' keyword</span><pre>avg()</pre></a></li>
<li class="method public "><a href="#column_list" title="column_list :: SQL to show infromation about columns in a table"><span class="description">SQL to show infromation about columns in a table</span><pre>column_list()</pre></a></li>
<li class="method public "><a href="#db_list" title="db_list :: Returns sql to list other databases"><span class="description">Returns sql to list other databases</span><pre>db_list()</pre></a></li> <li class="method public "><a href="#db_list" title="db_list :: Returns sql to list other databases"><span class="description">Returns sql to list other databases</span><pre>db_list()</pre></a></li>
<li class="method public inherited"><a href="#distinct" title="distinct :: Get the 'distinct' keyword"><span class="description">Get the 'distinct' keyword</span><pre>distinct()</pre></a></li> <li class="method public inherited"><a href="#distinct" title="distinct :: Get the 'distinct' keyword"><span class="description">Get the 'distinct' keyword</span><pre>distinct()</pre></a></li>
<li class="method public "><a href="#function_list" title="function_list :: Return sql to list functions"><span class="description">Return sql to list functions</span><pre>function_list()</pre></a></li> <li class="method public "><a href="#function_list" title="function_list :: Return sql to list functions"><span class="description">Return sql to list functions</span><pre>function_list()</pre></a></li>
@ -107,6 +108,21 @@
<div class="subelement response"><code>string</code></div> <div class="subelement response"><code>string</code></div>
</div></div> </div></div>
</div> </div>
<a name="column_list" id="column_list"></a><div class="element clickable method public column_list" data-toggle="collapse" data-target=".column_list .collapse">
<h2>SQL to show infromation about columns in a table</h2>
<pre>column_list(string $table) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="db_list" id="db_list"></a><div class="element clickable method public db_list" data-toggle="collapse" data-target=".db_list .collapse"> <a name="db_list" id="db_list"></a><div class="element clickable method public db_list" data-toggle="collapse" data-target=".db_list .collapse">
<h2>Returns sql to list other databases</h2> <h2>Returns sql to list other databases</h2>
<pre>db_list() : FALSE</pre> <pre>db_list() : FALSE</pre>
@ -293,7 +309,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -209,7 +209,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -245,7 +245,7 @@ directly - the settings should be safe!</h2>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -68,7 +68,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -94,7 +94,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -65,7 +65,7 @@
</script><div class="row"><footer class="span12"> </script><div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -58,7 +58,6 @@
<li><a href="#drivers/pgsql/pgsql_driver.php"><i class="icon-file"></i>drivers/pgsql/pgsql_driver.php</a></li> <li><a href="#drivers/pgsql/pgsql_driver.php"><i class="icon-file"></i>drivers/pgsql/pgsql_driver.php</a></li>
<li><a href="#drivers/mysql/mysql_util.php"><i class="icon-file"></i>drivers/mysql/mysql_util.php</a></li> <li><a href="#drivers/mysql/mysql_util.php"><i class="icon-file"></i>drivers/mysql/mysql_util.php</a></li>
<li><a href="#drivers/mysql/mysql_driver.php"><i class="icon-file"></i>drivers/mysql/mysql_driver.php</a></li> <li><a href="#drivers/mysql/mysql_driver.php"><i class="icon-file"></i>drivers/mysql/mysql_driver.php</a></li>
<li><a href="#drivers/mysql/mysql_sql.php"><i class="icon-file"></i>drivers/mysql/mysql_sql.php</a></li>
<li><a href="#drivers/firebird/firebird_util.php"><i class="icon-file"></i>drivers/firebird/firebird_util.php</a></li> <li><a href="#drivers/firebird/firebird_util.php"><i class="icon-file"></i>drivers/firebird/firebird_util.php</a></li>
</ul></div> </ul></div>
<div class="span8"> <div class="span8">
@ -71,7 +70,7 @@
<div class="alert alert-info"> <div class="alert alert-info">
The following markers were found: The following markers were found:
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul> </li></ul>
</div> </div>
<div id="marker-accordion"> <div id="marker-accordion">
@ -138,7 +137,7 @@
</tr> </tr>
<tr> <tr>
<td>todo</td> <td>todo</td>
<td>127</td> <td>141</td>
<td>Implement Backup function</td> <td>Implement Backup function</td>
</tr> </tr>
</table></div> </table></div>
@ -161,23 +160,6 @@
</table></div> </table></div>
</div> </div>
<div class="package-contents"> <div class="package-contents">
<a name="drivers/mysql/mysql_sql.php" id="drivers/mysql/mysql_sql.php"></a><h3>
<i class="icon-file"></i>drivers/mysql/mysql_sql.php<small style="float: right;padding-right: 10px;">1</small>
</h3>
<div><table class="table markers table-bordered">
<tr>
<th>Type</th>
<th>Line</th>
<th>Description</th>
</tr>
<tr>
<td>todo</td>
<td>160</td>
<td>implement type_list method</td>
</tr>
</table></div>
</div>
<div class="package-contents">
<a name="drivers/firebird/firebird_util.php" id="drivers/firebird/firebird_util.php"></a><h3> <a name="drivers/firebird/firebird_util.php" id="drivers/firebird/firebird_util.php"></a><h3>
<i class="icon-file"></i>drivers/firebird/firebird_util.php<small style="float: right;padding-right: 10px;">1</small> <i class="icon-file"></i>drivers/firebird/firebird_util.php<small style="float: right;padding-right: 10px;">1</small>
</h3> </h3>
@ -200,7 +182,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -284,7 +284,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -68,7 +68,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -95,7 +95,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -212,7 +212,7 @@ data-fetching methods</p>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -98,7 +98,7 @@
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -116,7 +116,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -35,7 +35,7 @@
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>todo  <ul><li>todo 
<span class="label label-info">7</span> <span class="label label-info">6</span>
</li></ul></a></li> </li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li> <span class="label label-info">0</span></a></li>
@ -317,7 +317,7 @@ instantiates the specific db driver</p>
<div class="row"><footer class="span12"> <div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br> Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br> Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2012-05-08T08:31:38-04:00.<br></footer></div> generated on 2012-05-09T13:54:12-04:00.<br></footer></div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -297,7 +297,7 @@ directly - the settings should be safe!]]></description>
</method> </method>
</class> </class>
</file> </file>
<file path="classes/db_sql.php" hash="a14aa879628ad8b4e40abff2635c19b7" package="Query"> <file path="classes/db_sql.php" hash="14cb2bdd5a651d09acb10a4f583d4927" package="Query">
<docblock line="2"> <docblock line="2">
<description><![CDATA[Query]]></description> <description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description> <long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
@ -519,9 +519,27 @@ directly - the settings should be safe!]]></description>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="179" package="">
<name>column_list</name>
<type>function</type>
<docblock line="172">
<description><![CDATA[Get information about the columns in the
specified table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="172" name="param" description="string" type="" variable="$table"/>
<tag line="172" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="179">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class> </class>
</file> </file>
<file path="classes/db_pdo.php" hash="343830257e8bc84fe3ef14bafbec5287" package="Query"> <file path="classes/db_pdo.php" hash="13e0b7b4c531f3c1ef6ae4fd22a663c6" package="Query">
<docblock line="2"> <docblock line="2">
<description><![CDATA[Query]]></description> <description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description> <long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
@ -886,77 +904,107 @@ the connection/database]]></description>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="379" package=""> <method final="false" abstract="false" static="false" visibility="public" namespace="default" line="378" package="">
<name>driver_query</name> <name>get_columns</name>
<type>function</type> <type>function</type>
<docblock line="372"> <docblock line="372">
<description><![CDATA[Method to simplify retreiving db results for meta-data queries]]></description> <description><![CDATA[Retrieve column information for the current database table]]></description>
<long-description><![CDATA[]]></long-description> <long-description><![CDATA[]]></long-description>
<tag line="372" name="param" description="" type="string" variable="$sql"> <tag line="372" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type> <type by_reference="false">string</type>
</tag> </tag>
<tag line="372" name="param" description="" type="bool" variable="$filtered_index"> <tag line="372" name="return" description="" type="array">
<type by_reference="false">bool</type> <type by_reference="false">array</type>
</tag>
<tag line="372" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag> </tag>
</docblock> </docblock>
<argument line="379"> <argument line="378">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="379">
<name>$filtered_index</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="401" package="">
<name>num_rows</name>
<type>function</type>
<docblock line="396">
<description><![CDATA[Return the number of rows returned for a SELECT query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="396" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="419" package="">
<name>truncate</name>
<type>function</type>
<docblock line="412">
<description><![CDATA[Empty the passed table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="412" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="412" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="419">
<name>$table</name> <name>$table</name>
<default><![CDATA[]]></default> <default><![CDATA[]]></default>
<type/> <type/>
</argument> </argument>
</method> </method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="427" package=""> <method final="false" abstract="false" static="false" visibility="public" namespace="default" line="390" package="">
<name>switch_db</name> <name>get_types</name>
<type>function</type> <type>function</type>
<docblock line="421"> <docblock line="385">
<description><![CDATA[Connect to a different database]]></description> <description><![CDATA[Retrieve list of data types for the database]]></description>
<long-description><![CDATA[]]></long-description> <long-description><![CDATA[]]></long-description>
<tag line="421" name="param" description="" type="string" variable="$name"> <tag line="385" name="return" description="" type="array">
<type by_reference="false">array</type>
</tag>
</docblock>
</method>
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="404" package="">
<name>driver_query</name>
<type>function</type>
<docblock line="397">
<description><![CDATA[Method to simplify retreiving db results for meta-data queries]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="397" name="param" description="" type="string" variable="$sql">
<type by_reference="false">string</type> <type by_reference="false">string</type>
</tag> </tag>
<tag line="421" name="return" description="" type="void"> <tag line="397" name="param" description="" type="bool" variable="$filtered_index">
<type by_reference="false">bool</type>
</tag>
<tag line="397" name="return" description="" type="mixed">
<type by_reference="false">mixed</type>
</tag>
</docblock>
<argument line="404">
<name>$sql</name>
<default><![CDATA[]]></default>
<type/>
</argument>
<argument line="404">
<name>$filtered_index</name>
<default><![CDATA[TRUE]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="433" package="">
<name>num_rows</name>
<type>function</type>
<docblock line="428">
<description><![CDATA[Return the number of rows returned for a SELECT query]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="428" name="return" description="" type="int">
<type by_reference="false">int</type>
</tag>
</docblock>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="451" package="">
<name>truncate</name>
<type>function</type>
<docblock line="444">
<description><![CDATA[Empty the passed table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="444" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="444" name="return" description="" type="void">
<type by_reference="false">void</type> <type by_reference="false">void</type>
</tag> </tag>
</docblock> </docblock>
<argument line="427"> <argument line="451">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
<method final="false" abstract="true" static="false" visibility="public" namespace="default" line="459" package="">
<name>switch_db</name>
<type>function</type>
<docblock line="453">
<description><![CDATA[Connect to a different database]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="453" name="param" description="" type="string" variable="$name">
<type by_reference="false">string</type>
</tag>
<tag line="453" name="return" description="" type="void">
<type by_reference="false">void</type>
</tag>
</docblock>
<argument line="459">
<name>$name</name> <name>$name</name>
<default><![CDATA[]]></default> <default><![CDATA[]]></default>
<type/> <type/>
@ -964,7 +1012,7 @@ the connection/database]]></description>
</method> </method>
</class> </class>
</file> </file>
<file path="classes/query_builder.php" hash="52df3589d2ce8468be2b17096d84fb44" package="Query"> <file path="classes/query_builder.php" hash="81f35b2c0bcb35ae19653d3ba60f65b3" package="Query">
<docblock line="2"> <docblock line="2">
<description><![CDATA[Query]]></description> <description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description> <long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
@ -1109,7 +1157,7 @@ instantiates the specific db driver]]></description>
</tag> </tag>
</docblock> </docblock>
</property> </property>
<property final="false" static="false" visibility="private" line="119" package="Default"> <property final="false" static="false" visibility="public" line="119" package="Default">
<name>$sql</name> <name>$sql</name>
<default><![CDATA[]]></default> <default><![CDATA[]]></default>
<docblock line="114"> <docblock line="114">
@ -2582,7 +2630,7 @@ with array_map and glob]]></description>
</argument> </argument>
</function> </function>
</file> </file>
<file path="drivers/pgsql/pgsql_sql.php" hash="8804b614fabfb9157e6cf80ca2386c02" package="Default"> <file path="drivers/pgsql/pgsql_sql.php" hash="637ace0f653c651090b0521b38687a51" package="Default">
<docblock line="2"> <docblock line="2">
<description><![CDATA[Query]]></description> <description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description> <long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
@ -3136,7 +3184,7 @@ with array_map and glob]]></description>
</method> </method>
</class> </class>
</file> </file>
<file path="drivers/odbc/odbc_sql.php" hash="b150ed395b6e659c303ceb7b1cfaadac" package="Query"> <file path="drivers/odbc/odbc_sql.php" hash="ce667d48c43316e23bafb10a23b9353d" package="Query">
<docblock line="2"> <docblock line="2">
<description><![CDATA[Query]]></description> <description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description> <long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
@ -3301,6 +3349,25 @@ with array_map and glob]]></description>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="165" package="">
<name>column_list</name>
<type>function</type>
<docblock line="159">
<description><![CDATA[SQL to show infromation about columns in a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="159" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="159" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type>
</tag>
</docblock>
<argument line="165">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class> </class>
</file> </file>
<file path="drivers/odbc/odbc_driver.php" hash="345f3b133f34abb5ffaa785e058b1178" package="Query"> <file path="drivers/odbc/odbc_driver.php" hash="345f3b133f34abb5ffaa785e058b1178" package="Query">
@ -3411,7 +3478,7 @@ with array_map and glob]]></description>
</method> </method>
</class> </class>
</file> </file>
<file path="drivers/mysql/mysql_util.php" hash="c5591770029e7bb053659aa2d179b064" package="Query"> <file path="drivers/mysql/mysql_util.php" hash="e5a21ea43032c6f27b727f4adcce1bd4" package="Query">
<docblock line="2"> <docblock line="2">
<description><![CDATA[Query]]></description> <description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description> <long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
@ -3422,7 +3489,7 @@ with array_map and glob]]></description>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/> <tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock> </docblock>
<markers> <markers>
<todo line="127">Implement Backup function</todo> <todo line="141">Implement Backup function</todo>
</markers> </markers>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers"> <class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>MySQL_Util</name> <name>MySQL_Util</name>
@ -3526,20 +3593,20 @@ with array_map and glob]]></description>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="139" package=""> <method final="false" abstract="false" static="false" visibility="public" namespace="default" line="153" package="">
<name>backup_data</name> <name>backup_data</name>
<type>function</type> <type>function</type>
<docblock line="133"> <docblock line="147">
<description><![CDATA[Create an SQL backup file for the current database's data]]></description> <description><![CDATA[Create an SQL backup file for the current database's data]]></description>
<long-description><![CDATA[]]></long-description> <long-description><![CDATA[]]></long-description>
<tag line="133" name="param" description="" type="array" variable="$exclude"> <tag line="147" name="param" description="" type="array" variable="$exclude">
<type by_reference="false">array</type> <type by_reference="false">array</type>
</tag> </tag>
<tag line="133" name="return" description="" type="string"> <tag line="147" name="return" description="" type="string">
<type by_reference="false">string</type> <type by_reference="false">string</type>
</tag> </tag>
</docblock> </docblock>
<argument line="139"> <argument line="153">
<name>$exclude</name> <name>$exclude</name>
<default><![CDATA[array()]]></default> <default><![CDATA[array()]]></default>
<type/> <type/>
@ -3655,7 +3722,7 @@ with array_map and glob]]></description>
</method> </method>
</class> </class>
</file> </file>
<file path="drivers/mysql/mysql_sql.php" hash="7fbb682e32c2dbade410a385d9357c71" package="Query"> <file path="drivers/mysql/mysql_sql.php" hash="a9adb838d5b3f69f076199d198a54d73" package="Query">
<docblock line="2"> <docblock line="2">
<description><![CDATA[Query]]></description> <description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description> <long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
@ -3665,9 +3732,6 @@ with array_map and glob]]></description>
<tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/> <tag line="2" name="link" description="https://github.com/aviat4ion/Query" link="https://github.com/aviat4ion/Query"/>
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/> <tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
</docblock> </docblock>
<markers>
<todo line="160">implement type_list method</todo>
</markers>
<class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers"> <class final="false" abstract="false" namespace="default" line="22" package="Query\Drivers">
<name>MySQL_SQL</name> <name>MySQL_SQL</name>
<full_name>\MySQL_SQL</full_name> <full_name>\MySQL_SQL</full_name>
@ -3735,94 +3799,121 @@ with array_map and glob]]></description>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package=""> <method final="false" abstract="false" static="false" visibility="public" namespace="default" line="74" package="">
<name>table_list</name> <name>table_list</name>
<type>function</type> <type>function</type>
<docblock line="68"> <docblock line="68">
<description><![CDATA[Returns sql to list tables]]></description> <description><![CDATA[Returns sql to list tables]]></description>
<long-description><![CDATA[]]></long-description> <long-description><![CDATA[]]></long-description>
<tag line="68" name="param" description="" type="string" variable="$database">
<type by_reference="false">string</type>
</tag>
<tag line="68" name="return" description="" type="string"> <tag line="68" name="return" description="" type="string">
<type by_reference="false">string</type> <type by_reference="false">string</type>
</tag> </tag>
</docblock> </docblock>
<argument line="74">
<name>$database</name>
<default><![CDATA['']]></default>
<type/>
</argument>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package=""> <method final="false" abstract="false" static="false" visibility="public" namespace="default" line="90" package="">
<name>system_table_list</name> <name>system_table_list</name>
<type>function</type> <type>function</type>
<docblock line="80"> <docblock line="85">
<description><![CDATA[Overridden in MySQL class]]></description> <description><![CDATA[Overridden in MySQL class]]></description>
<long-description><![CDATA[]]></long-description> <long-description><![CDATA[]]></long-description>
<tag line="80" name="return" description="" type="string"> <tag line="85" name="return" description="" type="string">
<type by_reference="false">string</type> <type by_reference="false">string</type>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="98" package=""> <method final="false" abstract="false" static="false" visibility="public" namespace="default" line="103" package="">
<name>view_list</name> <name>view_list</name>
<type>function</type> <type>function</type>
<docblock line="93"> <docblock line="98">
<description><![CDATA[Returns sql to list views]]></description> <description><![CDATA[Returns sql to list views]]></description>
<long-description><![CDATA[]]></long-description> <long-description><![CDATA[]]></long-description>
<tag line="93" name="return" description="" type="string"> <tag line="98" name="return" description="" type="string">
<type by_reference="false">string</type> <type by_reference="false">string</type>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="110" package=""> <method final="false" abstract="false" static="false" visibility="public" namespace="default" line="115" package="">
<name>trigger_list</name> <name>trigger_list</name>
<type>function</type> <type>function</type>
<docblock line="105"> <docblock line="110">
<description><![CDATA[Returns sql to list triggers]]></description> <description><![CDATA[Returns sql to list triggers]]></description>
<long-description><![CDATA[]]></long-description> <long-description><![CDATA[]]></long-description>
<tag line="105" name="return" description="" type="string"> <tag line="110" name="return" description="" type="string">
<type by_reference="false">string</type> <type by_reference="false">string</type>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="122" package=""> <method final="false" abstract="false" static="false" visibility="public" namespace="default" line="127" package="">
<name>function_list</name> <name>function_list</name>
<type>function</type> <type>function</type>
<docblock line="117"> <docblock line="122">
<description><![CDATA[Return sql to list functions]]></description> <description><![CDATA[Return sql to list functions]]></description>
<long-description><![CDATA[]]></long-description> <long-description><![CDATA[]]></long-description>
<tag line="117" name="return" description="" type="string"> <tag line="122" name="return" description="" type="string">
<type by_reference="false">string</type> <type by_reference="false">string</type>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="134" package=""> <method final="false" abstract="false" static="false" visibility="public" namespace="default" line="139" package="">
<name>procedure_list</name> <name>procedure_list</name>
<type>function</type> <type>function</type>
<docblock line="129"> <docblock line="134">
<description><![CDATA[Return sql to list stored procedures]]></description> <description><![CDATA[Return sql to list stored procedures]]></description>
<long-description><![CDATA[]]></long-description> <long-description><![CDATA[]]></long-description>
<tag line="129" name="return" description="" type="string"> <tag line="134" name="return" description="" type="string">
<type by_reference="false">string</type> <type by_reference="false">string</type>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="146" package=""> <method final="false" abstract="false" static="false" visibility="public" namespace="default" line="151" package="">
<name>sequence_list</name> <name>sequence_list</name>
<type>function</type> <type>function</type>
<docblock line="141"> <docblock line="146">
<description><![CDATA[Return sql to list sequences]]></description> <description><![CDATA[Return sql to list sequences]]></description>
<long-description><![CDATA[]]></long-description> <long-description><![CDATA[]]></long-description>
<tag line="141" name="return" description="" type="FALSE"> <tag line="146" name="return" description="" type="FALSE">
<type by_reference="false">FALSE</type> <type by_reference="false">FALSE</type>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="158" package=""> <method final="false" abstract="false" static="false" visibility="public" namespace="default" line="163" package="">
<name>type_list</name> <name>type_list</name>
<type>function</type> <type>function</type>
<docblock line="153"> <docblock line="158">
<description><![CDATA[SQL to show list of field types]]></description> <description><![CDATA[SQL to show list of field types]]></description>
<long-description><![CDATA[]]></long-description> <long-description><![CDATA[]]></long-description>
<tag line="153" name="return" description="" type="string"> <tag line="158" name="return" description="" type="string">
<type by_reference="false">string</type> <type by_reference="false">string</type>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="176" package="">
<name>column_list</name>
<type>function</type>
<docblock line="170">
<description><![CDATA[SQL to show infromation about columns in a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="170" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="170" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="176">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class> </class>
</file> </file>
<file path="drivers/sqlite/sqlite_util.php" hash="18cd637365896dd9cf94066e517cdaa8" package="Query"> <file path="drivers/sqlite/sqlite_util.php" hash="18cd637365896dd9cf94066e517cdaa8" package="Query">
@ -4117,7 +4208,7 @@ with array_map and glob]]></description>
</method> </method>
</class> </class>
</file> </file>
<file path="drivers/sqlite/sqlite_sql.php" hash="e807c384e4ac6d63fe2312bfdf87f1de" package="Query"> <file path="drivers/sqlite/sqlite_sql.php" hash="dbd517cd93d82fdac7c3d545f40fc74c" package="Query">
<docblock line="2"> <docblock line="2">
<description><![CDATA[Query]]></description> <description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description> <long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
@ -4282,9 +4373,28 @@ with array_map and glob]]></description>
</tag> </tag>
</docblock> </docblock>
</method> </method>
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="177" package="">
<name>column_list</name>
<type>function</type>
<docblock line="171">
<description><![CDATA[SQL to show infromation about columns in a table]]></description>
<long-description><![CDATA[]]></long-description>
<tag line="171" name="param" description="" type="string" variable="$table">
<type by_reference="false">string</type>
</tag>
<tag line="171" name="return" description="" type="string">
<type by_reference="false">string</type>
</tag>
</docblock>
<argument line="177">
<name>$table</name>
<default><![CDATA[]]></default>
<type/>
</argument>
</method>
</class> </class>
</file> </file>
<file path="drivers/firebird/firebird_sql.php" hash="cf2676fc79642a0e9f91c13402b0e2df" package="Query"> <file path="drivers/firebird/firebird_sql.php" hash="dc695a690f4e2fa8a8748156b04091bb" package="Query">
<docblock line="2"> <docblock line="2">
<description><![CDATA[Query]]></description> <description><![CDATA[Query]]></description>
<long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description> <long-description><![CDATA[<p>Free Query Builder / Database Abstraction Layer</p>]]></long-description>
@ -5314,7 +5424,7 @@ the last query executed]]></description>
<package name="Query" full_name="Query\Query"/> <package name="Query" full_name="Query\Query"/>
</package> </package>
<namespace name="default" full_name="default"/> <namespace name="default" full_name="default"/>
<marker count="7">todo</marker> <marker count="6">todo</marker>
<marker count="0">fixme</marker> <marker count="0">fixme</marker>
<deprecated count="0"/> <deprecated count="0"/>
</project> </project>

View File

@ -68,10 +68,15 @@ class MySQL_SQL extends DB_SQL {
/** /**
* Returns sql to list tables * Returns sql to list tables
* *
* @param string $database
* @return string * @return string
*/ */
public function table_list() public function table_list($database='')
{ {
if ( ! empty($database))
{
return "SHOW TABLES FROM `{$database}`";
}
return 'SHOW TABLES'; return 'SHOW TABLES';
} }
@ -157,7 +162,20 @@ class MySQL_SQL extends DB_SQL {
*/ */
public function type_list() public function type_list()
{ {
// TODO implement type_list method return "SELECT DISTINCT `DATA_TYPE` FROM `information_schema`.`COLUMNS`";
}
// --------------------------------------------------------------------------
/**
* SQL to show infromation about columns in a table
*
* @param string $table
* @return string
*/
public function column_list($table)
{
return "SHOW FULL COLUMNS FROM {$table}";
} }
} }
//End of mysql_sql.php //End of mysql_sql.php

View File

@ -124,6 +124,20 @@ class MySQL_Util extends DB_Util {
*/ */
public function backup_structure() public function backup_structure()
{ {
$sql = '';
// Get databases
$dbs = $this->conn->get_dbs();
foreach($dbs as $d)
{
// Get the list of tables
// Get the sql for the table
$query = $this->conn->query("SHOW CREATE TABLE {$table}");
}
// TODO Implement Backup function // TODO Implement Backup function
return ''; return '';
} }

View File

@ -153,5 +153,19 @@ class ODBC_SQL extends DB_SQL {
{ {
return FALSE; return FALSE;
} }
// --------------------------------------------------------------------------
/**
* SQL to show infromation about columns in a table
*
* @param string $table
* @return FALSE
*/
public function column_list($table)
{
return FALSE;
}
} }
// End of odbc_sql.php // End of odbc_sql.php

View File

@ -166,5 +166,18 @@ SQL;
return array('INTEGER', 'REAL', 'TEXT', 'BLOB'); return array('INTEGER', 'REAL', 'TEXT', 'BLOB');
} }
// --------------------------------------------------------------------------
/**
* SQL to show infromation about columns in a table
*
* @param string $table
* @return string
*/
public function column_list($table)
{
return 'PRAGMA table_info("'.$table.'")';
}
} }
//End of sqlite_sql.php //End of sqlite_sql.php

View File

@ -64,5 +64,21 @@ abstract class DBTest extends UnitTestCase {
{ {
$this->assertTrue(is_string($this->db->util->backup_data())); $this->assertTrue(is_string($this->db->util->backup_data()));
} }
// --------------------------------------------------------------------------
public function TestGetColumns()
{
$cols = $this->db->get_columns('create_test');
$this->assertTrue(is_array($cols));
}
// --------------------------------------------------------------------------
public function TestGetTypes()
{
$types = $this->db->get_types();
$this->assertTrue(is_array($types));
}
} }
// End of db_test.php // End of db_test.php

Binary file not shown.