PSR fixes
This commit is contained in:
parent
43f5258219
commit
139950fac2
1 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
class Application_Common_Database{
|
class Application_Common_Database{
|
||||||
public static function prepareAndExcute($sql, $paramValueMap, $type='all'){
|
public static function prepareAndExecute($sql, $paramValueMap, $type='all')
|
||||||
|
{
|
||||||
$con = Propel::getConnection();
|
$con = Propel::getConnection();
|
||||||
$stmt = $con->prepare($sql);
|
$stmt = $con->prepare($sql);
|
||||||
foreach ($paramValueMap as $param => $v) {
|
foreach ($paramValueMap as $param => $v) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue