Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fresh install, with several placeholder files
- Loading branch information
Dean Sofer
committed
Jul 21, 2009
1 parent
70af204
commit 601e268
Showing
13 changed files
with
825 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
class CartAppController extends AppController { | ||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
class CartAppModel extends AppModel { | ||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
class CartProductsController extends CartAppController { | ||
|
||
var $name = 'CartProducts'; | ||
var $components = array('Cart.CartSession'); | ||
var $helpers = array('Html', 'Form'); | ||
var $scaffold; | ||
|
||
function addItem($id = null, $options = null) { | ||
$this->CartSession->addItem($id); | ||
} | ||
|
||
} | ||
?> |
Oops, something went wrong.