OphInVisualfields_Result_Assessment::model PHP Method

model() public static method

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

Usage Example

 public function getophinvisualfields_result_assessment_defaults()
 {
     $ids = array();
     foreach (OphInVisualfields_Result_Assessment::model()->findAll('`default` = ?', array(1)) as $item) {
         $ids[] = $item->id;
     }
     return $ids;
 }
All Usage Examples Of OphInVisualfields_Result_Assessment::model