Element_OphTrOperationnote_Anaesthetic::model PHP Method

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Element_OphTrOperationnote_Anaesthetic
return Element_OphTrOperationnote_Anaesthetic the static model class
    public static function model($className = __CLASS__)
    {
        return parent::model($className);
    }

Usage Example

コード例 #1
0
ファイル: print.php プロジェクト: openeyes/openeyes
<div class="container content event">

	<!-- Operation metadata -->
	<?php 
$this->renderPartial('print_operation_metadata');
?>

	<!-- Operation details -->
	<?php 
$this->renderPartial('print_operation_details');
?>

	<!-- Anaesthetic Details -->
	<?php 
$anaesthetic_element = Element_OphTrOperationnote_Anaesthetic::model()->find('event_id = ?', array($this->event->id));
$this->renderElement($anaesthetic_element, 'print', false, false);
?>

	<!-- Per-operative drugs -->
	<?php 
$postdrugs_element = Element_OphTrOperationnote_PostOpDrugs::model()->find('event_id = ?', array($this->event->id));
$this->renderElement($postdrugs_element, 'print', false, false);
?>

	<!-- Post-op instructions and Comments -->
	<?php 
$comments_element = Element_OphTrOperationnote_Comments::model()->find('event_id = ?', array($this->event->id));
$this->renderElement($comments_element, 'print', false, false);
?>
All Usage Examples Of Element_OphTrOperationnote_Anaesthetic::model