47 require_once
'MDB2/Driver/Function/Common.php';
72 function &
executeStoredProc($name, $params = null, $types = null, $result_class =
true, $result_wrap_class =
false)
79 $query =
'SELECT * FROM '.$name;
80 $query .= $params ?
'('.implode(
', ', $params).
')' :
'()';
81 return $db->query(
$query, $types, $result_class, $result_wrap_class);
& executeStoredProc($name, $params=null, $types=null, $result_class=true, $result_wrap_class=false)
Execute a stored procedure and return any results.
& getDBInstance()
Get the instance of MDB2 associated with the module instance.
isError($data, $code=null)
Tell whether a value is a PEAR error.
random()
return string to call a function to get random value inside an SQL statement