Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/storage/PhabricatorDashboardInstall.php
Show All 16 Lines | final class PhabricatorDashboardInstall | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'applicationClass' => 'text64', | 'applicationClass' => 'text64', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'objectPHID' => array( | 'objectPHID' => array( | ||||
'columns' => array('objectPHID', 'applicationClass'), | 'columns' => array('objectPHID', 'applicationClass'), | ||||
'unique' => true, | |||||
), | ), | ||||
), | ), | ||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public static function getDashboard( | public static function getDashboard( | ||||
PhabricatorUser $viewer, | PhabricatorUser $viewer, | ||||
$object_phid, | $object_phid, | ||||
Show All 19 Lines |