I18nModel.php 982 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. App::uses('AppModel', 'Model');
  16. /**
  17. * A model used by TranslateBehavior to access the translation tables.
  18. *
  19. * @package Cake.Model
  20. */
  21. class I18nModel extends AppModel {
  22. /**
  23. * Model name
  24. *
  25. * @var string
  26. */
  27. public $name = 'I18nModel';
  28. /**
  29. * Table name
  30. *
  31. * @var string
  32. */
  33. public $useTable = 'i18n';
  34. /**
  35. * Display field
  36. *
  37. * @var string
  38. */
  39. public $displayField = 'field';
  40. }