Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phrequent/query/PhrequentUserTimeQuery.php
| Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | switch ($this->ended) { | ||||
| 'dateEnded IS NULL'); | 'dateEnded IS NULL'); | ||||
| break; | break; | ||||
| default: | default: | ||||
| throw new Exception(pht("Unknown ended '%s'!", $this->ended)); | throw new Exception(pht("Unknown ended '%s'!", $this->ended)); | ||||
| } | } | ||||
| $where[] = $this->buildPagingClause($conn); | $where[] = $this->buildPagingClause($conn); | ||||
| return $this->formatWhereClause($where); | return $this->formatWhereClause($conn, $where); | ||||
| } | } | ||||
| public function getOrderableColumns() { | public function getOrderableColumns() { | ||||
| return parent::getOrderableColumns() + array( | return parent::getOrderableColumns() + array( | ||||
| 'start' => array( | 'start' => array( | ||||
| 'column' => 'dateStarted', | 'column' => 'dateStarted', | ||||
| 'type' => 'int', | 'type' => 'int', | ||||
| ), | ), | ||||
| ▲ Show 20 Lines • Show All 206 Lines • Show Last 20 Lines | |||||