CommonPreviousOperation::model PHP Méthode

model() public static méthode

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : CommonPreviousOperation
Résultat CommonPreviousOperation 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="common_previous_operation">Common operations:</label>
						</div>
						<div class="<?php 
    echo $form->columns('field');
    ?>
">
							<?php 
    echo CHtml::dropDownList('common_previous_operation', '', CHtml::listData(CommonPreviousOperation::model()->findAll(array('order' => 'display_order asc')), 'id', 'name'), array('empty' => '- Select -'));
    ?>
						</div>
					</div>

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