Skip to content

Commit

Permalink
Updated code examples to use "AppModel" instead of "Model"
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Boehm committed Jun 28, 2012
1 parent 76934eb commit 0eb6872
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ requires an implementation of ``parentNode()`` on your model. In
our ``User`` model we will add the following::

<?php
class User extends Model {
class User extends AppModel {
public $name = 'User';
public $belongsTo = array('Group');
public $actsAs = array('Acl' => array('type' => 'requester'));
Expand All @@ -265,7 +265,7 @@ our ``User`` model we will add the following::
Then in our ``Group`` Model Add the following::

<?php
class Group extends Model {
class Group extends AppModel {
public $actsAs = array('Acl' => array('type' => 'requester'));
public function parentNode() {
Expand Down

0 comments on commit 0eb6872

Please sign in to comment.