PHP Class AuthorAlias

Inheritance: extends Eloquent
Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Méthodes publiques

Свойство Type Description
$m_columnNames
$m_dbTableName
$m_keyColumnNames
$m_keyIsAutoIncrement

Méthodes publiques

Méthode 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 méthode

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

GetAuthorAliases() public static méthode

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
Résultat array

OnAuthorDelete() public static méthode

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

getAuthorId() public méthode

public getAuthorId ( ) : integer
Résultat integer

getId() public méthode

public getId ( ) : integer
Résultat integer

getName() public méthode

public getName ( ) : string
Résultat string

setAuthorId() public méthode

public setAuthorId ( integer $p_value, $p_commit = true ) : boolean
$p_value integer
Résultat boolean

setName() public méthode

public setName ( $p_name )

setProperty() public méthode

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