_link = array(
'NavigationUrl'=>array(
'mapping_type'=>HAS_MANY,
'class_name' =>'NavigationUrl',
'foreign_key'=>'cateid',
'condition'=> "uid=$a",
),
);
}
// 关联查询
}
?>
_link = array(
'NavigationUrl'=>array(
'mapping_type'=>HAS_MANY,
'class_name' =>'NavigationUrl',
'foreign_key'=>'cateid',
'condition'=> "uid=$a",
),
);
}
// 关联查询
}
?>