Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/editor/AlmanacInterfaceEditEngine.php
| Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Lines | protected function getObjectName() { | ||||
| return pht('Interface'); | return pht('Interface'); | ||||
| } | } | ||||
| protected function getEditorURI() { | protected function getEditorURI() { | ||||
| return '/almanac/interface/edit/'; | return '/almanac/interface/edit/'; | ||||
| } | } | ||||
| protected function getObjectCreateCancelURI($object) { | protected function getObjectCreateCancelURI($object) { | ||||
| if ($this->getDevice()) { | |||||
| return $this->getDevice()->getURI(); | |||||
| } | |||||
| return '/almanac/interface/'; | return '/almanac/interface/'; | ||||
| } | } | ||||
| protected function getObjectViewURI($object) { | protected function getObjectViewURI($object) { | ||||
| return $object->getDevice()->getURI(); | return $object->getDevice()->getURI(); | ||||
| } | } | ||||
| protected function buildCustomEditFields($object) { | protected function buildCustomEditFields($object) { | ||||
| ▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines | |||||