Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/query/HarbormasterBuildPlanQuery.php
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | return parent::getOrderableColumns() + array( | ||||
'name' => array( | 'name' => array( | ||||
'column' => 'name', | 'column' => 'name', | ||||
'type' => 'string', | 'type' => 'string', | ||||
'reverse' => true, | 'reverse' => true, | ||||
), | ), | ||||
); | ); | ||||
} | } | ||||
public function getPagingValueMap($cursor, array $keys) { | protected function getPagingValueMap($cursor, array $keys) { | ||||
$plan = $this->loadCursorObject($cursor); | $plan = $this->loadCursorObject($cursor); | ||||
return array( | return array( | ||||
'id' => $plan->getID(), | 'id' => $plan->getID(), | ||||
'name' => $plan->getName(), | 'name' => $plan->getName(), | ||||
); | ); | ||||
} | } | ||||
public function getBuiltinOrders() { | public function getBuiltinOrders() { | ||||
Show All 9 Lines |