@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 51 lines 992 B view raw
1<?php 2 3abstract class DifferentialStoredCustomField 4 extends DifferentialCustomField { 5 6 private $value; 7 8 public function setValue($value) { 9 $this->value = $value; 10 return $this; 11 } 12 13 public function getValue() { 14 return $this->value; 15 } 16 17 public function shouldUseStorage() { 18 return true; 19 } 20 21 public function newStorageObject() { 22 return new DifferentialCustomFieldStorage(); 23 } 24 25 protected function newStringIndexStorage() { 26 return new DifferentialCustomFieldStringIndex(); 27 } 28 29 protected function newNumericIndexStorage() { 30 return new DifferentialCustomFieldNumericIndex(); 31 } 32 33 public function getValueForStorage() { 34 return $this->value; 35 } 36 37 public function setValueFromStorage($value) { 38 $this->value = $value; 39 return $this; 40 } 41 42 public function setValueFromApplicationTransactions($value) { 43 $this->setValue($value); 44 return $this; 45 } 46 47 public function getConduitDictionaryValue() { 48 return $this->getValue(); 49 } 50 51}