Page MenuHomePhorge

NuanceRequestor.php
No OneTemporary

Size
797 B
Referenced Files
None
Subscribers
None

NuanceRequestor.php

<?php
final class NuanceRequestor
extends NuanceDAO {
protected $data;
public function getConfiguration() {
return array(
self::CONFIG_AUX_PHID => true,
self::CONFIG_SERIALIZATION => array(
'data' => self::SERIALIZATION_JSON,
),
) + parent::getConfiguration();
}
public function generatePHID() {
return PhabricatorPHID::generateNewPHID(
NuanceRequestorPHIDType::TYPECONST);
}
public function save() {
if (!$this->getMailKey()) {
$this->setMailKey(Filesystem::readRandomCharacters(20));
}
return parent::save();
}
public function getURI() {
return '/nuance/requestor/view/'.$this->getID().'/';
}
public function getPhabricatorUserPHID() {
return idx($this->getData(), 'phabricatorUserPHID');
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Sep 16, 3:18 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
439437
Default Alt Text
NuanceRequestor.php (797 B)

Event Timeline