WhoDidItPlayerFixture.php 946 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. */
  9. /**
  10. * Fixture for WhoDidIt
  11. */
  12. class WhoDidItPlayerFixture extends CakeTestFixture {
  13. /**
  14. * Fields property
  15. *
  16. * @var array
  17. */
  18. public $fields = array(
  19. 'id' => array('type' => 'integer', 'key' => 'primary'),
  20. 'name' => array('type' => 'string', 'null' => false),
  21. 'created' => 'datetime',
  22. 'created_by' => array('type' => 'integer', 'null' => true),
  23. 'modified' => 'datetime',
  24. 'modified_by' => array('type' => 'integer', 'null' => true)
  25. );
  26. /**
  27. * Records property
  28. *
  29. * @var array
  30. */
  31. public $records = array(
  32. array('name' => 'mark', 'created' => '2007-03-17 01:16:23'),
  33. array('name' => 'jack', 'created' => '2007-03-17 01:18:23'),
  34. array('name' => 'larry', 'created' => '2007-03-17 01:20:23'),
  35. array('name' => 'jose', 'created' => '2007-03-17 01:22:23'),
  36. );
  37. }