[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/htmlpurifier/library/HTMLPurifier/ -> Language.php (summary)

(no description)

File Size: 163 lines (5 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTMLPurifier_Language:: (6 methods):
  __construct()
  load()
  getMessage()
  getErrorName()
  listify()
  formatMessage()


Class: HTMLPurifier_Language  - X-Ref

Represents a language and defines localizable string formatting and
other functions, as well as the localized messages for HTML Purifier.

__construct($config, $context)   X-Ref
Instances of HTMLPurifier_Config and HTMLPurifier_Context


load()   X-Ref
Loads language object with necessary info from factory cache


getMessage($key)   X-Ref
Retrieves a localised message.

param: $key string identifier of message
return: string localised message

getErrorName($int)   X-Ref
Retrieves a localised error name.

param: $int integer error number, corresponding to PHP's error
return: string localised message

listify($array)   X-Ref
Converts an array list into a string readable representation


formatMessage($key, $args = array()   X-Ref
Formats a localised message with passed parameters

param: $key string identifier of message
param: $args Parameters to substitute in
return: string localised message



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1