Update docs
This commit is contained in:
parent
dfb975119d
commit
19e02e1349
@ -125,7 +125,7 @@ function osm_autoload($class)
|
||||
$class = strtolower(end($class_spaces));
|
||||
$widget_path = BASE_DIR . "/widgets/{$class}.php";
|
||||
$window_path = BASE_DIR . "/windows/{$class}.php";
|
||||
|
||||
|
||||
if (is_file($widget_path))
|
||||
{
|
||||
require_once($widget_path);
|
||||
@ -182,14 +182,6 @@ class OpenSQLManager extends \wxApp {
|
||||
\wxExit();
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle Fatal Exceptions
|
||||
*/
|
||||
public function OnFatalException($e)
|
||||
{
|
||||
file_put_contents('errors.txt', print_r($e, TRUE), FILE_APPEND);
|
||||
}
|
||||
}
|
||||
|
||||
// Create the app instance
|
||||
@ -198,9 +190,6 @@ $app = new OpenSQLManager();
|
||||
// Create platform information object
|
||||
$platform = new \wxPlatformInfo();
|
||||
|
||||
// Pass fatal exceptions to wxAPP
|
||||
\wxHandleFatalExceptions(TRUE);
|
||||
|
||||
// Start the wx event loop
|
||||
\wxApp::SetInstance($app);
|
||||
\wxEntry();
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -293,7 +292,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -247,7 +246,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -86,11 +85,11 @@ and organizes database connections</p></p>
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<th>package</th>
|
||||
<td><a href="..//packages/Query.Helper%20Classes.html">Query</a></td>
|
||||
<td><a href="..//packages/OpenSQLManager.Common.html">OpenSQLManager</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>subpackage</th>
|
||||
<td>Helper Classes</td>
|
||||
<td>Common</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h3>
|
||||
@ -161,7 +160,7 @@ and organizes database connections</p></p>
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -147,7 +146,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -105,7 +104,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -165,7 +164,7 @@ Create menus, hboxes, vboxs and other widgets</h2>
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -108,7 +107,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -96,11 +95,11 @@ directly - the settings should be safe!</span><pre>__construct()</pre></a></li>
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<th>package</th>
|
||||
<td><a href="..//packages/Query.Helper%20Classes.html">Query</a></td>
|
||||
<td><a href="..//packages/OpenSQLManager.Common.html">OpenSQLManager</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>subpackage</th>
|
||||
<td>Helper Classes</td>
|
||||
<td>Common</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h3>
|
||||
@ -253,7 +252,7 @@ directly - the settings should be safe!</h2>
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,259 +0,0 @@
|
||||
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||
<meta charset="utf-8">
|
||||
<title>OpenSQLManager » \OpensSQLManager\Settings</title>
|
||||
<meta name="author" content="Mike van Riel">
|
||||
<meta name="description" content="">
|
||||
<link href="../css/template.css" rel="stylesheet" media="all">
|
||||
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
|
||||
</head>
|
||||
<body>
|
||||
<div class="navbar navbar-fixed-top">
|
||||
<div class="navbar-inner"><div class="container">
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">OpenSQLManager</a><div class="nav-collapse"><ul class="nav">
|
||||
<li class="dropdown">
|
||||
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
|
||||
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
|
||||
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
|
||||
</li>
|
||||
<li class="dropdown" id="reports-menu">
|
||||
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
|
||||
Reports <b class="caret"></b></a><ul class="dropdown-menu">
|
||||
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors
|
||||
<span class="label label-info">0</span></a></li>
|
||||
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers
|
||||
<ul></ul></a></li>
|
||||
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements
|
||||
<span class="label label-info">0</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul></div>
|
||||
</div></div>
|
||||
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top <i class="icon-upload icon-white"></i></a></div>
|
||||
</div>
|
||||
<div id="___" class="container">
|
||||
<noscript><div class="alert alert-warning">
|
||||
Javascript is disabled; several features are only available
|
||||
if Javascript is enabled.
|
||||
</div></noscript>
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
|
||||
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
|
||||
</div>
|
||||
<ul class="side-nav nav nav-list">
|
||||
<li class="nav-header">
|
||||
<i class="icon-custom icon-method"></i> Methods</li>
|
||||
<li class="method public "><a href="#__destruct" title="__destruct :: Output the settings on destruct"><span class="description">Output the settings on destruct</span><pre>__destruct()</pre></a></li>
|
||||
<li class="method public "><a href="#__get" title="__get :: Magic method to simplify isset checking for config options"><span class="description">Magic method to simplify isset checking for config options</span><pre>__get()</pre></a></li>
|
||||
<li class="method public "><a href="#__set" title="__set :: Magic method to simplify setting config options"><span class="description">Magic method to simplify setting config options</span><pre>__set()</pre></a></li>
|
||||
<li class="method public "><a href="#add_db" title="add_db :: Add a database connection"><span class="description">Add a database connection</span><pre>add_db()</pre></a></li>
|
||||
<li class="method public "><a href="#edit_db" title="edit_db :: Edit a database connection"><span class="description">Edit a database connection</span><pre>edit_db()</pre></a></li>
|
||||
<li class="method public "><a href="#get_db" title="get_db :: Retreive a specific database connection"><span class="description">Retreive a specific database connection</span><pre>get_db()</pre></a></li>
|
||||
<li class="method public "><a href="#get_dbs" title="get_dbs :: Retreive all db connections"><span class="description">Retreive all db connections</span><pre>get_dbs()</pre></a></li>
|
||||
<li class="method public "><a href="#get_instance" title="get_instance :: Static method to retreive current instance
|
||||
of the singleton"><span class="description">Static method to retreive current instance
|
||||
of the singleton</span><pre>get_instance()</pre></a></li>
|
||||
<li class="method public "><a href="#remove_db" title="remove_db :: Remove a database connection"><span class="description">Remove a database connection</span><pre>remove_db()</pre></a></li>
|
||||
<li class="nav-header private">» Private</li>
|
||||
<li class="method private "><a href="#__construct" title="__construct :: Load the settings file - private so it can't be loaded
|
||||
directly - the settings should be safe!"><span class="description">Load the settings file - private so it can't be loaded
|
||||
directly - the settings should be safe!</span><pre>__construct()</pre></a></li>
|
||||
<li class="nav-header">
|
||||
<i class="icon-custom icon-property"></i> Properties</li>
|
||||
<li class="nav-header private">» Private</li>
|
||||
<li class="property private "><a href="#%24current" title="$current :: Settings object represented by the currently loaded JSON file"><span class="description">Settings object represented by the currently loaded JSON file</span><pre>$current</pre></a></li>
|
||||
<li class="property private "><a href="#%24instance" title="$instance :: Singleton instance"><span class="description">Singleton instance</span><pre>$instance</pre></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span8">
|
||||
<a name="%5COpensSQLManager%5CSettings" id="\OpensSQLManager\Settings"></a><ul class="breadcrumb">
|
||||
<li>
|
||||
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
|
||||
</li>
|
||||
<li><a href="../namespaces/OpensSQLManager.html">OpensSQLManager</a></li>
|
||||
<li class="active">
|
||||
<span class="divider">\</span><a href="../classes/OpensSQLManager.Settings.html">Settings</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div href="../classes/OpensSQLManager.Settings.html" class="element class">
|
||||
<p class="short_description">Class for manipulating datbase connections, and miscellaneous settings</p>
|
||||
<div class="details">
|
||||
<p class="long_description"></p>
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<th>package</th>
|
||||
<td><a href="..//packages/Query.Helper%20Classes.html">Query</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>subpackage</th>
|
||||
<td>Helper Classes</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h3>
|
||||
<i class="icon-custom icon-method"></i> Methods</h3>
|
||||
<a name="__destruct" id="__destruct"></a><div class="element clickable method public __destruct" data-toggle="collapse" data-target=".__destruct .collapse">
|
||||
<h2>Output the settings on destruct</h2>
|
||||
<pre>__destruct() </pre>
|
||||
<div class="labels"></div>
|
||||
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
|
||||
</div>
|
||||
<a name="__get" id="__get"></a><div class="element clickable method public __get" data-toggle="collapse" data-target=".__get .collapse">
|
||||
<h2>Magic method to simplify isset checking for config options</h2>
|
||||
<pre>__get(string $key) : mixed</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>$key</h4>
|
||||
<code>string</code>
|
||||
</div>
|
||||
<h3>Returns</h3>
|
||||
<div class="subelement response"><code>mixed</code></div>
|
||||
</div></div>
|
||||
</div>
|
||||
<a name="__set" id="__set"></a><div class="element clickable method public __set" data-toggle="collapse" data-target=".__set .collapse">
|
||||
<h2>Magic method to simplify setting config options</h2>
|
||||
<pre>__set(string $key, $val) </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>$key</h4>
|
||||
<code>string</code>
|
||||
</div>
|
||||
<div class="subelement argument">
|
||||
<h4>$val</h4>
|
||||
<code></code><p>mixed</p></div>
|
||||
</div></div>
|
||||
</div>
|
||||
<a name="add_db" id="add_db"></a><div class="element clickable method public add_db" data-toggle="collapse" data-target=".add_db .collapse">
|
||||
<h2>Add a database connection</h2>
|
||||
<pre>add_db(string $name, array $params) </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>$name</h4>
|
||||
<code>string</code>
|
||||
</div>
|
||||
<div class="subelement argument">
|
||||
<h4>$params</h4>
|
||||
<code>array</code>
|
||||
</div>
|
||||
</div></div>
|
||||
</div>
|
||||
<a name="edit_db" id="edit_db"></a><div class="element clickable method public edit_db" data-toggle="collapse" data-target=".edit_db .collapse">
|
||||
<h2>Edit a database connection</h2>
|
||||
<pre>edit_db(string $name, array $params) </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>$name</h4>
|
||||
<code>string</code>
|
||||
</div>
|
||||
<div class="subelement argument">
|
||||
<h4>$params</h4>
|
||||
<code>array</code>
|
||||
</div>
|
||||
</div></div>
|
||||
</div>
|
||||
<a name="get_db" id="get_db"></a><div class="element clickable method public get_db" data-toggle="collapse" data-target=".get_db .collapse">
|
||||
<h2>Retreive a specific database connection</h2>
|
||||
<pre>get_db(string $name) : object</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>$name</h4>
|
||||
<code>string</code>
|
||||
</div>
|
||||
<h3>Returns</h3>
|
||||
<div class="subelement response"><code>object</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">
|
||||
<h2>Retreive all db connections</h2>
|
||||
<pre>get_dbs() : 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_instance" id="get_instance"></a><div class="element clickable method public get_instance" data-toggle="collapse" data-target=".get_instance .collapse">
|
||||
<h2>Static method to retreive current instance
|
||||
of the singleton</h2>
|
||||
<pre>get_instance() : <a href="../classes/OpensSQLManager.Settings.html">\OpensSQLManager\Settings</a></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><a href="../classes/OpensSQLManager.Settings.html">\OpensSQLManager\Settings</a></code></div>
|
||||
</div></div>
|
||||
</div>
|
||||
<a name="remove_db" id="remove_db"></a><div class="element clickable method public remove_db" data-toggle="collapse" data-target=".remove_db .collapse">
|
||||
<h2>Remove a database connection</h2>
|
||||
<pre>remove_db(string $name) </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>$name</h4>
|
||||
<code>string</code>
|
||||
</div>
|
||||
</div></div>
|
||||
</div>
|
||||
<a name="__construct" id="__construct"></a><div class="element clickable method private __construct" data-toggle="collapse" data-target=".__construct .collapse">
|
||||
<h2>Load the settings file - private so it can't be loaded
|
||||
directly - the settings should be safe!</h2>
|
||||
<pre>__construct() </pre>
|
||||
<div class="labels"></div>
|
||||
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
|
||||
</div>
|
||||
<h3>
|
||||
<i class="icon-custom icon-property"></i> Properties</h3>
|
||||
<a name="%24current" id="$current"> </a><div class="element clickable property private $current" data-toggle="collapse" data-target=".$current .collapse">
|
||||
<h2>Settings object represented by the currently loaded JSON file</h2>
|
||||
<pre>$current </pre>
|
||||
<div class="labels"></div>
|
||||
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
|
||||
</div>
|
||||
<a name="%24instance" id="$instance"> </a><div class="element clickable property private $instance" data-toggle="collapse" data-target=".$instance .collapse">
|
||||
<h2>Singleton instance</h2>
|
||||
<pre>$instance </pre>
|
||||
<div class="labels"></div>
|
||||
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-31T09:50:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -67,7 +66,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -79,7 +78,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -64,7 +63,7 @@
|
||||
</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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -63,7 +62,6 @@
|
||||
<li class="nav-header">Packages</li>
|
||||
<li><a href="packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<div class="span5">
|
||||
@ -86,7 +84,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -69,7 +68,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -281,7 +280,7 @@ with array_map and glob</h2>
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,91 +0,0 @@
|
||||
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||
<meta charset="utf-8">
|
||||
<title>OpenSQLManager » OpensSQLManager</title>
|
||||
<meta name="author" content="Mike van Riel">
|
||||
<meta name="description" content="">
|
||||
<link href="../css/template.css" rel="stylesheet" media="all">
|
||||
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
|
||||
</head>
|
||||
<body>
|
||||
<div class="navbar navbar-fixed-top">
|
||||
<div class="navbar-inner"><div class="container">
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">OpenSQLManager</a><div class="nav-collapse"><ul class="nav">
|
||||
<li class="dropdown">
|
||||
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
|
||||
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
|
||||
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
|
||||
</li>
|
||||
<li class="dropdown" id="reports-menu">
|
||||
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
|
||||
Reports <b class="caret"></b></a><ul class="dropdown-menu">
|
||||
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors
|
||||
<span class="label label-info">0</span></a></li>
|
||||
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers
|
||||
<ul></ul></a></li>
|
||||
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements
|
||||
<span class="label label-info">0</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul></div>
|
||||
</div></div>
|
||||
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top <i class="icon-upload icon-white"></i></a></div>
|
||||
</div>
|
||||
<div id="___" class="container">
|
||||
<noscript><div class="alert alert-warning">
|
||||
Javascript is disabled; several features are only available
|
||||
if Javascript is enabled.
|
||||
</div></noscript>
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<div class="btn-group view pull-right" data-toggle="buttons-radio">
|
||||
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
|
||||
</div>
|
||||
<ul class="side-nav nav nav-list">
|
||||
<li class="nav-header">
|
||||
<i class="icon-map-marker"></i> Namespaces</li>
|
||||
<li>
|
||||
<a href="../namespaces/OpensSQLManager.html" title="OpensSQLManager"><i class="icon-th"></i>OpensSQLManager</a><ul class="nav nav-list nav-namespaces"></ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span8 namespace-contents">
|
||||
<ul class="breadcrumb">
|
||||
<li>
|
||||
<a href="../index.html"><i class="icon-th"></i></a><span class="divider">\</span>
|
||||
</li>
|
||||
<li class="active"><a href="../namespaces/OpensSQLManager.html">OpensSQLManager</a></li>
|
||||
</ul>
|
||||
<div class="namespace-indent">
|
||||
<h3>
|
||||
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
|
||||
<a name="Settings" id="Settings"></a><div class="element ajax clickable class" href="../classes/OpensSQLManager.Settings.html">
|
||||
<h1>Settings<a href="../classes/OpensSQLManager.Settings.html">¶</a>
|
||||
</h1>
|
||||
<p class="short_description">Class for manipulating datbase connections, and miscellaneous settings</p>
|
||||
<div class="details collapse"></div>
|
||||
<a href="../classes/OpensSQLManager.Settings.html" class="more">« More »</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-05-31T09:50:12-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -67,7 +66,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -108,7 +107,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||
<meta charset="utf-8">
|
||||
<title>OpenSQLManager » Query\Helper Classes</title>
|
||||
<title>OpenSQLManager » OpenSQLManager\Common</title>
|
||||
<meta name="author" content="Mike van Riel">
|
||||
<meta name="description" content="">
|
||||
<link href="../css/template.css" rel="stylesheet" media="all">
|
||||
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -58,7 +57,7 @@
|
||||
<li class="nav-header">
|
||||
<i class="icon-map-marker"></i> Packages</li>
|
||||
<li>
|
||||
<a href="../packages/Query.Helper%20Classes.html" title="Helper Classes"><i class="icon-folder-open"></i>Helper Classes</a><ul class="nav nav-list nav-packages"></ul>
|
||||
<a href="../packages/OpenSQLManager.Common.html" title="Common"><i class="icon-folder-open"></i>Common</a><ul class="nav nav-list nav-packages"></ul>
|
||||
</li>
|
||||
<li class="nav-header">
|
||||
<i class="icon-custom icon-class"></i> Classes</li>
|
||||
@ -71,8 +70,8 @@
|
||||
<li>
|
||||
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span>
|
||||
</li>
|
||||
<li><a href="../packages/Query.html">Query</a></li>
|
||||
<span class="divider">\</span><li class="active"><a href="../packages/Query.Helper%20Classes.html">Helper Classes</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html">OpenSQLManager</a></li>
|
||||
<span class="divider">\</span><li class="active"><a href="../packages/OpenSQLManager.Common.html">Common</a></li>
|
||||
</ul>
|
||||
<div class="package-indent">
|
||||
<h3>
|
||||
@ -97,7 +96,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -113,7 +112,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -89,7 +88,7 @@
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -22,7 +22,6 @@
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
@ -60,6 +59,9 @@
|
||||
<li>
|
||||
<a href="../packages/OpenSQLManager.html" title="OpenSQLManager"><i class="icon-folder-open"></i>OpenSQLManager</a><ul class="nav nav-list nav-packages">
|
||||
<li>
|
||||
<a href="../packages/OpenSQLManager.Common.html" title="Common"><i class="icon-folder-open"></i>Common</a><ul class="nav nav-list nav-packages"></ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../packages/OpenSQLManager.Widgets.html" title="Widgets"><i class="icon-folder-open"></i>Widgets</a><ul class="nav nav-list nav-packages"></ul>
|
||||
</li>
|
||||
<li>
|
||||
@ -227,6 +229,31 @@ with array_map and glob</h2>
|
||||
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span>
|
||||
</li>
|
||||
<li><a href="../packages/OpenSQLManager.html">OpenSQLManager</a></li>
|
||||
<span class="divider">\</span><li class="active"><a href="../packages/OpenSQLManager.Common.html">Common</a></li>
|
||||
</ul>
|
||||
<div class="package-indent">
|
||||
<h3>
|
||||
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
|
||||
<a name="DB_Reg" id="DB_Reg"></a><div class="element ajax clickable class" href="../classes/OpenSQLManager.DB_Reg.html">
|
||||
<h1>DB_Reg<a href="../classes/OpenSQLManager.DB_Reg.html">¶</a>
|
||||
</h1>
|
||||
<p class="short_description">Connection registry</p>
|
||||
<div class="details collapse"></div>
|
||||
<a href="../classes/OpenSQLManager.DB_Reg.html" class="more">« More »</a>
|
||||
</div>
|
||||
<a name="Settings" id="Settings"></a><div class="element ajax clickable class" href="../classes/OpenSQLManager.Settings.html">
|
||||
<h1>Settings<a href="../classes/OpenSQLManager.Settings.html">¶</a>
|
||||
</h1>
|
||||
<p class="short_description">Class for manipulating datbase connections, and miscellaneous settings</p>
|
||||
<div class="details collapse"></div>
|
||||
<a href="../classes/OpenSQLManager.Settings.html" class="more">« More »</a>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="breadcrumb">
|
||||
<li>
|
||||
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span>
|
||||
</li>
|
||||
<li><a href="../packages/OpenSQLManager.html">OpenSQLManager</a></li>
|
||||
<span class="divider">\</span><li class="active"><a href="../packages/OpenSQLManager.Widgets.html">Widgets</a></li>
|
||||
</ul>
|
||||
<div class="package-indent">
|
||||
@ -285,7 +312,7 @@ with array_map and glob</h2>
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
generated on 2012-06-06T08:25:44-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,109 +0,0 @@
|
||||
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
|
||||
<meta charset="utf-8">
|
||||
<title>OpenSQLManager » Query</title>
|
||||
<meta name="author" content="Mike van Riel">
|
||||
<meta name="description" content="">
|
||||
<link href="../css/template.css" rel="stylesheet" media="all">
|
||||
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
|
||||
</head>
|
||||
<body>
|
||||
<div class="navbar navbar-fixed-top">
|
||||
<div class="navbar-inner"><div class="container">
|
||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">OpenSQLManager</a><div class="nav-collapse"><ul class="nav">
|
||||
<li class="dropdown">
|
||||
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
|
||||
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
|
||||
<li><a>Packages</a></li>
|
||||
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
|
||||
<li><a href="../packages/OpenSQLManager.html"><i class="icon-folder-open"></i> OpenSQLManager</a></li>
|
||||
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown" id="charts-menu">
|
||||
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
|
||||
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
|
||||
</li>
|
||||
<li class="dropdown" id="reports-menu">
|
||||
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
|
||||
Reports <b class="caret"></b></a><ul class="dropdown-menu">
|
||||
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors
|
||||
<span class="label label-info">0</span></a></li>
|
||||
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers
|
||||
<ul></ul></a></li>
|
||||
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements
|
||||
<span class="label label-info">0</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul></div>
|
||||
</div></div>
|
||||
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top <i class="icon-upload icon-white"></i></a></div>
|
||||
</div>
|
||||
<div id="___" class="container">
|
||||
<noscript><div class="alert alert-warning">
|
||||
Javascript is disabled; several features are only available
|
||||
if Javascript is enabled.
|
||||
</div></noscript>
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<div class="btn-group view pull-right" data-toggle="buttons-radio">
|
||||
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
|
||||
</div>
|
||||
<ul class="side-nav nav nav-list">
|
||||
<li class="nav-header">
|
||||
<i class="icon-map-marker"></i> Packages</li>
|
||||
<li>
|
||||
<span class="empty-package"><i class="icon-folder-close"></i>Query</span><ul class="nav nav-list nav-packages"><li>
|
||||
<a href="../packages/Query.Helper%20Classes.html" title="Helper Classes"><i class="icon-folder-open"></i>Helper Classes</a><ul class="nav nav-list nav-packages"></ul>
|
||||
</li></ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span8 package-contents">
|
||||
<ul class="breadcrumb">
|
||||
<li>
|
||||
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span>
|
||||
</li>
|
||||
<li class="active"><a href="../packages/Query.html">Query</a></li>
|
||||
</ul>
|
||||
<div class="package-indent">
|
||||
<ul class="breadcrumb">
|
||||
<li>
|
||||
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span>
|
||||
</li>
|
||||
<li><a href="../packages/Query.html">Query</a></li>
|
||||
<span class="divider">\</span><li class="active"><a href="../packages/Query.Helper%20Classes.html">Helper Classes</a></li>
|
||||
</ul>
|
||||
<div class="package-indent">
|
||||
<h3>
|
||||
<i class="icon-custom icon-class"></i> Classes and interfaces</h3>
|
||||
<a name="DB_Reg" id="DB_Reg"></a><div class="element ajax clickable class" href="../classes/OpenSQLManager.DB_Reg.html">
|
||||
<h1>DB_Reg<a href="../classes/OpenSQLManager.DB_Reg.html">¶</a>
|
||||
</h1>
|
||||
<p class="short_description">Connection registry</p>
|
||||
<div class="details collapse"></div>
|
||||
<a href="../classes/OpenSQLManager.DB_Reg.html" class="more">« More »</a>
|
||||
</div>
|
||||
<a name="Settings" id="Settings"></a><div class="element ajax clickable class" href="../classes/OpenSQLManager.Settings.html">
|
||||
<h1>Settings<a href="../classes/OpenSQLManager.Settings.html">¶</a>
|
||||
</h1>
|
||||
<p class="short_description">Class for manipulating datbase connections, and miscellaneous settings</p>
|
||||
<div class="details collapse"></div>
|
||||
<a href="../classes/OpenSQLManager.Settings.html" class="more">« More »</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<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>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
|
||||
generated on 2012-06-05T14:38:46-04:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project version="2.0.0a2" title="OpenSQLManager">
|
||||
<file path="OpenSQLManager.php" hash="9536bf13a33f51b117b5e2155270d897" package="OpenSQLManager">
|
||||
<file path="OpenSQLManager.php" hash="2908f1b5645751a1d288780c02c0af51" package="OpenSQLManager">
|
||||
<docblock line="3">
|
||||
<description><![CDATA[OpenSQLManager]]></description>
|
||||
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
||||
@ -149,7 +149,7 @@ with array_map and glob]]></description>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/common/db_reg.php" hash="3598ba0fed487d36dfd11ba0c8d7c839" package="OpenSQLManager">
|
||||
<file path="sys/common/db_reg.php" hash="6046533d53604ee733dad12fb74ef419" package="OpenSQLManager">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[OpenSQLManager]]></description>
|
||||
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
||||
@ -159,7 +159,7 @@ with array_map and glob]]></description>
|
||||
<tag line="2" name="link" description="https://github.com/aviat4ion/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
||||
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
||||
</docblock>
|
||||
<class final="false" abstract="false" namespace="OpenSQLManager" line="27" package="Query\Helper Classes">
|
||||
<class final="false" abstract="false" namespace="OpenSQLManager" line="27" package="OpenSQLManager\Common">
|
||||
<name>DB_Reg</name>
|
||||
<full_name>\OpenSQLManager\DB_Reg</full_name>
|
||||
<extends/>
|
||||
@ -167,8 +167,8 @@ with array_map and glob]]></description>
|
||||
<description><![CDATA[Connection registry]]></description>
|
||||
<long-description><![CDATA[<p>Decouples the Settings class from the query builder
|
||||
and organizes database connections</p>]]></long-description>
|
||||
<tag line="18" name="package" description="Query"/>
|
||||
<tag line="18" name="subpackage" description="Helper Classes"/>
|
||||
<tag line="18" name="package" description="OpenSQLManager"/>
|
||||
<tag line="18" name="subpackage" description="Common"/>
|
||||
</docblock>
|
||||
<property final="false" static="true" visibility="private" line="32" package="Default">
|
||||
<name>$instance</name>
|
||||
@ -245,7 +245,7 @@ and organizes database connections</p>]]></long-description>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/common/settings.php" hash="b03acbc7cc392bcc41ffa9641781f6a3" package="OpenSQLManager">
|
||||
<file path="sys/common/settings.php" hash="d3240cb9e4ebc4ed3d2d8f558b1ff234" package="OpenSQLManager">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[OpenSQLManager]]></description>
|
||||
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
||||
@ -255,15 +255,15 @@ and organizes database connections</p>]]></long-description>
|
||||
<tag line="2" name="link" description="https://github.com/aviat4ion/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
||||
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
||||
</docblock>
|
||||
<class final="false" abstract="false" namespace="OpenSQLManager" line="24" package="Query\Helper Classes">
|
||||
<class final="false" abstract="false" namespace="OpenSQLManager" line="24" package="OpenSQLManager\Common">
|
||||
<name>Settings</name>
|
||||
<full_name>\OpenSQLManager\Settings</full_name>
|
||||
<extends/>
|
||||
<docblock line="18">
|
||||
<description><![CDATA[Class for manipulating datbase connections, and miscellaneous settings]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="18" name="package" description="Query"/>
|
||||
<tag line="18" name="subpackage" description="Helper Classes"/>
|
||||
<tag line="18" name="package" description="OpenSQLManager"/>
|
||||
<tag line="18" name="subpackage" description="Common"/>
|
||||
</docblock>
|
||||
<property final="false" static="false" visibility="private" line="29" package="Default">
|
||||
<name>$current</name>
|
||||
@ -447,7 +447,7 @@ directly - the settings should be safe!]]></description>
|
||||
</method>
|
||||
</class>
|
||||
</file>
|
||||
<file path="sys/common/functions.php" hash="68d4a7cd2278329346ce123e87bc12dc" package="OpenSQLManager">
|
||||
<file path="sys/common/functions.php" hash="d7bc8d7859bb49857803000bbf882664" package="OpenSQLManager">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[OpenSQLManager]]></description>
|
||||
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
||||
@ -457,84 +457,84 @@ directly - the settings should be safe!]]></description>
|
||||
<tag line="2" name="link" description="https://github.com/aviat4ion/OpenSQLManager" link="https://github.com/aviat4ion/OpenSQLManager"/>
|
||||
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
||||
</docblock>
|
||||
<function namespace="OpenSQLManager" line="26" package="OpenSQLManager">
|
||||
<function namespace="OpenSQLManager" line="31" package="OpenSQLManager">
|
||||
<name>array_to_object</name>
|
||||
<type>function</type>
|
||||
<docblock line="20">
|
||||
<docblock line="25">
|
||||
<description><![CDATA[Convert an array to an object]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="20" name="param" description="" type="array" variable="$array">
|
||||
<tag line="25" name="param" description="" type="array" variable="$array">
|
||||
<type by_reference="false">array</type>
|
||||
</tag>
|
||||
<tag line="20" name="return" description="" type="object">
|
||||
<tag line="25" name="return" description="" type="object">
|
||||
<type by_reference="false">object</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="26">
|
||||
<argument line="31">
|
||||
<name>$array</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
<function namespace="OpenSQLManager" line="51" package="OpenSQLManager">
|
||||
<function namespace="OpenSQLManager" line="56" package="OpenSQLManager">
|
||||
<name>alert</name>
|
||||
<type>function</type>
|
||||
<docblock line="45">
|
||||
<docblock line="50">
|
||||
<description><![CDATA[Create info dialog to return an informational message]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="45" name="param" description="" type="string" variable="$message">
|
||||
<tag line="50" name="param" description="" type="string" variable="$message">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="45" name="return" description="" type="void">
|
||||
<tag line="50" name="return" description="" type="void">
|
||||
<type by_reference="false">void</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="51">
|
||||
<argument line="56">
|
||||
<name>$message</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
<function namespace="OpenSQLManager" line="64" package="OpenSQLManager">
|
||||
<function namespace="OpenSQLManager" line="69" package="OpenSQLManager">
|
||||
<name>error</name>
|
||||
<type>function</type>
|
||||
<docblock line="58">
|
||||
<docblock line="63">
|
||||
<description><![CDATA[Create info dialog to retun an informational message]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="58" name="param" description="" type="string" variable="$message">
|
||||
<tag line="63" name="param" description="" type="string" variable="$message">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="58" name="return" description="" type="void">
|
||||
<tag line="63" name="return" description="" type="void">
|
||||
<type by_reference="false">void</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="64">
|
||||
<argument line="69">
|
||||
<name>$message</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
<function namespace="OpenSQLManager" line="77" package="OpenSQLManager">
|
||||
<function namespace="OpenSQLManager" line="82" package="OpenSQLManager">
|
||||
<name>confirm</name>
|
||||
<type>function</type>
|
||||
<docblock line="71">
|
||||
<docblock line="76">
|
||||
<description><![CDATA[Creates a binary confirmation dialog]]></description>
|
||||
<long-description><![CDATA[]]></long-description>
|
||||
<tag line="71" name="param" description="" type="string" variable="$message">
|
||||
<tag line="76" name="param" description="" type="string" variable="$message">
|
||||
<type by_reference="false">string</type>
|
||||
</tag>
|
||||
<tag line="71" name="return" description="" type="bool">
|
||||
<tag line="76" name="return" description="" type="bool">
|
||||
<type by_reference="false">bool</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
<argument line="77">
|
||||
<argument line="82">
|
||||
<name>$message</name>
|
||||
<default><![CDATA[]]></default>
|
||||
<type/>
|
||||
</argument>
|
||||
</function>
|
||||
</file>
|
||||
<file path="sys/widgets/connection_sidebar.php" hash="161d728ba9ec9759bd449f4d9cdcd2c2" package="OpenSQLManager">
|
||||
<file path="sys/widgets/connection_sidebar.php" hash="eb162210fe3384ee5d57fcfcdcd8e30d" package="OpenSQLManager">
|
||||
<docblock line="2">
|
||||
<description><![CDATA[OpenSQLManager]]></description>
|
||||
<long-description><![CDATA[<p>Free Database manager for Open Source Databases</p>]]></long-description>
|
||||
@ -1182,12 +1182,10 @@ Create menus, hboxes, vboxs and other widgets]]></description>
|
||||
<package name="" full_name=""/>
|
||||
<package name="Default" full_name="Default"/>
|
||||
<package name="OpenSQLManager" full_name="OpenSQLManager">
|
||||
<package name="Common" full_name="OpenSQLManager\Common"/>
|
||||
<package name="Widgets" full_name="OpenSQLManager\Widgets"/>
|
||||
<package name="Windows" full_name="OpenSQLManager\Windows"/>
|
||||
</package>
|
||||
<package name="Query" full_name="Query">
|
||||
<package name="Helper Classes" full_name="Query\Helper Classes"/>
|
||||
</package>
|
||||
<namespace name="OpenSQLManager" full_name="OpenSQLManager"/>
|
||||
<marker count="0">todo</marker>
|
||||
<marker count="0">fixme</marker>
|
||||
|
Reference in New Issue
Block a user