芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/yii/demos/blog/protected/models/Lookup.php
findAll(array( 'condition'=>'type=:type', 'params'=>array(':type'=>$type), 'order'=>'position', )); foreach($models as $model) self::$_items[$type][$model->code]=$model->name; } }