PHP Class AuthorType

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

Méthodes publiques

Свойство Type Description
$m_columnNames array
$m_dbTableName string
$m_exists boolean
$m_keyColumnNames array
$m_keyIsAutoIncrement boolean

Méthodes publiques

Méthode Description
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.

Method Details

GetAuthorTypes() public static méthode

Get all the author types.
public static GetAuthorTypes ( ) : array
Résultat array An array of AuthorType objects.

__construct() public méthode

Constructor
public __construct ( integer $p_authorTypeId = null ) : void
$p_authorTypeId integer (optional) The author type identifier
Résultat void

create() public méthode

public create ( string $p_name = null ) : boolean
$p_name string
Résultat boolean

delete() public méthode

public delete ( ) : boolean
Résultat boolean

getId() public méthode

Get the id of the author type.
public getId ( ) : integer
Résultat integer

getName() public méthode

Get the name of the author type.
public getName ( ) : string
Résultat string

setName() public méthode

Get the name of the author type.
public setName ( string $p_value ) : string
$p_value string
Résultat string

Property Details

$m_columnNames public_oe property

public array $m_columnNames
Résultat array

$m_dbTableName public_oe property

public string $m_dbTableName
Résultat string

$m_exists public_oe property

public bool $m_exists
Résultat boolean

$m_keyColumnNames public_oe property

public array $m_keyColumnNames
Résultat array

$m_keyIsAutoIncrement public_oe property

public bool $m_keyIsAutoIncrement
Résultat boolean