PHP Class Alias, newscoop

Show file Open project: sourcefabric/newscoop Class Usage Examples

Public Properties

Property Type Description
$m_columnNames
$m_dbTableName
$m_keyColumnNames
$m_keyIsAutoIncrement

Public Methods

Method Description
Alias ( $p_idOrName = null ) Constructor.
GetAliases ( integer $p_id = null, integer $p_publicationId = null, string $p_name = null ) : array Get all the aliases that match the given criteria.
getId ( ) : integer
getName ( ) : string
getPublicationId ( ) : integer
setName ( $p_name )
setProperty ( $p_dbColumnName, $p_value, $p_commit = true, $p_isSql = false ) Wrapper around DatabaseObject::setProperty
setPublicationId ( integer $p_value ) : boolean

Method Details

Alias() public method

Constructor.
public Alias ( $p_idOrName = null )

GetAliases() public static method

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

getId() public method

public getId ( ) : integer
return integer

getName() public method

public getName ( ) : string
return string

getPublicationId() public method

public getPublicationId ( ) : integer
return integer

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 )

setPublicationId() public method

public setPublicationId ( integer $p_value ) : boolean
$p_value integer
return boolean

Property Details

$m_columnNames public property

public $m_columnNames

$m_dbTableName public property

public $m_dbTableName

$m_keyColumnNames public property

public $m_keyColumnNames

$m_keyIsAutoIncrement public property

public $m_keyIsAutoIncrement