[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

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

   1  <?php
   2  
   3  final class PhabricatorSearchDocument extends PhabricatorSearchDAO {
   4  
   5    protected $documentType;
   6    protected $documentTitle;
   7    protected $documentCreated;
   8    protected $documentModified;
   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          'documentType' => 'text4',
  16          'documentTitle' => 'text255',
  17          'documentCreated' => 'epoch',
  18          'documentModified' => 'epoch',
  19        ),
  20        self::CONFIG_KEY_SCHEMA => array(
  21          'key_phid' => null,
  22          'PRIMARY' => array(
  23            'columns' => array('phid'),
  24            'unique' => true,
  25          ),
  26          'documentCreated' => array(
  27            'columns' => array('documentCreated'),
  28          ),
  29        ),
  30      ) + parent::getConfiguration();
  31    }
  32  
  33    public function getIDKey() {
  34      return 'phid';
  35    }
  36  
  37  }


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