Changeset View
Changeset View
Standalone View
Standalone View
src/applications/fund/storage/FundInitiative.php
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | return id(new FundInitiative()) | ||||
->setViewPolicy($view_policy) | ->setViewPolicy($view_policy) | ||||
->setEditPolicy($actor->getPHID()) | ->setEditPolicy($actor->getPHID()) | ||||
->setStatus(self::STATUS_OPEN); | ->setStatus(self::STATUS_OPEN); | ||||
} | } | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'name' => 'text255', | |||||
'description' => 'text', | |||||
'status' => 'text32', | |||||
), | |||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function generatePHID() { | public function generatePHID() { | ||||
return PhabricatorPHID::generateNewPHID(FundInitiativePHIDType::TYPECONST); | return PhabricatorPHID::generateNewPHID(FundInitiativePHIDType::TYPECONST); | ||||
} | } | ||||
public function getMonogram() { | public function getMonogram() { | ||||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |