@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
at upstream/main 36 lines 853 B view raw
1<?php 2 3interface PhabricatorConduitResultInterface 4 extends PhabricatorPHIDInterface { 5 6 public function getFieldSpecificationsForConduit(); 7 public function getFieldValuesForConduit(); 8 public function getConduitSearchAttachments(); 9 10} 11 12// TEMPLATE IMPLEMENTATION ///////////////////////////////////////////////////// 13 14/* -( PhabricatorConduitResultInterface )---------------------------------- */ 15/* 16 17 public function getFieldSpecificationsForConduit() { 18 return array( 19 id(new PhabricatorConduitSearchFieldSpecification()) 20 ->setKey('name') 21 ->setType('string') 22 ->setDescription(pht('The name of the object.')), 23 ); 24 } 25 26 public function getFieldValuesForConduit() { 27 return array( 28 'name' => $this->getName(), 29 ); 30 } 31 32 public function getConduitSearchAttachments() { 33 return array(); 34 } 35 36*/