[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/differential/storage/ -> DifferentialHunkLegacy.php (source)

   1  <?php
   2  
   3  final class DifferentialHunkLegacy extends DifferentialHunk {
   4  
   5    protected $changes;
   6  
   7    public function getConfiguration() {
   8      return array(
   9        self::CONFIG_COLUMN_SCHEMA => array(
  10          'changes' => 'text?',
  11          'oldOffset' => 'uint32',
  12          'oldLen' => 'uint32',
  13          'newOffset' => 'uint32',
  14          'newLen' => 'uint32',
  15        ),
  16        self::CONFIG_KEY_SCHEMA => array(
  17          'changesetID' => array(
  18            'columns' => array('changesetID'),
  19          ),
  20        ),
  21      ) + parent::getConfiguration();
  22    }
  23  
  24    public function getTableName() {
  25      return 'differential_hunk';
  26    }
  27  
  28    public function getDataEncoding() {
  29      return 'utf8';
  30    }
  31  
  32    public function forceEncoding($encoding) {
  33      // Not supported, these are always utf8.
  34      return $this;
  35    }
  36  
  37  }


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