includes/db/DatabaseMssql.php 1 location
|
@@ 580-582 (lines=3) @@
|
577 |
|
|
578 |
|
$table = $this->tableName( $table ); |
579 |
|
|
580 |
|
if ( !( isset( $arrToInsert[0] ) && is_array( $arrToInsert[0] ) ) ) { // Not multi row |
581 |
|
$arrToInsert = [ 0 => $arrToInsert ]; // make everything multi row compatible |
582 |
|
} |
583 |
|
|
584 |
|
// We know the table we're inserting into, get its identity column |
585 |
|
$identity = null; |
includes/Message.php 1 location
|
@@ 487-489 (lines=3) @@
|
484 |
|
*/ |
485 |
|
public function params( /*...*/ ) { |
486 |
|
$args = func_get_args(); |
487 |
|
if ( isset( $args[0] ) && is_array( $args[0] ) ) { |
488 |
|
$args = $args[0]; |
489 |
|
} |
490 |
|
$args_values = array_values( $args ); |
491 |
|
$this->parameters = array_merge( $this->parameters, $args_values ); |
492 |
|
return $this; |