コード例 #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;
 }