Page MenuHomec4science

NuanceImportCursorData.php
No OneTemporary

File Metadata

Created
Sun, Feb 2, 06:17

NuanceImportCursorData.php

<?php
final class NuanceImportCursorData
extends NuanceDAO {
protected $sourcePHID;
protected $cursorKey;
protected $cursorType;
protected $properties = array();
protected function getConfiguration() {
return array(
self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array(
'properties' => self::SERIALIZATION_JSON,
),
self::CONFIG_COLUMN_SCHEMA => array(
'cursorType' => 'text32',
'cursorKey' => 'text32',
),
self::CONFIG_KEY_SCHEMA => array(
'key_source' => array(
'columns' => array('sourcePHID', 'cursorKey'),
'unique' => true,
),
),
) + parent::getConfiguration();
}
public function generatePHID() {
return PhabricatorPHID::generateNewPHID(
NuanceImportCursorPHIDType::TYPECONST);
}
}

Event Timeline