I18Nv2
[ class tree: I18Nv2 ] [ index: I18Nv2 ] [ all elements ]

Class: I18Nv2_DecoratedList

Source Location: /I18Nv2-0.11.4/DecoratedList.php

Class Overview


I18Nv2_DecoratedList


Author(s):

Version:

  • $Revision: 1.8 $

Variables

Methods


Child classes:

I18Nv2_DecoratedList_HtmlSpecialchars
I18Nv2_Decorator_HtmlSpecialchars
I18Nv2_DecoratedList_HtmlEntities
I18Nv2_Decorator_HtmlEntities
I18Nv2_DecoratedList_Filter
I18Nv2_DecoratedList_Filter
I18Nv2_DecoratedList_HtmlSelect
I18Nv2_DecoratedList_HtmlSelect

Inherited Variables

Inherited Methods


Class Details

[line 33]
I18Nv2_DecoratedList
  • Author: Michael Wallner <mike@php.net>
  • Version: $Revision: 1.8 $
  • Access: public


[ Top ]


Class Variables

$list =  null

[line 41]

I18Nv2_(Common|Decorated)List
  • Access: protected

Type:   object


[ Top ]



Method Detail

I18Nv2_DecoratedList (Constructor)   [line 49]

I18Nv2_DecoratedList I18Nv2_DecoratedList( &$list, object $list)

Constructor
  • Access: public

Parameters:

object   $list   —  I18Nv2_DecoratedList or I18Nv2_CommonList
   &$list   — 

[ Top ]

changeKeyCase   [line 126]

string changeKeyCase( string $code)

Change Key Case
  • Access: protected

Parameters:

string   $code   — 

[ Top ]

decorate   [line 100]

mixed decorate( mixed $value)

Decorate
  • Abstract:
  • Access: protected

Overridden in child classes as:

I18Nv2_DecoratedList_HtmlSpecialchars::decorate()
decorate
I18Nv2_DecoratedList_HtmlEntities::decorate()
decorate
I18Nv2_DecoratedList_Filter::decorate()
decorate
I18Nv2_DecoratedList_HtmlSelect::decorate()
decorate

Parameters:

mixed   $value   — 

[ Top ]

getAllCodes   [line 63]

array getAllCodes( )

Get all codes
  • Access: public

[ Top ]

getEncoding   [line 175]

string getEncoding( )

Get current encoding
  • Access: public

[ Top ]

getLanguage   [line 152]

string getLanguage( )

Get current language
  • Access: public

[ Top ]

getName   [line 87]

string getName( string $code)

Get name for code
  • Access: public

Parameters:

string   $code   — 

[ Top ]

isValidCode   [line 75]

bool isValidCode( string $code)

Check if code is valid
  • Access: public

Parameters:

string   $code   — 

[ Top ]

setEncoding   [line 164]

bool setEncoding( string $encoding)

Set active encoding
  • Access: public

Parameters:

string   $encoding   — 

[ Top ]

setLanguage   [line 141]

bool setLanguage( string $language)

Set active language

Note that each time you set a different language the corresponding language file has to be loaded again, too.

  • Access: public

Parameters:

string   $language   — 

[ Top ]

toDecoratedList   [line 112]

object I18NV2_DecoratedList &toDecoratedList( string $type)

Decorate this list
  • Access: public

Parameters:

string   $type   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:38:04 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.