コード例 #1
0
ファイル: Report_Range.php プロジェクト: Trideon/gigolo
 public function Add(ReportCommandBuilder $builder)
 {
     if ($this->range != self::ALL_TIME) {
         $builder->Within($this->start, $this->end);
     }
 }
コード例 #2
0
ファイル: CannedReport.php プロジェクト: Trideon/gigolo
 private function LimitToMonth(ReportCommandBuilder $builder)
 {
     $builder->Within($this->monthRange->Start(), $this->monthRange->End());
     return $builder;
 }