Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## DB/Build
- Building Database
- Creating database tables
- # Analytics
- # Newsletter
- # Newsletter_SentRecipient
- # Newsletter_Recipient
- # NewsletterType
- # PageComment
- # Activity
- # Booking
- # Location
- Notice: Undefined index: Activities in C:\wamp\www\clients\airsphere\sapphire\core\model\DataObject.php on line 1729
- ## Code
- class Location extends DataObject {
- static $db = array(
- 'Name' => "Text",
- 'Address' => 'Text',
- 'TelNum' => 'Int',
- 'Directions' => 'Text',
- 'Description' => 'Text',
- );
- static $many_many = array(
- 'Activities' => 'Activity',
- );
- static $many_many_extraFields = array(
- "Price" => array("FieldName" => "Varchar")
- );
Add Comment
Please, Sign In to add comment