From: Aryeh Gregor Date: Fri, 29 Dec 2006 20:56:47 +0000 (+0000) Subject: Document Database::select() X-Git-Tag: 1.31.0-rc.0~54735 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=fc83c128ea64c390f3bc2952dfcdc5a3b161f49d;p=lhc%2Fweb%2Fwiklou.git Document Database::select() --- diff --git a/includes/Database.php b/includes/Database.php index f2acd11021..14764bd8fd 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -1008,6 +1008,14 @@ class Database { /** * SELECT wrapper + * + * @param mixed $table Array or string, table name(s) (prefix auto-added) + * @param mixed $vars Array or string, field name(s) to be retrieved + * @param mixed $conds Array or string, condition(s) for WHERE + * @param string $fname Calling function name (use __METHOD__) for logs/profiling + * @param array $options Associative array of options (e.g. array('GROUP BY' => 'page_title')), + * see Database::makeSelectOptions code for list of supported stuff + * @return mixed Database result resource (feed to Database::fetchObject or whatever), or false on failure */ function select( $table, $vars, $conds='', $fname = 'Database::select', $options = array() ) {