本文整理汇总了PHP中CMbObject::loadView方法的典型用法代码示例。如果您正苦于以下问题:PHP CMbObject::loadView方法的具体用法?PHP CMbObject::loadView怎么用?PHP CMbObject::loadView使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CMbObject
的用法示例。
在下文中一共展示了CMbObject::loadView方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: loadView
/**
* @see parent::loadView()
*/
function loadView()
{
parent::loadView();
$this->loadRefExClassField();
$this->loadRefExClassTriggered();
$this->_view = $this->_ref_ex_class_field->_view . " > " . $this->_ref_ex_class_triggered->_view;
}
示例2: loadView
/**
* @see parent::loadView()
*/
function loadView()
{
parent::loadView();
if (!$this->_id) {
return;
}
$field = $this->loadRefExClassField();
$this->_value = "";
if ($this->operator != "hasValue" && $this->operator != "hasNoValue") {
$_ex_class_id = $field->loadRefExGroup()->ex_class_id;
$_spec = $field->getSpecObject();
$_obj = (object) array("_class" => "CExObject_{$_ex_class_id}", $field->name => $this->value);
$this->_value = $_spec->getValue($_obj);
}
$this->_view = $field->_view . " " . $this->_specs["operator"]->_locales[$this->operator] . " " . $this->_value;
}
示例3: loadView
function loadView()
{
if (!$this->_id) {
return;
}
parent::loadView();
$this->loadMasterDomain();
if (!$this->_object_class) {
return;
}
$object = new $this->_object_class();
$this->_view = self::formatValue($object, $this->pattern, $this->value);
}
示例4: loadView
public function loadView()
{
parent::loadView();
$this->loadPraticien()->loadRefFunction();
$this->loadCodable();
$this->loadActesCCAM();
foreach ($this->_ref_actes_ccam as &$_acte) {
$_acte->getTarif();
$_activite = $_acte->_ref_code_ccam->activites[$_acte->code_activite];
$_phase = $_activite->phases[$_acte->code_phase];
/* Verification des modificateurs codés */
foreach ($_phase->_modificateurs as $modificateur) {
$position = strpos($_acte->modificateurs, $modificateur->code);
if ($position !== false) {
if ($modificateur->_double == "1") {
$modificateur->_checked = $modificateur->code;
} elseif ($modificateur->_double == "2") {
$modificateur->_checked = $modificateur->code . $modificateur->_double;
} else {
$modificateur->_checked = null;
}
} else {
$modificateur->_checked = null;
}
}
self::precodeModifiers($_phase->_modificateurs, $_acte, $this->_ref_codable);
}
if ($this->_ref_praticien->isAnesth()) {
$this->_codage_sibling = self::get($this->_ref_codable, $this->praticien_id, $this->activite_anesth ? 1 : 4, $this->date);
$this->_codage_sibling->loadActesCCAM();
}
}
示例5: loadView
/**
* @see parent::loadView()
*/
function loadView()
{
parent::loadView();
$this->getConsumption("-3 MONTHS");
}
示例6: loadObjectRefs
/**
* Load object useful references
*
* @param CMbObject $object Object to load the references of
*
* @return void
*/
function loadObjectRefs(CMbObject $object)
{
if (isset($object->_object_refs_loaded)) {
return;
}
if (!$object instanceof CAdministration && !$object instanceof CPrescriptionLine && !$object instanceof CPrescription) {
$object->loadView();
}
if ($object instanceof CPrescriptionLineMedicament) {
$object->isHorsT2A();
$object->loadClasseATC();
}
$object->_object_refs_loaded = true;
}
示例7: loadView
/**
* @see parent::loadView()
*/
function loadView()
{
parent::loadView();
$this->loadRefItems();
}
示例8: loadView
/**
* @see parent::loadView()
*/
function loadView()
{
parent::loadView();
$this->loadClassification();
}
示例9: loadView
/**
* @see parent::loadView()
*/
function loadView()
{
parent::loadView();
$this->countProducts();
}
示例10: loadView
function loadView()
{
parent::loadView();
$this->loadRefMediuser()->loadRefFunction();
}
示例11: loadView
/**
* @see parent::loadView()
*/
function loadView()
{
parent::loadView();
$sejour = $this->loadRefSejour();
$patient = $sejour->loadRefPatient();
if ($this->seance_collective_id) {
$this->loadRefSeanceCollective();
$this->debut = $this->_ref_seance_collective->debut;
$this->duree = $this->_ref_seance_collective->duree;
}
$this->_view = "{$patient->_view} - " . CMbDT::dateToLocale(CMbDT::date($this->debut));
$this->loadRefsActesCdARR();
$this->loadRefsActesCsARR();
if (!$this->sejour_id) {
$this->loadRefsEvenementsSeance();
foreach ($this->_ref_evenements_seance as $_evt_seance) {
$_evt_seance->loadRefSejour()->loadRefPatient();
}
}
}
示例12: loadView
/**
* @see parent::loadView()
*/
function loadView()
{
parent::loadView();
$this->loadRefsFwd();
}
示例13: loadView
/**
* @see parent::loadView()
*/
function loadView()
{
parent::loadView();
$this->loadRefPreparateur();
$this->loadRefValidateur();
}
示例14: loadView
/**
* @see parent::loadView()
*/
function loadView()
{
parent::loadView();
$this->loadRefsActesCCAM();
$this->loadExtCodesCCAM();
}
示例15: loadView
/**
* @see parent::loadView()
*/
function loadView()
{
parent::loadView();
$this->_ref_consultation = $this->_fwd["consultation_id"];
$this->_ref_consultation->loadView();
}