PHP Class Wallabag\AnnotationBundle\Entity\Annotation

Afficher le fichier Open project: wallabag/wallabag Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( User $user ) *
getCreatedAt ( ) : DateTime Get created.
getEntry ( ) : Entry Get entry.
getId ( ) : integer Get id.
getQuote ( ) : string Get quote.
getRanges ( ) : array Get ranges.
getText ( ) : string Get text.
getUpdatedAt ( ) : DateTime Get updated.
getUser ( ) : User Get user.
getUserName ( )
getVersion ( )
setEntry ( Entry $entry ) : Annotation Set entry.
setQuote ( string $quote ) : Annotation Set quote.
setRanges ( array $ranges ) : Annotation Set ranges.
setText ( string $text ) : Annotation Set text.
setUser ( User $user ) : Annotation Set user.
timestamps ( )

Method Details

__construct() public méthode

*
public __construct ( User $user )
$user Wallabag\UserBundle\Entity\User

getCreatedAt() public méthode

Get created.
public getCreatedAt ( ) : DateTime
Résultat DateTime

getEntry() public méthode

Get entry.
public getEntry ( ) : Entry
Résultat Wallabag\CoreBundle\Entity\Entry

getId() public méthode

Get id.
public getId ( ) : integer
Résultat integer

getQuote() public méthode

Get quote.
public getQuote ( ) : string
Résultat string

getRanges() public méthode

Get ranges.
public getRanges ( ) : array
Résultat array

getText() public méthode

Get text.
public getText ( ) : string
Résultat string

getUpdatedAt() public méthode

Get updated.
public getUpdatedAt ( ) : DateTime
Résultat DateTime

getUser() public méthode

Get user.
public getUser ( ) : User
Résultat Wallabag\UserBundle\Entity\User

getUserName() public méthode

public getUserName ( )

getVersion() public méthode

public getVersion ( )

setEntry() public méthode

Set entry.
public setEntry ( Entry $entry ) : Annotation
$entry Wallabag\CoreBundle\Entity\Entry
Résultat Annotation

setQuote() public méthode

Set quote.
public setQuote ( string $quote ) : Annotation
$quote string
Résultat Annotation

setRanges() public méthode

Set ranges.
public setRanges ( array $ranges ) : Annotation
$ranges array
Résultat Annotation

setText() public méthode

Set text.
public setText ( string $text ) : Annotation
$text string
Résultat Annotation

setUser() public méthode

Set user.
public setUser ( User $user ) : Annotation
$user Wallabag\UserBundle\Entity\User
Résultat Annotation

timestamps() public méthode

public timestamps ( )