예제 #1
0
파일: Count.php 프로젝트: pihi/mason
 public function __construct(\Mason\Statement $statement, $field = null, $distinct = false)
 {
     parent::__construct($statement);
     $this->field = $statement->field($field);
     $this->distinct = $distinct;
 }
예제 #2
0
파일: Sum.php 프로젝트: pihi/mason
 public function __construct(\Mason\Statement $statement, $field = null)
 {
     parent::__construct($statement);
     $this->field = $statement->field($field);
 }
예제 #3
0
파일: Expression.php 프로젝트: pihi/mason
 public function __construct(\Mason\Statement $statement, $expression = '')
 {
     parent::__construct($statement);
     $this->expression = $expression;
 }