Page MenuHomestyx hydra

NuanceRequestor.php
No OneTemporary

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
Fri, Nov 21, 3:35 PM (11 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
353488
Default Alt Text
NuanceRequestor.php (797 B)

Event Timeline