本文整理汇总了PHP中CMbDT::dateTimeXML方法的典型用法代码示例。如果您正苦于以下问题:PHP CMbDT::dateTimeXML方法的具体用法?PHP CMbDT::dateTimeXML怎么用?PHP CMbDT::dateTimeXML使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CMbDT
的用法示例。
在下文中一共展示了CMbDT::dateTimeXML方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: addRhs
/**
* Ajout du RHS
*
* @param DOMNode $elParent Node
* @param CSejour $mbSejour Séjour
* @param CRHS $mbRhs RHS
*
* @return void
*/
function addRhs(DOMNode $elParent, CSejour $mbSejour, CRHS $mbRhs)
{
$this->addAttribute($elParent, "action", "création");
$this->addAttribute($elParent, "version", "M01");
$this->addElement($elParent, "dateAction", CMbDT::dateTimeXML());
// Identifiant du séjour
$identifiant = $this->addElement($elParent, "identifiant");
$this->addElement($identifiant, "emetteur", $mbRhs->_id);
$dateHeureOptionnelleLundi = $this->addElement($elParent, "dateHeureOptionnelleLundi");
$this->addElement($dateHeureOptionnelleLundi, "date", $mbRhs->date_monday);
// @todo Voir pour mettre sur un plateau
$this->addCodeLibelle($elParent, "uniteMedicale", CGroups::loadCurrent()->_id, CGroups::loadCurrent()->_view);
$joursPresence = $this->addElement($elParent, "joursPresence");
if ($mbRhs->_in_bounds) {
$this->addJoursPresence($joursPresence, $mbRhs);
}
$this->addElement($elParent, "diagnostics");
$actesReeducation = $this->addElement($elParent, "actesReeducation");
$this->addActesReeducation($actesReeducation, $mbRhs);
$dependances = $this->addElement($elParent, "dependances");
$this->addDependances($dependances, $mbRhs);
}