WhoDidItPlayerFixture.php 992 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * PHP 5
  4. *
  5. * @author Mark Scherer
  6. * @author Marc Würth
  7. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  8. * @link https://github.com/dereuromark/tools
  9. */
  10. /**
  11. * Fixture for WhoDidIt
  12. */
  13. class WhoDidItPlayerFixture extends CakeTestFixture {
  14. /**
  15. * Fields property
  16. *
  17. * @var array
  18. */
  19. public $fields = array(
  20. 'id' => array('type' => 'integer', 'key' => 'primary'),
  21. 'name' => array('type' => 'string', 'null' => false),
  22. 'created' => 'datetime',
  23. 'created_by' => array('type' => 'integer', 'null' => true),
  24. 'modified' => 'datetime',
  25. 'modified_by' => array('type' => 'integer', 'null' => true)
  26. );
  27. /**
  28. * Records property
  29. *
  30. * @var array
  31. */
  32. public $records = array(
  33. array('name' => 'mark', 'created' => '2007-03-17 01:16:23'),
  34. array('name' => 'jack', 'created' => '2007-03-17 01:18:23'),
  35. array('name' => 'larry', 'created' => '2007-03-17 01:20:23'),
  36. array('name' => 'jose', 'created' => '2007-03-17 01:22:23'),
  37. );
  38. }