CampaignFixture.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * Short description for campaign_fixture.php
  4. *
  5. * Long description for campaign_fixture.php
  6. *
  7. * PHP 5
  8. *
  9. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  10. *
  11. * Licensed under The MIT License
  12. * Redistributions of files must retain the above copyright notice.
  13. *
  14. * @copyright CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  15. * @link http://www.cakephp.org
  16. * @package Cake.Test.Fixture
  17. * @since 1.2
  18. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  19. */
  20. /**
  21. * CampaignFixture class
  22. *
  23. * @package Cake.Test.Fixture
  24. */
  25. class CampaignFixture extends CakeTestFixture {
  26. /**
  27. * name property
  28. *
  29. * @var string 'Campaign'
  30. */
  31. public $name = 'Campaign';
  32. /**
  33. * fields property
  34. *
  35. * @var array
  36. */
  37. public $fields = array(
  38. 'id' => array('type' => 'integer', 'key' => 'primary'),
  39. 'name' => array('type' => 'string', 'length' => 255, 'null' => false),
  40. );
  41. /**
  42. * records property
  43. *
  44. * @var array
  45. */
  46. public $records = array(
  47. array('name' => 'Hurtigruten'),
  48. array('name' => 'Colorline'),
  49. array('name' => 'Queen of Scandinavia')
  50. );
  51. }