本文整理匯總了PHP中Planning::getBacklogTrackers方法的典型用法代碼示例。如果您正苦於以下問題:PHP Planning::getBacklogTrackers方法的具體用法?PHP Planning::getBacklogTrackers怎麽用?PHP Planning::getBacklogTrackers使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Planning
的用法示例。
在下文中一共展示了Planning::getBacklogTrackers方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: getMappingCollection
private function getMappingCollection(Planning $planning, Cardwall_OnTop_Config_ColumnCollection $columns, Cardwall_FieldProviders_IProvideFieldGivenAnArtifact $field_provider, Cardwall_OnTop_Config $config)
{
$trackers_used_on_cardwall = array();
foreach ($planning->getBacklogTrackers() as $backlog_tracker) {
$trackers_used_on_cardwall[] = $backlog_tracker->getChildren();
}
return $config->getCardwallMappings($this->getIndexedStatusFieldsOf($trackers_used_on_cardwall, $field_provider), $columns);
}
示例2: thereIsAtLeastOneBacklogTrackerNotDeleted
private function thereIsAtLeastOneBacklogTrackerNotDeleted(Planning $planning)
{
$there_is_an_active_tracker = false;
foreach ($planning->getBacklogTrackers() as $backlog_tracker) {
$there_is_an_active_tracker = $there_is_an_active_tracker || !$backlog_tracker->isDeleted();
}
return $there_is_an_active_tracker;
}
示例3: exportBacklogTrackers
private function exportBacklogTrackers(SimpleXMLElement $planning_node, Planning $planning)
{
$backlog_nodes = $planning_node->addChild(self::NODE_BACKLOGS);
foreach ($planning->getBacklogTrackers() as $backlog_tracker) {
$planning_backlog_tracker_id = $this->getFormattedTrackerId($backlog_tracker->getId());
$this->checkId($planning_backlog_tracker_id, self::NODE_BACKLOG);
$backlog_nodes->addChild(self::NODE_BACKLOG, $this->getFormattedTrackerId($backlog_tracker->getId()));
}
}