Completed
Push — master ( 8e51f6...557b77 )
by Yannick
12:09 queued 04:29
created
require/class.Connection.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@  discard block
 block discarded – undo
6 6
 	public $dbs = array();
7 7
 	public $latest_schema = 23;
8 8
 	
9
+	/**
10
+	 * @param string $dbname
11
+	 */
9 12
 	public function __construct($dbc = null,$dbname = null,$user = null,$pass = null) {
10 13
 	    global $globalDBdriver;
11 14
 	    if ($dbc === null) {
@@ -131,6 +134,9 @@  discard block
 block discarded – undo
131 134
 		return true;
132 135
 	}
133 136
 
137
+	/**
138
+	 * @param string $table
139
+	 */
134 140
 	public function tableExists($table)
135 141
 	{
136 142
 		global $globalDBdriver, $globalDBname;
@@ -180,6 +186,11 @@  discard block
 block discarded – undo
180 186
 	/*
181 187
 	* Check if index exist
182 188
 	*/
189
+
190
+	/**
191
+	 * @param string $table
192
+	 * @param string $index
193
+	 */
183 194
 	public function indexExists($table,$index)
184 195
 	{
185 196
 		global $globalDBdriver, $globalDBname;
@@ -225,6 +236,11 @@  discard block
 block discarded – undo
225 236
 	* Check if a column name exist in a table
226 237
 	* @return Boolean column exist or not
227 238
 	*/
239
+
240
+	/**
241
+	 * @param string $table
242
+	 * @param string $name
243
+	 */
228 244
 	public function checkColumnName($table,$name)
229 245
 	{
230 246
 		$query = "SELECT * FROM ".$table." LIMIT 0";
Please login to merge, or discard this patch.