Esempio n. 1
0
File: Count.php Progetto: pihi/mason
 public function __construct(\Mason\Statement $statement, $field = null, $distinct = false)
 {
     parent::__construct($statement);
     $this->field = $statement->field($field);
     $this->distinct = $distinct;
 }
Esempio n. 2
0
File: Sum.php Progetto: pihi/mason
 public function __construct(\Mason\Statement $statement, $field = null)
 {
     parent::__construct($statement);
     $this->field = $statement->field($field);
 }
Esempio n. 3
0
 public function __construct(\Mason\Statement $statement, $expression = '')
 {
     parent::__construct($statement);
     $this->expression = $expression;
 }