I18nModel.php 966 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  4. * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  5. *
  6. * Licensed under The MIT License
  7. * For full copyright and license information, please see the LICENSE.txt
  8. * Redistributions of files must retain the above copyright notice.
  9. *
  10. * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  11. * @link http://cakephp.org CakePHP(tm) Project
  12. * @since CakePHP(tm) v 1.2.0.4525
  13. * @license http://www.opensource.org/licenses/mit-license.php MIT License
  14. */
  15. namespace Cake\Model;
  16. /**
  17. * A model used by TranslateBehavior to access the translation tables.
  18. *
  19. */
  20. class I18nModel extends Model {
  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. }