Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/phid/PhabricatorProjectPHIDTypeColumn.php
Show All 32 Lines | public function loadHandles( | ||||
array $handles, | array $handles, | ||||
array $objects) { | array $objects) { | ||||
foreach ($handles as $phid => $handle) { | foreach ($handles as $phid => $handle) { | ||||
$column = $objects[$phid]; | $column = $objects[$phid]; | ||||
$handle->setName($column->getDisplayName()); | $handle->setName($column->getDisplayName()); | ||||
$handle->setURI('/project/board/'.$column->getProject()->getID().'/'); | $handle->setURI('/project/board/'.$column->getProject()->getID().'/'); | ||||
$handle->setDisabled( | $handle->setDisabled($column->isHidden()); | ||||
$column->getStatus() == PhabricatorProjectColumn::STATUS_DELETED); | |||||
} | } | ||||
} | } | ||||
} | } |