From fc83c128ea64c390f3bc2952dfcdc5a3b161f49d Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 29 Dec 2006 20:56:47 +0000 Subject: [PATCH] Document Database::select() --- includes/Database.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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() ) { -- 2.20.1