[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/harbormaster/storage/ -> HarbormasterScratchTable.php (source)

   1  <?php
   2  
   3  /**
   4   * This is just a test table that unit tests can use if they need to test
   5   * generic database operations. It won't change and break tests and stuff, and
   6   * mistakes in test construction or isolation won't impact the application in
   7   * any way.
   8   */
   9  final class HarbormasterScratchTable extends HarbormasterDAO {
  10  
  11    protected $data;
  12    protected $bigData;
  13  
  14    public function getConfiguration() {
  15      return array(
  16        self::CONFIG_COLUMN_SCHEMA => array(
  17          'data' => 'text64',
  18          'bigData' => 'text?',
  19        ),
  20        self::CONFIG_KEY_SCHEMA => array(
  21          'data' => array(
  22            'columns' => array('data'),
  23          ),
  24        ),
  25      ) + parent::getConfiguration();
  26    }
  27  
  28  }


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