Overview

Packages

  • Exception
  • None

Classes

  • Horde_Exception_LastError
  • Horde_Exception_NotFound
  • Horde_Exception_Pear
  • Horde_Exception_PermissionDenied
  • Horde_Exception_Translation
  • Horde_Exception_Wrapped
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Exception_Translation

Horde_Exception_Translation is the translation wrapper class for Horde_Exception.

Horde_Translation
Extended by Horde_Exception_Translation
Package: Exception
Author: Jan Schneider jan@horde.org
Located at Horde/Exception/Translation.php
Methods summary
public static string
# t( mixed $message )

Returns the translation of a message.

Returns the translation of a message.

Returns

string

The string translation, or the original string if no translation exists.

Var

string $message The string to translate.
public static string
# ngettext( string $singular, string $plural, integer $number )

Returns the plural translation of a message.

Returns the plural translation of a message.

Parameters

$singular
The singular version to translate.
$plural
The plural version to translate.
$number
The number that determines singular vs. plural.

Returns

string

The string translation, or the original string if no translation exists.

API documentation generated by ApiGen