I18nModel.php 950 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  4. * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  5. *
  6. * Licensed under The MIT License
  7. * Redistributions of files must retain the above copyright notice.
  8. *
  9. * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  10. * @link http://cakephp.org CakePHP(tm) Project
  11. * @package Cake.Model.Behavior
  12. * @since CakePHP(tm) v 1.2.0.4525
  13. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  14. */
  15. /**
  16. * A model used by TranslateBehavior to access the translation tables.
  17. *
  18. * @package Cake.Model
  19. */
  20. class I18nModel extends AppModel {
  21. /**
  22. * Model name
  23. *
  24. * @var string
  25. */
  26. public $name = 'I18nModel';
  27. /**
  28. * Table name
  29. *
  30. * @var string
  31. */
  32. public $useTable = 'i18n';
  33. /**
  34. * Display field
  35. *
  36. * @var string
  37. */
  38. public $displayField = 'field';
  39. }