Surely. It basically looks like what is below. I have removed some
validation code though to make it more readable.

<?php

class Skatepark extends AppModel {

var $name = 'Skatepark';

var $belongsTo = array("State","PadRequirement","User");

var $hasOne = array("SearchIndex");

var $hasAndBelongsToMany = array("Sport","Surface","Tag");

var $actsAs = array ('Searchable');

var $hasMany = array('Rating',Comment','Photo',"Event");

}

?>

On Feb 17, 4:53 am, Miles J <[email protected]> wrote:
> Can I see your Skatepark model.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to