PersisterTwo.php 835 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Test App Comment Model
  4. *
  5. *
  6. *
  7. * PHP 5
  8. *
  9. * CakePHP : Rapid Development Framework (http://cakephp.org)
  10. * Copyright 2005-2012, 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 2005-2012, Cake Software Foundation, Inc.
  16. * @link http://cakephp.org CakePHP Project
  17. * @package Cake.Test.test_app.Model
  18. * @since CakePHP v 1.2.0.7726
  19. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  20. */
  21. class PersisterTwo extends AppModel {
  22. public $useTable = 'posts';
  23. public $name = 'PersisterTwo';
  24. public $actsAs = array('PersisterOneBehavior', 'TestPlugin.TestPluginPersisterOne');
  25. public $hasMany = array('Comment', 'TestPlugin.TestPluginComment');
  26. }