Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/storage/DivinerLiveBook.php
Show All 21 Lines | final class DivinerLiveBook extends DivinerDAO | ||||
public function setConfig($key, $value) { | public function setConfig($key, $value) { | ||||
$this->configurationData[$key] = $value; | $this->configurationData[$key] = $value; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function generatePHID() { | public function generatePHID() { | ||||
return PhabricatorPHID::generateNewPHID( | return PhabricatorPHID::generateNewPHID( | ||||
DivinerPHIDTypeBook::TYPECONST); | DivinerBookPHIDType::TYPECONST); | ||||
} | } | ||||
public function getTitle() { | public function getTitle() { | ||||
return $this->getConfig('title', $this->getName()); | return $this->getConfig('title', $this->getName()); | ||||
} | } | ||||
public function getShortTitle() { | public function getShortTitle() { | ||||
return $this->getConfig('short', $this->getTitle()); | return $this->getConfig('short', $this->getTitle()); | ||||
Show All 33 Lines |