PHP 클래스 AuthorType

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

공개 프로퍼티들

프로퍼티 타입 설명
$m_columnNames array
$m_dbTableName string
$m_exists boolean
$m_keyColumnNames array
$m_keyIsAutoIncrement boolean

공개 메소드들

메소드 설명
GetAuthorTypes ( ) : array Get all the author types.
__construct ( integer $p_authorTypeId = null ) : void Constructor
create ( string $p_name = null ) : boolean
delete ( ) : boolean
getId ( ) : integer Get the id of the author type.
getName ( ) : string Get the name of the author type.
setName ( string $p_value ) : string Get the name of the author type.

메소드 상세

GetAuthorTypes() 공개 정적인 메소드

Get all the author types.
public static GetAuthorTypes ( ) : array
리턴 array An array of AuthorType objects.

__construct() 공개 메소드

Constructor
public __construct ( integer $p_authorTypeId = null ) : void
$p_authorTypeId integer (optional) The author type identifier
리턴 void

create() 공개 메소드

public create ( string $p_name = null ) : boolean
$p_name string
리턴 boolean

delete() 공개 메소드

public delete ( ) : boolean
리턴 boolean

getId() 공개 메소드

Get the id of the author type.
public getId ( ) : integer
리턴 integer

getName() 공개 메소드

Get the name of the author type.
public getName ( ) : string
리턴 string

setName() 공개 메소드

Get the name of the author type.
public setName ( string $p_value ) : string
$p_value string
리턴 string

프로퍼티 상세

$m_columnNames 공개적으로 프로퍼티

public array $m_columnNames
리턴 array

$m_dbTableName 공개적으로 프로퍼티

public string $m_dbTableName
리턴 string

$m_exists 공개적으로 프로퍼티

public bool $m_exists
리턴 boolean

$m_keyColumnNames 공개적으로 프로퍼티

public array $m_keyColumnNames
리턴 array

$m_keyIsAutoIncrement 공개적으로 프로퍼티

public bool $m_keyIsAutoIncrement
리턴 boolean