DependencyFixture.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /**
  3. * Short description for file.
  4. *
  5. * PHP 5
  6. *
  7. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  8. * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  9. *
  10. * Licensed under The MIT License
  11. * Redistributions of files must retain the above copyright notice.
  12. *
  13. * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  14. * @link http://cakephp.org CakePHP(tm) Project
  15. * @package Cake.Test.Fixture
  16. * @since CakePHP(tm) v 1.2.0.6879//Correct version number as needed**
  17. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  18. */
  19. /**
  20. * Short description for file.
  21. *
  22. * @package Cake.Test.Fixture
  23. * @since CakePHP(tm) v 1.2.0.6879//Correct version number as needed**
  24. */
  25. class DependencyFixture extends CakeTestFixture {
  26. /**
  27. * name property
  28. *
  29. * @var string 'Dependency'
  30. */
  31. public $name = 'Dependency';
  32. /**
  33. * fields property
  34. *
  35. * @var array
  36. */
  37. public $fields = array(
  38. 'child_id' => 'integer',
  39. 'parent_id' => 'integer'
  40. );
  41. /**
  42. * records property
  43. *
  44. * @var array
  45. */
  46. public $records = array(
  47. array('child_id' => 1, 'parent_id' => 2),
  48. );
  49. }