PHP 클래스 AuthorBiography

상속: extends DatabaseObject
파일 보기 프로젝트 열기: sourcefabric/newscoop 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$m_columnNames
$m_dbTableName
$m_keyColumnNames

공개 메소드들

메소드 설명
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

메소드 상세

GetBiographies() 공개 정적인 메소드

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
리턴 array

OnAuthorDelete() 공개 정적인 메소드

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

__construct() 공개 메소드

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

getAuthorId() 공개 메소드

public getAuthorId ( ) : integer
리턴 integer

getBiography() 공개 메소드

public getBiography ( ) : string
리턴 string

getFirstName() 공개 메소드

public getFirstName ( ) : string
리턴 string

getLanguageId() 공개 메소드

public getLanguageId ( ) : integer
리턴 integer

getLastName() 공개 메소드

public getLastName ( ) : string
리턴 string

프로퍼티 상세

$m_columnNames 공개적으로 프로퍼티

public $m_columnNames

$m_dbTableName 공개적으로 프로퍼티

public $m_dbTableName

$m_keyColumnNames 공개적으로 프로퍼티

public $m_keyColumnNames