Commit ca56e7d8 authored by Josh Campbell's avatar Josh Campbell

Updated docBlocks

parent 157103fc
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* @category Database Access * @category Database Access
* @package MysqliDB * @package MysqliDB
* @author Jeffery Way <jeffrey@jeffrey-way.com> * @author Jeffery Way <jeffrey@jeffrey-way.com>
* @author Josh Campbell <josh.campbell@teslacity.com> * @author Josh Campbell <jcampbell@ajillion.com>
* @copyright Copyright (c) 2010 Jeffery Way * @copyright Copyright (c) 2010 Jeffery Way
* @license http://opensource.org/licenses/gpl-3.0.html GNU Public License * @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
* @version 1.1 * @version 1.1
...@@ -51,6 +51,7 @@ class MysqliDB { ...@@ -51,6 +51,7 @@ class MysqliDB {
} }
/** /**
* Pass in a raw query and an array containing the parameters to bind to the prepaird statement.
* *
* @param string $query Contains a user-provided query. * @param string $query Contains a user-provided query.
* @param array $bindData All variables to bind to the SQL statment. * @param array $bindData All variables to bind to the SQL statment.
...@@ -68,10 +69,6 @@ class MysqliDB { ...@@ -68,10 +69,6 @@ class MysqliDB {
array_push($params, &$bindParams[$prop]); array_push($params, &$bindParams[$prop]);
} }
echo '<pre>';
print_r($params);
echo '</pre>';
call_user_func_array(array($stmt, 'bind_param'), $params); call_user_func_array(array($stmt, 'bind_param'), $params);
} }
...@@ -83,7 +80,7 @@ class MysqliDB { ...@@ -83,7 +80,7 @@ class MysqliDB {
} }
/** /**
* *
* @param string $query Contains a user-provided select query. * @param string $query Contains a user-provided select query.
* @param int $numRows The number of rows total to return. * @param int $numRows The number of rows total to return.
* @return array Contains the returned rows from the query. * @return array Contains the returned rows from the query.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment