Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/storage/ConpherenceThread.php
<?php | <?php | ||||
final class ConpherenceThread extends ConpherenceDAO | final class ConpherenceThread extends ConpherenceDAO | ||||
implements | implements | ||||
PhabricatorPolicyInterface, | PhabricatorPolicyInterface, | ||||
PhabricatorApplicationTransactionInterface, | PhabricatorApplicationTransactionInterface, | ||||
PhabricatorMentionableInterface, | PhabricatorMentionableInterface, | ||||
PhabricatorDestructibleInterface, | PhabricatorDestructibleInterface, | ||||
PhabricatorNgramsInterface { | PhabricatorNgramsInterface { | ||||
protected $title; | protected $title; | ||||
protected $topic; | protected $topic; | ||||
protected $imagePHIDs = array(); // TODO; nuke after migrations | |||||
protected $profileImagePHID; | protected $profileImagePHID; | ||||
protected $messageCount; | protected $messageCount; | ||||
protected $recentParticipantPHIDs = array(); | protected $recentParticipantPHIDs = array(); | ||||
protected $mailKey; | protected $mailKey; | ||||
protected $viewPolicy; | protected $viewPolicy; | ||||
protected $editPolicy; | protected $editPolicy; | ||||
protected $joinPolicy; | protected $joinPolicy; | ||||
Show All 15 Lines | return id(new ConpherenceThread()) | ||||
->setJoinPolicy($default_policy); | ->setJoinPolicy($default_policy); | ||||
} | } | ||||
protected function getConfiguration() { | protected function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_SERIALIZATION => array( | self::CONFIG_SERIALIZATION => array( | ||||
'recentParticipantPHIDs' => self::SERIALIZATION_JSON, | 'recentParticipantPHIDs' => self::SERIALIZATION_JSON, | ||||
'imagePHIDs' => self::SERIALIZATION_JSON, | |||||
), | ), | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'title' => 'text255?', | 'title' => 'text255?', | ||||
'topic' => 'text255', | 'topic' => 'text255', | ||||
'messageCount' => 'uint64', | 'messageCount' => 'uint64', | ||||
'mailKey' => 'text20', | 'mailKey' => 'text20', | ||||
'joinPolicy' => 'policy', | 'joinPolicy' => 'policy', | ||||
'profileImagePHID' => 'phid?', | 'profileImagePHID' => 'phid?', | ||||
▲ Show 20 Lines • Show All 407 Lines • Show Last 20 Lines |