PHP Class Wallabag\CoreBundle\Entity\Entry

Show file Open project: wallabag/wallabag Class Usage Examples

Public Methods

Method Description
__construct ( User $user ) *
addTag ( Wallabag\CoreBundle\Entity\Tag $tag )
cleanUuid ( )
generateUuid ( )
getAnnotations ( ) : ArrayCollection
getContent ( ) : string Get content.
getCreatedAt ( ) : DateTime
getDomainName ( ) : string
getId ( ) : integer Get id.
getLanguage ( ) : string Get language.
getMimetype ( ) : string
getPreviewPicture ( ) : string Get previewPicture.
getReadingTime ( ) : integer
getSerializedTags ( )
getTags ( ) : ArrayCollection
getTitle ( ) : string Get title.
getUpdatedAt ( ) : DateTime
getUrl ( ) : string Get url.
getUser ( ) : User
getUserEmail ( )
getUserId ( )
getUserName ( )
getUuid ( ) : string
isArchived ( ) : boolean Get isArchived.
isPublic ( ) : boolean
isStarred ( ) : boolean Get isStarred.
is_Archived ( )
is_Starred ( )
removeTag ( Wallabag\CoreBundle\Entity\Tag $tag )
setAnnotation ( Annotation $annotation )
setArchived ( boolean $isArchived ) : Entry Set isArchived.
setContent ( string $content ) : Entry Set content.
setCreatedAt ( DateTime $createdAt ) : Entry Set created_at.
setDomainName ( string $domainName )
setIsPublic ( boolean $isPublic )
setLanguage ( string $language ) : Entry Set language.
setMimetype ( string $mimetype )
setPreviewPicture ( string $previewPicture ) : Entry Set previewPicture.
setReadingTime ( integer $readingTime )
setStarred ( boolean $isStarred ) : Entry Set isStarred.
setTitle ( string $title ) : Entry Set title.
setUrl ( string $url ) : Entry Set url.
setUuid ( string $uuid ) : Entry
timestamps ( )
toggleArchive ( )
toggleStar ( )

Method Details

__construct() public method

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

addTag() public method

public addTag ( Wallabag\CoreBundle\Entity\Tag $tag )
$tag Wallabag\CoreBundle\Entity\Tag

cleanUuid() public method

public cleanUuid ( )

generateUuid() public method

public generateUuid ( )

getAnnotations() public method

public getAnnotations ( ) : ArrayCollection
return ArrayCollection

getContent() public method

Get content.
public getContent ( ) : string
return string

getCreatedAt() public method

public getCreatedAt ( ) : DateTime
return DateTime

getDomainName() public method

public getDomainName ( ) : string
return string

getId() public method

Get id.
public getId ( ) : integer
return integer

getLanguage() public method

Get language.
public getLanguage ( ) : string
return string

getMimetype() public method

public getMimetype ( ) : string
return string

getPreviewPicture() public method

Get previewPicture.
public getPreviewPicture ( ) : string
return string

getReadingTime() public method

public getReadingTime ( ) : integer
return integer

getSerializedTags() public method

public getSerializedTags ( )

getTags() public method

public getTags ( ) : ArrayCollection
return ArrayCollection

getTitle() public method

Get title.
public getTitle ( ) : string
return string

getUpdatedAt() public method

public getUpdatedAt ( ) : DateTime
return DateTime

getUrl() public method

Get url.
public getUrl ( ) : string
return string

getUser() public method

public getUser ( ) : User
return Wallabag\UserBundle\Entity\User

getUserEmail() public method

public getUserEmail ( )

getUserId() public method

public getUserId ( )

getUserName() public method

public getUserName ( )

getUuid() public method

public getUuid ( ) : string
return string

isArchived() public method

Get isArchived.
public isArchived ( ) : boolean
return boolean

isPublic() public method

public isPublic ( ) : boolean
return boolean

isStarred() public method

Get isStarred.
public isStarred ( ) : boolean
return boolean

is_Archived() public method

public is_Archived ( )

is_Starred() public method

public is_Starred ( )

removeTag() public method

public removeTag ( Wallabag\CoreBundle\Entity\Tag $tag )
$tag Wallabag\CoreBundle\Entity\Tag

setAnnotation() public method

public setAnnotation ( Annotation $annotation )
$annotation Wallabag\AnnotationBundle\Entity\Annotation

setArchived() public method

Set isArchived.
public setArchived ( boolean $isArchived ) : Entry
$isArchived boolean
return Entry

setContent() public method

Set content.
public setContent ( string $content ) : Entry
$content string
return Entry

setCreatedAt() public method

Only used when importing data from an other service.
public setCreatedAt ( DateTime $createdAt ) : Entry
$createdAt DateTime
return Entry

setDomainName() public method

public setDomainName ( string $domainName )
$domainName string

setIsPublic() public method

public setIsPublic ( boolean $isPublic )
$isPublic boolean

setLanguage() public method

Set language.
public setLanguage ( string $language ) : Entry
$language string
return Entry

setMimetype() public method

public setMimetype ( string $mimetype )
$mimetype string

setPreviewPicture() public method

Set previewPicture.
public setPreviewPicture ( string $previewPicture ) : Entry
$previewPicture string
return Entry

setReadingTime() public method

public setReadingTime ( integer $readingTime )
$readingTime integer

setStarred() public method

Set isStarred.
public setStarred ( boolean $isStarred ) : Entry
$isStarred boolean
return Entry

setTitle() public method

Set title.
public setTitle ( string $title ) : Entry
$title string
return Entry

setUrl() public method

Set url.
public setUrl ( string $url ) : Entry
$url string
return Entry

setUuid() public method

public setUuid ( string $uuid ) : Entry
$uuid string
return Entry

timestamps() public method

public timestamps ( )

toggleArchive() public method

public toggleArchive ( )

toggleStar() public method

public toggleStar ( )