Bin will be removed on June 1, 2014 in favor of http://gist.github.com. Please save all your pastes before then. So long, and thanks for all the fish!×

products

View Paste
  1. <?php
  2.  
  3.     class Product extends AppModel
  4.     {
  5.         var $name = "Product";
  6.         var $belongsTo ...
this is the products model
View Paste
  1. <?php
  2.  
  3.     class Holiday extends AppModel
  4.     {
  5.         var $name = 'Holiday';
  6.         var $hasMany = &#...
These are the models for holiday and product
View Paste
  1. <?php
  2.  
  3.     class ProductsController extends AppController
  4.     {
  5.         var $name = 'Products'; /...
Products controller