本文整理汇总了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()));
}
}