本文整理匯總了PHP中Tracker_ArtifactFactory::getDao方法的典型用法代碼示例。如果您正苦於以下問題:PHP Tracker_ArtifactFactory::getDao方法的具體用法?PHP Tracker_ArtifactFactory::getDao怎麽用?PHP Tracker_ArtifactFactory::getDao使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Tracker_ArtifactFactory
的用法示例。
在下文中一共展示了Tracker_ArtifactFactory::getDao方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: __construct
public function __construct(Tracker_ArtifactFactory $artifact_factory, Tracker_Artifact_Changeset_FieldsValidator $fields_validator, Tracker_Artifact_Changeset_InitialChangesetCreatorBase $changeset_creator)
{
$this->artifact_dao = $artifact_factory->getDao();
$this->artifact_factory = $artifact_factory;
$this->fields_validator = $fields_validator;
$this->changeset_creator = $changeset_creator;
}
示例2: __construct
public function __construct(Tracker_ArtifactFactory $artifact_factory, Planning_Milestone $milestone, array $item_names, array $descendant_trackers, AgileDashboard_BacklogItemDao $item_dao, $limit = null, $offset = null)
{
$this->milestone = $milestone;
$this->backlogitem_trackers = $item_names;
$this->dao = $item_dao;
$this->descendant_trackers = $descendant_trackers;
$this->limit = $limit;
$this->offset = $offset;
$this->items_finder = new AgileDashboard_Milestone_Backlog_DescendantItemsFinder($item_dao, $artifact_factory->getDao(), $artifact_factory, $milestone, $this->getDescendantTrackerIds());
}