Changeset View
Changeset View
Standalone View
Standalone View
src/applications/pholio/storage/PholioMock.php
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | return id(new PholioMock()) | ||||
->setEditPolicy($edit_policy) | ->setEditPolicy($edit_policy) | ||||
->setSpacePHID($actor->getDefaultSpacePHID()); | ->setSpacePHID($actor->getDefaultSpacePHID()); | ||||
} | } | ||||
public function getMonogram() { | public function getMonogram() { | ||||
return 'M'.$this->getID(); | return 'M'.$this->getID(); | ||||
} | } | ||||
public function getURI() { | |||||
return '/'.$this->getMonogram(); | |||||
} | |||||
protected function getConfiguration() { | protected function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'name' => 'text128', | 'name' => 'text128', | ||||
'description' => 'text', | 'description' => 'text', | ||||
'mailKey' => 'bytes20', | 'mailKey' => 'bytes20', | ||||
'status' => 'text12', | 'status' => 'text12', | ||||
▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines |