pictcode / lib / Cake / Test / test_app / Model / PersisterTwo.php @ 635eef61
履歴 | 表示 | アノテート | ダウンロード (973 Bytes)
1 | 635eef61 | spyder1211 | <?php
|
---|---|---|---|
2 | /**
|
||
3 | * Test App Comment Model
|
||
4 | *
|
||
5 | * CakePHP : Rapid Development Framework (http://cakephp.org)
|
||
6 | * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||
7 | *
|
||
8 | * Licensed under The MIT License
|
||
9 | * For full copyright and license information, please see the LICENSE.txt
|
||
10 | * Redistributions of files must retain the above copyright notice.
|
||
11 | *
|
||
12 | * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||
13 | * @link http://cakephp.org CakePHP Project
|
||
14 | * @package Cake.Test.TestApp.Model
|
||
15 | * @since CakePHP v 1.2.0.7726
|
||
16 | * @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||
17 | */
|
||
18 | |||
19 | /**
|
||
20 | * Class PersisterTwo
|
||
21 | *
|
||
22 | * @package Cake.Test.TestApp.Model
|
||
23 | */
|
||
24 | class PersisterTwo extends AppModel { |
||
25 | |||
26 | public $useTable = 'posts'; |
||
27 | |||
28 | public $actsAs = array('PersisterOneBehavior', 'TestPlugin.TestPluginPersisterOne'); |
||
29 | |||
30 | public $hasMany = array('Comment', 'TestPlugin.TestPluginComment'); |
||
31 | |||
32 | } |