Changeset View
Changeset View
Standalone View
Standalone View
src/applications/pholio/storage/PholioMock.php
Show All 19 Lines | final class PholioMock extends PholioDAO | ||||
const STATUS_OPEN = 'open'; | const STATUS_OPEN = 'open'; | ||||
const STATUS_CLOSED = 'closed'; | const STATUS_CLOSED = 'closed'; | ||||
protected $authorPHID; | protected $authorPHID; | ||||
protected $viewPolicy; | protected $viewPolicy; | ||||
protected $editPolicy; | protected $editPolicy; | ||||
protected $name; | protected $name; | ||||
protected $originalName; | |||||
protected $description; | protected $description; | ||||
protected $coverPHID; | protected $coverPHID; | ||||
protected $mailKey; | protected $mailKey; | ||||
protected $status; | protected $status; | ||||
protected $spacePHID; | protected $spacePHID; | ||||
private $images = self::ATTACHABLE; | private $images = self::ATTACHABLE; | ||||
private $allImages = self::ATTACHABLE; | private $allImages = self::ATTACHABLE; | ||||
Show All 23 Lines | final class PholioMock extends PholioDAO | ||||
} | } | ||||
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', | ||||
'originalName' => 'text128', | |||||
'mailKey' => 'bytes20', | 'mailKey' => 'bytes20', | ||||
'status' => 'text12', | 'status' => 'text12', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'key_phid' => null, | 'key_phid' => null, | ||||
'phid' => array( | 'phid' => array( | ||||
'columns' => array('phid'), | 'columns' => array('phid'), | ||||
'unique' => true, | 'unique' => true, | ||||
▲ Show 20 Lines • Show All 255 Lines • Show Last 20 Lines |