Alpha version

This commit is contained in:
Juan Ferrer Toribio 2016-08-25 12:47:36 +02:00
parent cfedf3d1b8
commit 83977af8a3
3 changed files with 1 additions and 26 deletions

View File

@ -307,7 +307,7 @@ class Conn
*
* @return string The rendered SQL string
**/
function render (&$query, &$paramsMap = NULL)
function render ($query, $paramsMap = NULL)
{
if (isset ($paramsMap) && is_array ($paramsMap) && count ($paramsMap) > 0)
{

View File

@ -32,12 +32,6 @@ class CliApp extends App
}
}
function json ($json)
{
print_r ($json);
echo "\n";
}
function usage ()
{
global $argv;

View File

@ -28,25 +28,6 @@ abstract class Method
* @return mixed The result of the method
**/
abstract function run ();
/**
* Authenticates the user agaisnt database and returns its associated
* database connection.
*
* return Db\Conn The database connection
**/
function login ()
{
return $this->app->login ();
}
/**
* Logouts the current user.
**/
function logout ()
{
$this->app->logout ();
}
/**
* Returns the system database connection.