LanguageInterface.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?php
  2. /**
  3. * Licensed to Jasig under one or more contributor license
  4. * agreements. See the NOTICE file distributed with this work for
  5. * additional information regarding copyright ownership.
  6. *
  7. * Jasig licenses this file to you under the Apache License,
  8. * Version 2.0 (the "License"); you may not use this file except in
  9. * compliance with the License. You may obtain a copy of the License at:
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing, software
  14. * distributed under the License is distributed on an "AS IS" BASIS,
  15. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. * See the License for the specific language governing permissions and
  17. * limitations under the License.
  18. *
  19. * PHP Version 5
  20. *
  21. * @file CAS/Language/LanguageInterface.php
  22. * @category Authentication
  23. * @package PhpCAS
  24. * @author Joachim Fritschi <jfritschi@freenet.de>
  25. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
  26. * @link https://wiki.jasig.org/display/CASC/phpCAS
  27. */
  28. /**
  29. * Language Interface class for all internationalization files
  30. *
  31. * @class CAS_Languages_LanguageInterface
  32. * @category Authentication
  33. * @package PhpCAS
  34. * @author Joachim Fritschi <jfritschi@freenet.de>
  35. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
  36. * @link https://wiki.jasig.org/display/CASC/phpCAS
  37. *
  38. * @sa @link internalLang Internationalization @endlink
  39. * @ingroup internalLang
  40. */
  41. interface CAS_Languages_LanguageInterface
  42. {
  43. /**
  44. * Get the using server string
  45. *
  46. * @return string using server
  47. */
  48. public function getUsingServer();
  49. /**
  50. * Get authentication wanted string
  51. *
  52. * @return string authentication wanted
  53. */
  54. public function getAuthenticationWanted();
  55. /**
  56. * Get logout string
  57. *
  58. * @return string logout
  59. */
  60. public function getLogout();
  61. /**
  62. * Get the should have been redirected string
  63. *
  64. * @return string should habe been redirected
  65. */
  66. public function getShouldHaveBeenRedirected();
  67. /**
  68. * Get authentication failed string
  69. *
  70. * @return string authentication failed
  71. */
  72. public function getAuthenticationFailed();
  73. /**
  74. * Get the your were not authenticated string
  75. *
  76. * @return string not authenticated
  77. */
  78. public function getYouWereNotAuthenticated();
  79. /**
  80. * Get the service unavailable string
  81. *
  82. * @return string service unavailable
  83. */
  84. public function getServiceUnavailable();
  85. }
  86. ?>