[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/conpherence/storage/ -> ConpherenceTransactionComment.php (source)

   1  <?php
   2  
   3  final class ConpherenceTransactionComment
   4    extends PhabricatorApplicationTransactionComment {
   5  
   6    protected $conpherencePHID;
   7  
   8    public function getApplicationTransactionObject() {
   9      return new ConpherenceTransaction();
  10    }
  11  
  12    public function getConfiguration() {
  13      $config = parent::getConfiguration();
  14  
  15      $config[self::CONFIG_COLUMN_SCHEMA] = array(
  16        'conpherencePHID' => 'phid?',
  17      ) + $config[self::CONFIG_COLUMN_SCHEMA];
  18  
  19      $config[self::CONFIG_KEY_SCHEMA] = array(
  20        'key_draft' => array(
  21          'columns' => array('authorPHID', 'conpherencePHID', 'transactionPHID'),
  22          'unique' => true,
  23        ),
  24      ) + $config[self::CONFIG_KEY_SCHEMA];
  25  
  26      return $config;
  27    }
  28  
  29  }


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