Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phriction/storage/PhrictionDocument.php
Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | public function getAncestor($slug) { | ||||
return $this->assertAttachedKey($this->ancestors, $slug); | return $this->assertAttachedKey($this->ancestors, $slug); | ||||
} | } | ||||
public function attachAncestor($slug, $ancestor) { | public function attachAncestor($slug, $ancestor) { | ||||
$this->ancestors[$slug] = $ancestor; | $this->ancestors[$slug] = $ancestor; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getURI() { | |||||
return self::getSlugURI($this->getSlug()); | |||||
} | |||||
/* -( Status )------------------------------------------------------------- */ | /* -( Status )------------------------------------------------------------- */ | ||||
public function getStatusObject() { | public function getStatusObject() { | ||||
return PhrictionDocumentStatus::newStatusObject($this->getStatus()); | return PhrictionDocumentStatus::newStatusObject($this->getStatus()); | ||||
} | } | ||||
public function getStatusIcon() { | public function getStatusIcon() { | ||||
▲ Show 20 Lines • Show All 168 Lines • Show Last 20 Lines |