Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phriction/storage/PhrictionContent.php
| Show All 21 Lines | final class PhrictionContent extends PhrictionDAO | ||||
| protected $changeRef; | protected $changeRef; | ||||
| private $renderedTableOfContents; | private $renderedTableOfContents; | ||||
| public function renderContent(PhabricatorUser $viewer) { | public function renderContent(PhabricatorUser $viewer) { | ||||
| return PhabricatorMarkupEngine::renderOneObject( | return PhabricatorMarkupEngine::renderOneObject( | ||||
| $this, | $this, | ||||
| self::MARKUP_FIELD_BODY, | self::MARKUP_FIELD_BODY, | ||||
| $viewer); | $viewer, | ||||
| $this); | |||||
| } | } | ||||
| protected function getConfiguration() { | protected function getConfiguration() { | ||||
| return array( | return array( | ||||
| self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
| 'version' => 'uint32', | 'version' => 'uint32', | ||||
| 'title' => 'sort', | 'title' => 'sort', | ||||
| 'slug' => 'text128', | 'slug' => 'text128', | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||