MockFormPost.php 641 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
  6. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  7. */
  8. namespace lithium\tests\mocks\template\helper;
  9. class MockFormPost extends \lithium\data\Model {
  10. public $hasMany = array('MockQueryComment');
  11. protected $_schema = array(
  12. 'id' => array('type' => 'integer'),
  13. 'author_id' => array('type' => 'integer'),
  14. 'title' => array('type' => 'string'),
  15. 'body' => array('type' => 'text'),
  16. 'created' => array('type' => 'datetime'),
  17. 'updated' => array('type' => 'datetime')
  18. );
  19. }
  20. ?>