PHP Class AuthorAlias

Inheritance: extends Eloquent
ファイルを表示 Open project: sourcefabric/newscoop Class Usage Examples

Public Properties

Property Type Description
$m_columnNames
$m_dbTableName
$m_keyColumnNames
$m_keyIsAutoIncrement

Public Methods

Method Description
BuildAuthorIdsQuery ( array $p_aliases ) fn OnAuthorDelete
GetAuthorAliases ( integer $p_id = null, integer $p_authorId = null, string $p_name = null ) : array Get all the author aliases that match the given criteria.
OnAuthorDelete ( integer $p_authorId ) : void Remove alias pointers for the given author.
__construct ( integer $p_idOrName = null ) Constructor.
getAuthorId ( ) : integer
getId ( ) : integer
getName ( ) : string
setAuthorId ( integer $p_value, $p_commit = true ) : boolean
setName ( $p_name )
setProperty ( $p_dbColumnName, $p_value, $p_commit = true, $p_isSql = false ) Wrapper around DatabaseObject::setProperty

Method Details

BuildAuthorIdsQuery() public static method

fn OnAuthorDelete
public static BuildAuthorIdsQuery ( array $p_aliases )
$p_aliases array

GetAuthorAliases() public static method

Get all the author aliases that match the given criteria.
public static GetAuthorAliases ( integer $p_id = null, integer $p_authorId = null, string $p_name = null ) : array
$p_id integer
$p_authorId integer
$p_name string
return array

OnAuthorDelete() public static method

Remove alias 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_idOrName = null )
$p_idOrName integer

getAuthorId() public method

public getAuthorId ( ) : integer
return integer

getId() public method

public getId ( ) : integer
return integer

getName() public method

public getName ( ) : string
return string

setAuthorId() public method

public setAuthorId ( integer $p_value, $p_commit = true ) : boolean
$p_value integer
return boolean

setName() public method

public setName ( $p_name )

setProperty() public method

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