1
0
mirror of synced 2025-01-07 17:47:10 +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 * @var mixed
*/ */
private $leftExpr; protected $leftExpr;
/** /**
* @var string * @var string
*/ */
private $operator; protected $operator;
/** /**
* @var mixed * @var mixed
*/ */
private $rightExpr; protected $rightExpr;
/** /**
* Creates a comparison expression with the given arguments. * Creates a comparison expression with the given arguments.

View File

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

View File

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

View File

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

View File

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

View File

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