Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/editor/AlmanacServiceEditEngine.php
| Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | final class AlmanacServiceEditEngine | ||||
| protected function newEditableObjectForDocumentation() { | protected function newEditableObjectForDocumentation() { | ||||
| $service_type = new AlmanacCustomServiceType(); | $service_type = new AlmanacCustomServiceType(); | ||||
| $this->setServiceType($service_type->getServiceTypeConstant()); | $this->setServiceType($service_type->getServiceTypeConstant()); | ||||
| return $this->newEditableObject(); | return $this->newEditableObject(); | ||||
| } | } | ||||
| protected function newObjectQuery() { | protected function newObjectQuery() { | ||||
| return new AlmanacServiceQuery(); | return id(new AlmanacServiceQuery()) | ||||
| ->needProperties(true); | |||||
| } | } | ||||
| protected function getObjectCreateTitleText($object) { | protected function getObjectCreateTitleText($object) { | ||||
| return pht('Create Service'); | return pht('Create Service'); | ||||
| } | } | ||||
| protected function getObjectCreateButtonText($object) { | protected function getObjectCreateButtonText($object) { | ||||
| return pht('Create Service'); | return pht('Create Service'); | ||||
| ▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines | |||||