rendered paste body<?phpclass Test extends AppModel{ var $name = "Test"; var $belongsTo = array( 'Unit' => array('className' => 'Unit', 'conditions' =>'', 'order' => '', 'foreignKey' => 'unit_id'), 'TestType' => array('className' => 'TestType', 'conditions' =>'', 'order' => '', 'foreignKey' => 'test_type_id'), 'User' => array('className' => 'User', 'conditions' =>'', 'order' => '', 'foreignKey' => 'tester_id') ); var $hasMany = array( 'TestProcLink' => array('className' => 'TestProcLink', 'conditions' => '', 'order' => '', 'foreignKey' => 'test_id') );}?><?phpclass TestProcLink extends AppModel{ var $name = "TestProcLink"; var $belongsTo = array( 'Test' => array('className' => 'Test', 'conditions' =>'', 'order' => '', 'foreignKey' => 'test_id'), 'TestProcedure' => array('className' => 'TestProcedure', 'conditions' =>'', 'order' => '', 'foreignKey' => 'test_proc_id'), 'User' => array('className' => 'User', 'conditions' =>'', 'order' => '', 'foreignKey' => 'user_id') );}?>