<?php
class ResourcestagViewModel extends ViewModel {

public $viewFields = array(

 'Resources'=>array('id','title','catid','keywords','description','inputtime','username','status'),

 'Columns'=>array('colId','colTitle'=>'category', '_on'=>'Columns.colId=Resources.catid'),
 
 'Tagged'=>array('tagId','recordId','_on'=>'Tagged.recordId=Resources.id'),
 );


}



?>

