API Documentation

Translate/Adapter/Tbx.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: Tbx.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Translate_Adapter_Tbx

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_Tbx

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
$_file
$_cleared
$_langset
$_termentry
$_content
$_term
$_data
Methods
_loadTranslationData
_startElement
_endElement
_contentElement
_findEncoding
toString

Description

Properties

$_cleared

 $_cleared = 'array'

Details

visibility
private
default
array
final
false
static
false

$_content

 $_content = 'null'

Details

visibility
private
default
null
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

$_langset

 $_langset = 'null'

Details

visibility
private
default
null
final
false
static
false

$_term

 $_term = 'null'

Details

visibility
private
default
null
final
false
static
false

$_termentry

 $_termentry = 'null'

Details

visibility
private
default
null
final
false
static
false

Methods

_contentElement

_contentElement(  $file,  $data ) :
Arguments
$file
$data
Details
visibility
private
final
false
static
false

_endElement

_endElement(  $file,  $name ) :
Arguments
$file
$name
Details
visibility
private
final
false
static
false

_findEncoding

_findEncoding(  $filename ) :
Arguments
$filename
Details
visibility
private
final
false
static
false

_loadTranslationData

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

Load translation data (TBX file reader)

Arguments
$filename
string
TBX file to add, full path must be given for access
$locale
string
Locale has no effect for TBX because TBX defines all languages within the source file
$options
Output
array
Details
visibility
protected
final
false
static
false
throws

_startElement

_startElement(  $file,  $name,  $attrib ) :
Arguments
$file
$name
$attrib
Details
visibility
private
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.