Formatting
This commit is contained in:
parent
5481191730
commit
88c5ef484f
|
@ -1,7 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
class Application_Common_Database
|
class Application_Common_Database
|
||||||
{
|
{
|
||||||
public static function prepareAndExecute($sql, array $paramValueMap, $type='all', $fetchType=PDO::FETCH_ASSOC)
|
public static function prepareAndExecute($sql, array $paramValueMap,
|
||||||
|
$type='all', $fetchType=PDO::FETCH_ASSOC)
|
||||||
{
|
{
|
||||||
$con = Propel::getConnection();
|
$con = Propel::getConnection();
|
||||||
$stmt = $con->prepare($sql);
|
$stmt = $con->prepare($sql);
|
||||||
|
|
Loading…
Reference in New Issue