Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/phid/PhabricatorProjectColumnPHIDType.php
Show All 28 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($column->isHidden()); | |||||
if ($column->isHidden()) { | |||||
$handle->setStatus(PhabricatorObjectHandle::STATUS_CLOSED); | |||||
} | |||||
} | } | ||||
} | } | ||||
} | } |