API Documentation

Translate/Adapter/Gettext.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Translate
version
$Id: Gettext.php 22655 2010-07-22 18:47:20Z mabe $
Classes
Zend_Translate_Adapter_Gettext

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Translate_Adapter_Gettext

Extends from
Zend_Translate_Adapter
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Translate
Properties
$_bigEndian
$_file
$_adapterInfo
$_data
Methods
_readMOData
_loadTranslationData
getAdapterInfo
toString

Description

Properties

$_adapterInfo

 $_adapterInfo = 'array'

Details

visibility
private
default
array
final
false
static
false

$_bigEndian

 $_bigEndian = 'false'

Details

visibility
private
default
false
final
false
static
false

$_data

 $_data = 'array'

Details

visibility
private
default
array
final
false
static
false

$_file

 $_file = 'false'

Details

visibility
private
default
false
final
false
static
false

Methods

_loadTranslationData

_loadTranslationData( string $filename, string $locale,  $options = array ) : array

Load translation data (MO file reader)

Arguments
$filename
string
MO file to add, full path must be given for access
$locale
string
New Locale/Language to set, identical with locale identifier, see Zend_Locale for more information
$options
Output
array
Details
visibility
protected
final
false
static
false
throws

_readMOData

_readMOData( string $bytes ) :

Read values from the MO file

Arguments
$bytes
string
Details
visibility
private
final
false
static
false

getAdapterInfo

getAdapterInfo( ) : array

Returns the adapter informations

Output
array
Each loaded adapter information as array value
Details
visibility
public
final
false
static
false

toString

toString( ) : string

Returns the adapter name

Output
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.