include/HTMLPurifier/standalone/HTMLPurifier/Language/classes/en-x-test.php

Show: inherited
Table of Contents

\HTMLPurifier_Language_en_x_test

Package:

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

Parent(s)
\HTMLPurifier_Language

Properties

Propertypublic  $_loaded= 'false'
inherited

Has the language object been loaded yet?

Inherited from: \HTMLPurifier_Language::$$_loaded
Default valuefalseDetails
Type
n/a
Inherited_from
\HTMLPurifier_Language::$$_loaded  
Propertypublic  $code= ''en''
inherited

ISO 639 language code of language. Prefers shortest possible version

Inherited from: \HTMLPurifier_Language::$$code
Default value'en'Details
Type
n/a
Inherited_from
\HTMLPurifier_Language::$$code  
Propertyprotected  $config= ''
inherited

Instances of HTMLPurifier_Config and HTMLPurifier_Context

Inherited from: \HTMLPurifier_Language::$$config
Details
Type
n/a
Inherited_from
\HTMLPurifier_Language::$$config  
Propertypublic  $context= ''
inherited

Instances of HTMLPurifier_Config and HTMLPurifier_Context

Inherited from: \HTMLPurifier_Language::$$context
Details
Type
n/a
Inherited_from
\HTMLPurifier_Language::$$context  
Propertypublic  $error= 'false'
inherited

True if no message file was found for this language, so English is being used instead. Check this if you'd like to notify the user that they've used a non-supported language.

Inherited from: \HTMLPurifier_Language::$$error
Default valuefalseDetails
Type
n/a
Inherited_from
\HTMLPurifier_Language::$$error  
Propertypublic  $errorNames= 'array()'
inherited

Array of localizable error codes

Inherited from: \HTMLPurifier_Language::$$errorNames
Default valuearray()Details
Type
n/a
Inherited_from
\HTMLPurifier_Language::$$errorNames  
Propertypublic  $fallback= 'false'
inherited

Fallback language code

Inherited from: \HTMLPurifier_Language::$$fallback
Default valuefalseDetails
Type
n/a
Inherited_from
\HTMLPurifier_Language::$$fallback  
Propertypublic  $messages= 'array()'
inherited

Array of localizable messages

Inherited from: \HTMLPurifier_Language::$$messages
Default valuearray()Details
Type
n/a
Inherited_from
\HTMLPurifier_Language::$$messages  

Methods

methodpublic__construct(  $config,  $context ) : void
inherited

Inherited from: \HTMLPurifier_Language::__construct()
Parameters
Name Type Description
$config
$context
methodpublicformatMessage( \$key $key, \$args $args = array() ) : string
inherited

Formats a localised message with passed parameters

Inherited from: \HTMLPurifier_Language::formatMessage()
Parameters
Name Type Description
$key \$key

string identifier of message

$args \$args

Parameters to substitute in

Returns
Type Description
string localised message
methodpublicgetErrorName( \$int $int ) : string
inherited

Retrieves a localised error name.

Inherited from: \HTMLPurifier_Language::getErrorName()
Parameters
Name Type Description
$int \$int

integer error number, corresponding to PHP's error reporting

Returns
Type Description
string localised message
methodpublicgetMessage( \$key $key ) : string
inherited

Retrieves a localised message.

Inherited from: \HTMLPurifier_Language::getMessage()
Parameters
Name Type Description
$key \$key

string identifier of message

Returns
Type Description
string localised message
methodpubliclistify(  $array ) : void
inherited

Converts an array list into a string readable representation

Inherited from: \HTMLPurifier_Language::listify()
Parameters
Name Type Description
$array
methodpublicload( ) : void
inherited

Loads language object with necessary info from factory cache

Inherited from: \HTMLPurifier_Language::load()
Details
Note
This is a lazy loader  
Documentation was generated by DocBlox 0.18.1.