PHP Class ObjectType

Inheritance: extends DatabaseObject
Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Méthodes publiques

Свойство Type Description
$m_columnNames
$m_dbTableName
$m_keyColumnNames
$m_keyIsAutoIncrement

Méthodes publiques

Méthode Description
__construct ( $p_idOrName = null )
delete ( )
getDescription ( integer $p_languageId ) : string Get the description in the given language.
getDescriptionId ( ) : integer Get the description ID which is an index into the Translations table.
getName ( ) : string
getObjectTypeId ( ) : integer
setDescription ( integer $p_languageId, string $p_text ) Set the description in the given language.
setProperty ( $p_dbColumnName, $p_value, $p_commit = true, $p_isSql = false ) Wrapper around DatabaseObject::setProperty

Method Details

__construct() public méthode

public __construct ( $p_idOrName = null )

delete() public méthode

public delete ( )

getDescription() public méthode

This is a convenience function that wraps the Translation::GetPhrase() function.
public getDescription ( integer $p_languageId ) : string
$p_languageId integer
Résultat string

getDescriptionId() public méthode

Get the description ID which is an index into the Translations table.
public getDescriptionId ( ) : integer
Résultat integer

getName() public méthode

public getName ( ) : string
Résultat string

getObjectTypeId() public méthode

public getObjectTypeId ( ) : integer
Résultat integer

setDescription() public méthode

Set the description in the given language.
public setDescription ( integer $p_languageId, string $p_text )
$p_languageId integer
$p_text string

setProperty() public méthode

Wrapper around DatabaseObject::setProperty
public setProperty ( $p_dbColumnName, $p_value, $p_commit = true, $p_isSql = false )

Property Details

$m_columnNames public_oe property

public $m_columnNames

$m_dbTableName public_oe property

public $m_dbTableName

$m_keyColumnNames public_oe property

public $m_keyColumnNames

$m_keyIsAutoIncrement public_oe property

public $m_keyIsAutoIncrement