From: Sam Reed Date: Wed, 25 Aug 2010 00:18:47 +0000 (+0000) Subject: Param and return documentation for insert X-Git-Tag: 1.31.0-rc.0~35332 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=40bb58a2329a216f2f480158c12af8227a2fb40f;p=lhc%2Fweb%2Fwiklou.git Param and return documentation for insert --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 62cb78a719..5106bb1666 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -1106,6 +1106,13 @@ abstract class DatabaseBase { * * Usually aborts on failure * If errors are explicitly ignored, returns success + * + * @param $table String: table name (prefix auto-added) + * @param $a Array: Array of rows to insert + * @param $fname String: Calling function name (use __METHOD__) for logs/profiling + * @param $options Mixed: Associative array of options + * + * @return bool */ function insert( $table, $a, $fname = 'Database::insert', $options = array() ) { # No rows to insert, easy just return now