[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/search/storage/document/ -> PhabricatorSearchDocumentRelationship.php (source)

   1  <?php
   2  
   3  final class PhabricatorSearchDocumentRelationship extends PhabricatorSearchDAO {
   4  
   5    protected $relatedPHID;
   6    protected $relation;
   7    protected $relatedType;
   8    protected $relatedTime;
   9  
  10    public function getConfiguration() {
  11      return array(
  12        self::CONFIG_TIMESTAMPS => false,
  13        self::CONFIG_IDS        => self::IDS_MANUAL,
  14        self::CONFIG_COLUMN_SCHEMA => array(
  15          'relation' => 'text4',
  16          'relatedType' => 'text4',
  17          'relatedTime' => 'epoch',
  18        ),
  19        self::CONFIG_KEY_SCHEMA => array(
  20          'key_phid' => null,
  21          'phid' => array(
  22            'columns' => array('phid'),
  23          ),
  24          'relatedPHID' => array(
  25            'columns' => array('relatedPHID', 'relation'),
  26          ),
  27          'relation' => array(
  28            'columns' => array('relation', 'relatedPHID'),
  29          ),
  30        ),
  31      ) + parent::getConfiguration();
  32    }
  33  
  34    public function getIDKey() {
  35      return 'phid';
  36    }
  37  
  38  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1