FamilyHistoryRelative::model PHP Method

model() public static method

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

Usage Example

    ?>
" />

						<div class="field-row row">
							<div class="<?php 
    echo $form->columns('label');
    ?>
">
								<label for="relative_id">Relative:</label>
							</div>
							<div class="<?php 
    echo $form->columns('field');
    ?>
">
								<?php 
    echo CHtml::dropDownList('relative_id', '', CHtml::listData(FamilyHistoryRelative::model()->findAll(array('order' => 'display_order')), 'id', 'name'), array('empty' => '- Select -'));
    ?>
							</div>
						</div>

						<div class="field-row row">
							<div class="<?php 
    echo $form->columns('label');
    ?>
">
								<label for="side_id">Side:</label>
							</div>
							<div class="<?php 
    echo $form->columns('field');
    ?>
">
All Usage Examples Of FamilyHistoryRelative::model