1
0
mirror of synced 2024-12-13 14:56:01 +03:00

changed modifiers

This commit is contained in:
Fabio B. Silva 2012-03-25 13:00:50 -03:00
parent 0f9afbdf0a
commit 449d8a66ad
6 changed files with 24 additions and 18 deletions

View File

@ -41,17 +41,17 @@ class Comparison
/**
* @var mixed
*/
private $leftExpr;
protected $leftExpr;
/**
* @var string
*/
private $operator;
protected $operator;
/**
* @var mixed
*/
private $rightExpr;
protected $rightExpr;
/**
* Creates a comparison expression with the given arguments.

View File

@ -34,17 +34,17 @@ class From
/**
* @var string
*/
private $from;
protected $from;
/**
* @var string
*/
private $alias;
protected $alias;
/**
* @var string
*/
private $indexBy;
protected $indexBy;
/**
* @param string $from The class name.

View File

@ -34,12 +34,12 @@ class Func
/**
* @var string
*/
private $name;
protected $name;
/**
* @var array
*/
private $arguments;
protected $arguments;
/**
* Creates a function, with the given argument.
@ -69,6 +69,9 @@ class Func
return $this->arguments;
}
/**
* @return string
*/
public function __toString()
{
return $this->name . '(' . implode(', ', $this->arguments) . ')';

View File

@ -40,32 +40,32 @@ class Join
/**
* @var string
*/
private $joinType;
protected $joinType;
/**
* @var string
*/
private $join;
protected $join;
/**
* @var string
*/
private $alias;
protected $alias;
/**
* @var string
*/
private $conditionType;
protected $conditionType;
/**
* @var string
*/
private $condition;
protected $condition;
/**
* @var string
*/
private $indexBy;
protected $indexBy;
/**
* @param string $joinType The condition type constant. Either INNER_JOIN or LEFT_JOIN.

View File

@ -34,17 +34,17 @@ class Math
/**
* @var mixed
*/
private $leftExpr;
protected $leftExpr;
/**
* @var string
*/
private $operator;
protected $operator;
/**
* @var mixed
*/
private $rightExpr;
protected $rightExpr;
/**
* Creates a mathematical expression with the given arguments.
@ -84,6 +84,9 @@ class Math
return $this->rightExpr;
}
/**
* @return string
*/
public function __toString()
{
// Adjusting Left Expression

View File

@ -54,7 +54,7 @@ class OrderBy
/**
* @var array
*/
private $parts = array();
protected $parts = array();
/**
* @param string $sort