~tsep-dev/tsep/0.9-beta

« back to all changes in this revision

Viewing changes to branches/symfony/cake/tests/test_app/models/persister_two.php

  • Committer: geoffreyfishing
  • Date: 2011-01-11 23:46:12 UTC
  • Revision ID: svn-v4:ae0de26e-ed09-4cbe-9a20-e40b4c60ac6c::125
Created a symfony branch for future migration to symfony

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Test App Comment Model
 
4
 *
 
5
 *
 
6
 *
 
7
 * PHP versions 4 and 5
 
8
 *
 
9
 * CakePHP : Rapid Development Framework (http://cakephp.org)
 
10
 * Copyright 2006-2010, Cake Software Foundation, Inc.
 
11
 *
 
12
 * Licensed under The MIT License
 
13
 * Redistributions of files must retain the above copyright notice.
 
14
 *
 
15
 * @copyright     Copyright 2006-2010, Cake Software Foundation, Inc.
 
16
 * @link          http://cakephp.org CakePHP Project
 
17
 * @package       cake
 
18
 * @subpackage    cake.tests.test_app.models
 
19
 * @since         CakePHP v 1.2.0.7726
 
20
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 
21
 */
 
22
class PersisterTwo extends AppModel {
 
23
        var $useTable = 'posts';
 
24
        var $name = 'PersisterTwo';
 
25
 
 
26
        var $actsAs = array('PersisterOneBehavior', 'TestPlugin.TestPluginPersisterOne');
 
27
 
 
28
        var $hasMany = array('Comment', 'TestPlugin.TestPluginComment');
 
29
}