Public Member Functions | Public Attributes | Static Public Attributes

LangText Class Reference

Lang text object for translation. More...

Inheritance diagram for LangText:
BEAppModel AppModel

List of all members.

Public Member Functions

 langsForObject ($object_id)
 Return translations of fields for an object.
 findObjs ($filter=null, $order=null, $dir=true, $page=1, $dim=100000, $excludeIds=array())
 Return object translations performing a search by $filter, including paginating data.

Public Attributes

 $belongsTo

Static Public Attributes

static $paginationOrder
static $paginationDir

Detailed Description

Lang text object for translation.

Version:
$Revision$ $LastChangedBy$ $LastChangedDate$

$Id$

Definition at line 31 of file lang_text.php.


Member Function Documentation

LangText::findObjs ( filter = null,
order = null,
dir = true,
page = 1,
dim = 100000,
excludeIds = array() 
)

Return object translations performing a search by $filter, including paginating data.

Parameters:
array $filter
string $order
boolean $dir
int $page
int $dim
array $excludeIds
Exceptions:
BeditaException 
Returns:
array

Definition at line 75 of file lang_text.php.

References BEAppModel::getLimitClausole(), and BEAppModel::toolbar().

LangText::langsForObject ( object_id  ) 

Return translations of fields for an object.

Parameters:
int $object_id
Returns:
array

Definition at line 49 of file lang_text.php.


Member Data Documentation

LangText::$belongsTo
Initial value:
 array(
        'BEObject' =>
            array(
                'fields'    => 'id, status',
                'foreignKey'    => 'object_id'
            )
    )

Definition at line 33 of file lang_text.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus