本文整理汇总了PHP中Step::setFootNotes方法的典型用法代码示例。如果您正苦于以下问题:PHP Step::setFootNotes方法的具体用法?PHP Step::setFootNotes怎么用?PHP Step::setFootNotes使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Step
的用法示例。
在下文中一共展示了Step::setFootNotes方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: loadEntities
//.........这里部分代码省略.........
$sectionObj->setName((string) $section['name']);
$sectionObj->setLabel((string) $section['label']);
$sectionObj->setContent((string) $section->Content);
$sectionObj->setAnnotations((string) $section->Annotations);
$chapterObj->addSection($sectionObj);
}
$blockinfoObj->addChapter($chapterObj);
}
$panelObj->addFieldSet($blockinfoObj);
}
}
$stepObj->addPanel($panelObj);
}
foreach ($step->ActionList as $actionList) {
foreach ($actionList as $action) {
$actionObj = new Action($stepObj, (string) $action['name'], (string) $action['label']);
$actionObj->setClass((string) $action['class']);
$actionObj->setWhat((string) $action['what']);
$actionObj->setFor((string) $action['for']);
$actionObj->setUri((string) $action['uri']);
$stepObj->addAction($actionObj);
}
}
foreach ($step->FootNotes as $footnotes) {
$footnotesObj = new FootNotes($stepObj);
if ((string) $footnotes['position'] != "") {
$footnotesObj->setPosition((string) $footnotes['position']);
}
foreach ($footnotes as $footnote) {
$footnoteObj = new FootNote($stepObj, (int) $footnote['id']);
$footnoteObj->setText((string) $footnote);
$footnotesObj->addFootNote($footnoteObj);
}
$stepObj->setFootNotes($footnotesObj);
}
$this->steps[] = $stepObj;
}
if (!$step0) {
$this->setDynamic(false);
}
}
if ($simulator->Sites) {
foreach ($simulator->Sites->Site as $site) {
$siteObj = new Site($this, (int) $site['id'], (string) $site['name'], (string) $site['home']);
$this->sites[] = $siteObj;
}
}
if ($simulator->Sources) {
foreach ($simulator->Sources->Source as $source) {
$sourceObj = new Source($this, (int) $source['id'], (string) $source['datasource'], (string) $source['returnType']);
$sourceObj->setRequest((string) $source['request']);
$sourceObj->setSeparator((string) $source['separator']);
$sourceObj->setDelimiter((string) $source['delimiter']);
$sourceObj->setReturnPath((string) $source['returnPath']);
foreach ($source->Parameter as $parameter) {
$parameterObj = new Parameter($sourceObj, (string) $parameter['type']);
$parameterObj->setName((string) $parameter['name']);
$parameterObj->setFormat((string) $parameter['format']);
$parameterObj->setData((int) $parameter['data']);
$sourceObj->addParameter($parameterObj);
}
$this->sources[] = $sourceObj;
}
}
if ($simulator->BusinessRules) {
foreach ($simulator->BusinessRules->BusinessRule as $brule) {