PHP Class AuthorBiography

Inheritance: extends DatabaseObject
Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Public Properties

Property Type Description
$m_columnNames
$m_dbTableName
$m_keyColumnNames

Public Methods

Method 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 method

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
return array

OnAuthorDelete() public static method

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

__construct() public method

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

getAuthorId() public method

public getAuthorId ( ) : integer
return integer

getBiography() public method

public getBiography ( ) : string
return string

getFirstName() public method

public getFirstName ( ) : string
return string

getLanguageId() public method

public getLanguageId ( ) : integer
return integer

getLastName() public method

public getLastName ( ) : string
return 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