PHP Class MetaAuthor

Inheritance: extends MetaDbObject
Mostra file Open project: sourcefabric/newscoop

Public Methods

Method Description
__construct ( $p_idOrName = NULL, $p_type = NULL )

Protected Methods

Method Description
getAim ( )
getBiography ( )
getImage ( )
getJabber ( )
getName ( $p_format = '%_FIRST_NAME %_LAST_NAME' )
getSkype ( )
getType ( )
getUrl ( ) : string Get author profile url
getUser ( ) : MetaUser Get user related to author
hasUrl ( ) : boolean Test if author has profile url

Method Details

__construct() public method

public __construct ( $p_idOrName = NULL, $p_type = NULL )

getAim() protected method

protected getAim ( )

getBiography() protected method

protected getBiography ( )

getImage() protected method

protected getImage ( )

getJabber() protected method

protected getJabber ( )

getName() protected method

protected getName ( $p_format = '%_FIRST_NAME %_LAST_NAME' )

getSkype() protected method

protected getSkype ( )

getType() protected method

protected getType ( )

getUrl() protected method

Get author profile url
protected getUrl ( ) : string
return string

getUser() protected method

Get user related to author
protected getUser ( ) : MetaUser
return MetaUser

hasUrl() protected method

Test if author has profile url
protected hasUrl ( ) : boolean
return boolean