Changeset View
Changeset View
Standalone View
Standalone View
src/applications/ponder/storage/PonderQuestion.php
Show All 14 Lines | final class PonderQuestion extends PonderDAO | ||||
const MARKUP_FIELD_CONTENT = 'markup:content'; | const MARKUP_FIELD_CONTENT = 'markup:content'; | ||||
protected $title; | protected $title; | ||||
protected $phid; | protected $phid; | ||||
protected $authorPHID; | protected $authorPHID; | ||||
protected $status; | protected $status; | ||||
protected $content; | protected $content; | ||||
protected $answerWiki; | |||||
protected $contentSource; | protected $contentSource; | ||||
protected $viewPolicy; | protected $viewPolicy; | ||||
protected $spacePHID; | protected $spacePHID; | ||||
protected $answerCount; | protected $answerCount; | ||||
protected $mailKey; | protected $mailKey; | ||||
private $answers; | private $answers; | ||||
Show All 20 Lines | final class PonderQuestion extends PonderDAO | ||||
protected function getConfiguration() { | protected function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'title' => 'text255', | 'title' => 'text255', | ||||
'status' => 'text32', | 'status' => 'text32', | ||||
'content' => 'text', | 'content' => 'text', | ||||
'answerWiki' => 'text', | |||||
'answerCount' => 'uint32', | 'answerCount' => 'uint32', | ||||
'mailKey' => 'bytes20', | 'mailKey' => 'bytes20', | ||||
// T6203/NULLABILITY | // T6203/NULLABILITY | ||||
// This should always exist. | // This should always exist. | ||||
'contentSource' => 'text?', | 'contentSource' => 'text?', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
▲ Show 20 Lines • Show All 226 Lines • Show Last 20 Lines |