Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/storage/PhamePost.php
Show First 20 Lines • Show All 280 Lines • ▼ Show 20 Lines | /* -( PhabricatorSubscribableInterface Implementation )-------------------- */ | ||||
public function isAutomaticallySubscribed($phid) { | public function isAutomaticallySubscribed($phid) { | ||||
return ($this->bloggerPHID == $phid); | return ($this->bloggerPHID == $phid); | ||||
} | } | ||||
public function shouldShowSubscribersProperty() { | public function shouldShowSubscribersProperty() { | ||||
return true; | return true; | ||||
} | } | ||||
public function shouldAllowSubscription($phid) { | |||||
return true; | |||||
} | |||||
/* -( PhabricatorConduitResultInterface )---------------------------------- */ | /* -( PhabricatorConduitResultInterface )---------------------------------- */ | ||||
public function getFieldSpecificationsForConduit() { | public function getFieldSpecificationsForConduit() { | ||||
return array( | return array( | ||||
id(new PhabricatorConduitSearchFieldSpecification()) | id(new PhabricatorConduitSearchFieldSpecification()) | ||||
->setKey('title') | ->setKey('title') | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |