phpDocumentor SMap
[ class tree: SMap ] [ index: SMap ] [ all elements ]

Class: SMap_Lang

Source Location: /SMap.php

Class SMap_Lang

Class Overview

Controls the language used in the view

The language differs on the units used and the humans used. All language codes used in the map package are three letter ISO 639-2 codes.

Located in /SMap.php [line 1450]



		
				Author(s):
		
API Tags:
Abstract:  

Properties

Methods

[ Top ]
Property Summary
string   $langCode   The language that we will be using

[ Top ]
Method Summary
string   genLayerName()   Get a layer's name
string   getLanguage()   Gets the current language
void   setLanguage()   Sets the language that we will be using

[ Top ]
Properties
string   $langCode = '' [line 1457]

The language that we will be using

API Tags:
Access:  protected


[ Top ]
Methods
genLayerName  [line 1489]

  string genLayerName( integer $layerId  )

Get a layer's name

Parameters:
integer   $layerId:  The ID of the requested layer

API Tags:
Return:  The name of the layer
Access:  public
Abstract:  


[ Top ]
getLanguage  [line 1479]

  string getLanguage( )

Gets the current language


API Tags:
Return:  The current language code
Access:  public


[ Top ]
setLanguage  [line 1466]

  void setLanguage( string $code  )

Sets the language that we will be using

You can only set this once though

Parameters:
string   $code:  The language code

API Tags:
Access:  public


[ Top ]

Documentation generated on Mon, 09 Apr 2007 18:56:05 -0500 by phpDocumentor 1.3.0