PHP Class Newscoop\Entity\Author

Mostra file Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$aim string
$articles Doctrine\Common\Collections\Collection
$biography string
$email string
$first_name string
$id integer
$image string
$jabber string
$last_name string
$skype string
$type Doctrine\Common\Collections\ArrayCollection
$user Newscoop\Entity\User

Public Methods

Method Description
__construct ( string $firstName, string $lastName )
getAim ( ) : aim Getter for aim
getArticles ( ) : Doctrine\Common\Collections\Collection Gets the articles
getBiography ( ) : string Get biography
getEmail ( ) : string Getter for email
getFirstName ( ) : string Getter for first_name
getFullName ( ) : string Get full name
getId ( ) : integer Getter for id
getImage ( ) : string Get image
getJabber ( ) : string Getter for jabber
getLastName ( ) : string Getter for last_name
getSkype ( ) : string Getter for skype
getType ( ) : Newscoop\Entity\AuthorType Getter for type
getUser ( ) : Newscoop\Entity\User Getter for user
getView ( ) : AuthorView Get view
setAim ( aim $aim ) : self Setter for aim
setBiography ( $biography ) : self Set biography
setEmail ( string $email ) : self Setter for email
setFirstName ( string $firstName ) : self Setter for first_name
setId ( integer $id ) : self Setter for id
setImage ( $image ) : self Set image
setJabber ( string $jabber ) : self Setter for jabber
setLastName ( string $lastName ) : self Setter for last_name
setSkype ( string $skype ) : self Setter for skype
setType ( AuthorType $type ) : self Setter for type
setUser ( User $user ) : self Setter for user

Method Details

__construct() public method

public __construct ( string $firstName, string $lastName )
$firstName string
$lastName string

getAim() public method

Getter for aim
public getAim ( ) : aim
return aim

getArticles() public method

Gets the articles
public getArticles ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getBiography() public method

Get biography
public getBiography ( ) : string
return string

getEmail() public method

Getter for email
public getEmail ( ) : string
return string

getFirstName() public method

Getter for first_name
public getFirstName ( ) : string
return string

getFullName() public method

Get full name
public getFullName ( ) : string
return string

getId() public method

Getter for id
public getId ( ) : integer
return integer

getImage() public method

Get image
public getImage ( ) : string
return string

getJabber() public method

Getter for jabber
public getJabber ( ) : string
return string

getLastName() public method

Getter for last_name
public getLastName ( ) : string
return string

getSkype() public method

Getter for skype
public getSkype ( ) : string
return string

getType() public method

Getter for type
public getType ( ) : Newscoop\Entity\AuthorType
return Newscoop\Entity\AuthorType

getUser() public method

Getter for user
public getUser ( ) : Newscoop\Entity\User
return Newscoop\Entity\User

getView() public method

Get view
public getView ( ) : AuthorView
return Newscoop\View\AuthorView

setAim() public method

Setter for aim
public setAim ( aim $aim ) : self
$aim aim Value to set
return self

setBiography() public method

Set biography
public setBiography ( $biography ) : self
return self

setEmail() public method

Setter for email
public setEmail ( string $email ) : self
$email string Value to set
return self

setFirstName() public method

Setter for first_name
public setFirstName ( string $firstName ) : self
$firstName string Value to set
return self

setId() public method

Setter for id
public setId ( integer $id ) : self
$id integer Value to set
return self

setImage() public method

Set image
public setImage ( $image ) : self
return self

setJabber() public method

Setter for jabber
public setJabber ( string $jabber ) : self
$jabber string Value to set
return self

setLastName() public method

Setter for last_name
public setLastName ( string $lastName ) : self
$lastName string Value to set
return self

setSkype() public method

Setter for skype
public setSkype ( string $skype ) : self
$skype string Value to set
return self

setType() public method

Setter for type
public setType ( AuthorType $type ) : self
$type AuthorType Value to set
return self

setUser() public method

Setter for user
public setUser ( User $user ) : self
$user User Value to set
return self

Property Details

$aim protected_oe property

protected string $aim
return string

$articles protected_oe property

protected Doctrine\Common\Collections\Collection $articles
return Doctrine\Common\Collections\Collection

$biography protected_oe property

protected string $biography
return string

$email protected_oe property

protected string $email
return string

$first_name protected_oe property

protected string $first_name
return string

$id protected_oe property

protected int $id
return integer

$image protected_oe property

protected string $image
return string

$jabber protected_oe property

protected string $jabber
return string

$last_name protected_oe property

protected string $last_name
return string

$skype protected_oe property

protected string $skype
return string

$type protected_oe property

protected ArrayCollection,Doctrine\Common\Collections $type
return Doctrine\Common\Collections\ArrayCollection

$user protected_oe property

protected Newscoop\Entity\User $user
return Newscoop\Entity\User