PHP Class AuthorBiography

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éthodes publiques

Méthode Description
GetBiographies ( integer $p_authorId, string $p_languageId = null ) : array Get the author biography.
OnAuthorDelete ( integer $p_authorId ) : void Remove author biography pointers for the given author.
__construct ( integer $p_authorId = null, integer $p_languageId = null ) Constructor.
getAuthorId ( ) : integer
getBiography ( ) : string
getFirstName ( ) : string
getLanguageId ( ) : integer
getLastName ( ) : string

Method Details

GetBiographies() public static méthode

Biography is returned in the given language if exists. If not any specific language is given it returns all the available translations.
public static GetBiographies ( integer $p_authorId, string $p_languageId = null ) : array
$p_authorId integer
$p_languageId string
Résultat array

OnAuthorDelete() public static méthode

Remove author biography pointers for the given author.
public static OnAuthorDelete ( integer $p_authorId ) : void
$p_authorId integer
Résultat void

__construct() public méthode

Constructor.
public __construct ( integer $p_authorId = null, integer $p_languageId = null )
$p_authorId integer
$p_languageId integer

getAuthorId() public méthode

public getAuthorId ( ) : integer
Résultat integer

getBiography() public méthode

public getBiography ( ) : string
Résultat string

getFirstName() public méthode

public getFirstName ( ) : string
Résultat string

getLanguageId() public méthode

public getLanguageId ( ) : integer
Résultat integer

getLastName() public méthode

public getLastName ( ) : string
Résultat string

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