[ticket/10942] Add access modifiers

PHPBB3-10942
This commit is contained in:
Joas Schilling 2012-07-04 14:05:03 +02:00
parent fe1f21d1a5
commit 6776feb0de
6 changed files with 7 additions and 7 deletions

View file

@ -293,7 +293,7 @@ class dbal
* @param string $action_else SQL expression that is used, if the condition is false, optional
* @return string CASE expression including the condition and statements
*/
function sql_case($condition, $action_true, $action_false = false)
public function sql_case($condition, $action_true, $action_false = false)
{
$sql_case = 'CASE WHEN ' . $condition;
$sql_case .= ' THEN ' . $action_true;
@ -309,7 +309,7 @@ class dbal
* @param string $expr2 SQL expression that is appended to the first expression
* @return string Concatenated string
*/
function sql_concatenate($expr1, $expr2)
public function sql_concatenate($expr1, $expr2)
{
return $expr1 . ' || ' . $expr2;
}

View file

@ -94,7 +94,7 @@ class dbal_mssql extends dbal
/**
* {@inheritDoc}
*/
function sql_concatenate($expr1, $expr2)
public function sql_concatenate($expr1, $expr2)
{
return $expr1 . ' + ' . $expr2;
}

View file

@ -112,7 +112,7 @@ class dbal_mssql_odbc extends dbal
/**
* {@inheritDoc}
*/
function sql_concatenate($expr1, $expr2)
public function sql_concatenate($expr1, $expr2)
{
return $expr1 . ' + ' . $expr2;
}

View file

@ -260,7 +260,7 @@ class dbal_mssqlnative extends dbal
/**
* {@inheritDoc}
*/
function sql_concatenate($expr1, $expr2)
public function sql_concatenate($expr1, $expr2)
{
return $expr1 . ' + ' . $expr2;
}

View file

@ -122,7 +122,7 @@ class dbal_mysql extends dbal
/**
* {@inheritDoc}
*/
function sql_concatenate($expr1, $expr2)
public function sql_concatenate($expr1, $expr2)
{
return 'CONCAT(' . $expr1 . ', ' . $expr2 . ')';
}

View file

@ -125,7 +125,7 @@ class dbal_mysqli extends dbal
/**
* {@inheritDoc}
*/
function sql_concatenate($expr1, $expr2)
public function sql_concatenate($expr1, $expr2)
{
return 'CONCAT(' . $expr1 . ', ' . $expr2 . ')';
}