[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/infrastructure/customfield/storage/ -> PhabricatorCustomFieldStorage.php (source)

   1  <?php
   2  
   3  abstract class PhabricatorCustomFieldStorage
   4    extends PhabricatorLiskDAO {
   5  
   6    protected $objectPHID;
   7    protected $fieldIndex;
   8    protected $fieldValue;
   9  
  10    public function getConfiguration() {
  11      return array(
  12        self::CONFIG_TIMESTAMPS => false,
  13        self::CONFIG_COLUMN_SCHEMA => array(
  14          'fieldIndex' => 'bytes12',
  15          'fieldValue' => 'text',
  16        ),
  17        self::CONFIG_KEY_SCHEMA => array(
  18          'objectPHID' => array(
  19            'columns' => array('objectPHID', 'fieldIndex'),
  20            'unique' => true,
  21          ),
  22        ),
  23      ) + parent::getConfiguration();
  24    }
  25  
  26  }


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