Element_OphTrOperationnote_Comments::model PHP Method

model() public static method

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

Usage Example

コード例 #1
0
ファイル: print.php プロジェクト: openeyes/openeyes
?>

	<!-- 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);
?>

	<!-- Metadata -->
	<?php 
$this->renderPartial('//print/event_metadata', array('hide_modified' => @$hide_modified));
?>
</div>
All Usage Examples Of Element_OphTrOperationnote_Comments::model