/administrator/components/com_languages/controllers/language.php

https://bitbucket.org/eternaware/joomus · PHP · 35 lines · 9 code · 2 blank · 24 comment · 0 complexity · d0b0d41858675b92c9addd31f12cb805 MD5 · raw file

  1. <?php
  2. /**
  3. * @package Joomla.Administrator
  4. * @subpackage com_languages
  5. *
  6. * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
  7. * @license GNU General Public License version 2 or later; see LICENSE.txt
  8. */
  9. defined('_JEXEC') or die;
  10. /**
  11. * Languages list actions controller.
  12. *
  13. * @package Joomla.Administrator
  14. * @subpackage com_languages
  15. * @since 1.6
  16. */
  17. class LanguagesControllerLanguage extends JControllerForm
  18. {
  19. /**
  20. * Gets the URL arguments to append to an item redirect.
  21. *
  22. * @param int $recordId The primary key id for the item.
  23. * @param string $key The name of the primary key variable.
  24. *
  25. * @return string The arguments to append to the redirect URL.
  26. *
  27. * @since 1.6
  28. */
  29. protected function getRedirectToItemAppend($recordId = null, $key = 'lang_id')
  30. {
  31. return parent::getRedirectToItemAppend($recordId, $key);
  32. }
  33. }