Overview

Namespaces

  • Jity
    • HomepageBundle
      • Controller
      • DataFixtures
        • ORM
      • DependencyInjection
        • Compiler
        • Service
          • Controller
      • Doctrine
        • Extension
          • DBAL
            • Types
      • Entity
      • EventListener
      • Form
        • Extension
      • Tests
        • Controller
      • Twig
        • Extension
  • PHP

Classes

  • AbstractPage
  • AbstractPageTag
  • Article
  • Category
  • Comment
  • Contact
  • Group
  • NavigationContainer
  • NavigationResource
  • Page
  • Section
  • Service
  • Sidebar
  • SidebarSection
  • Tag
  • User
  • UserRepository
  • Overview
  • Namespace
  • Class
  • Tree

Class Comment

Comment

Comment entity.

Namespace: Jity\HomepageBundle\Entity
Author: Hermann Mayer <hermann.mayer92@gmail.com>
ExclusionPolicy("None")
ORM\Entity
ORM\Table(name="comment")
Located at Jity/HomepageBundle/Entity/Comment.php
Methods summary
public integer
# getId( )

getId

getId

Get the id of the entity.

Returns

integer
public Jity\HomepageBundle\Entity\Comment
# setContent( string $content )

setContent

setContent

Set the content of the entity.

Parameters

$content
string
$content Content of the comment

Returns

Jity\HomepageBundle\Entity\Comment
public string
# getContent( )

getContent

getContent

Get the content of the entity.

Returns

string
public Jity\HomepageBundle\Entity\Comment
# setCreatedAt( DateTime $createdAt )

setCreatedAt

setCreatedAt

Set the createdAt date of the entity.

Parameters

$createdAt
DateTime
$createdAt Created date of the comment

Returns

Jity\HomepageBundle\Entity\Comment
public DateTime
# getCreatedAt( )

getCreatedAt

getCreatedAt

Get the createdAt date of the entity.

Returns

DateTime
public Jity\HomepageBundle\Entity\Comment
# setUpdatedAt( DateTime $updatedAt )

setUpdatedAt

setUpdatedAt

Set the updatedAt date of the entity.

Parameters

$updatedAt
DateTime
$updatedAt Updated date of the comment

Returns

Jity\HomepageBundle\Entity\Comment
public DateTime
# getUpdatedAt( )

getUpdatedAt

getUpdatedAt

Get the updatedAt date of the entity.

Returns

DateTime
public Jity\HomepageBundle\Entity\Comment
# setArticle( Jity\HomepageBundle\Entity\Article $article = null )

setArticle

setArticle

Set the article of the entity.

Parameters

$article
Jity\HomepageBundle\Entity\Article
$article Article to set

Returns

Jity\HomepageBundle\Entity\Comment
public Jity\HomepageBundle\Entity\Article
# getArticle( )

getArticle

getArticle

Get the assigned article of the entity.

Returns

Jity\HomepageBundle\Entity\Article
public Jity\HomepageBundle\Entity\Comment
# setAuthor( Jity\HomepageBundle\Entity\User $author = null )

setAuthor

setAuthor

Set the author of the entity.

Parameters

$author
Jity\HomepageBundle\Entity\User
$author Author of the comment

Returns

Jity\HomepageBundle\Entity\Comment
public Jity\HomepageBundle\Entity\User
# getAuthor( )

getAuthor

getAuthor

Get the author of the entity.

Returns

Jity\HomepageBundle\Entity\User
public Jity\HomepageBundle\Entity\Comment
# setAuthorName( string $name )

setAuthorName

setAuthorName

Set the anonymous author name of the entity.

Parameters

$name
string
$name Name of the anonymous author

Returns

Jity\HomepageBundle\Entity\Comment
public string
# getAuthorName( )

getAuthorName

getAuthorName

Get the anonymous author name of the entity.

Returns

string
public Jity\HomepageBundle\Entity\Comment
# setAuthorEmail( string $email )

setAuthorEmail

setAuthorEmail

Set the anonymous author email of the entity.

Parameters

$email
string
$email Email address of the anonymous author

Returns

Jity\HomepageBundle\Entity\Comment
public string
# getAuthorEmail( )

getAuthorEmail

getAuthorEmail

Get the anonymous author email of the entity.

Returns

string
public Jity\HomepageBundle\Entity\Comment
# setAuthorWebsite( string $website )

setAuthorWebsite

setAuthorWebsite

Set the anonymous author website of the entity.

Parameters

$website
string
$website Website of the anonymous author

Returns

Jity\HomepageBundle\Entity\Comment
public string
# getAuthorWebsite( )

getAuthorWebsite

getAuthorWebsite

Get the anonymous author website of the entity.

Returns

string
public Jity\HomepageBundle\Entity\Comment
# setAuthorTwitterNickname( string $twitterNickname )

setAuthorTwitterNickname

setAuthorTwitterNickname

Set the anonymous author twitter nickname of the entity.

Parameters

$twitterNickname
string
$twitterNickname Twitter Nickname of the anonymous author

Returns

Jity\HomepageBundle\Entity\Comment
public string
# getAuthorTwitterNickname( )

getAuthorTwitterNickname

getAuthorTwitterNickname

Get the anonymous author twitter nickname of the entity.

Returns

string
Properties summary
protected mixed $id
#

ORM\Column(type="integer")

ORM\GeneratedValue(strategy="AUTO")

ORM\Id

protected mixed $article
#

ORM\JoinColumn(name="article_id",

referencedColumnName="id")

ORM\ManyToOne(targetEntity="Article",

inversedBy="comments")
protected mixed $author
#

ORM\JoinColumn(name="author_id",

referencedColumnName="id")

ORM\ManyToOne(targetEntity="User",

inversedBy="comments")
protected mixed $authorName
#

ORM\Column(type="string",

nullable=true)
protected mixed $authorEmail
#

ORM\Column(type="string",

nullable=true)
protected mixed $authorWebsite
#

ORM\Column(type="string",

nullable=true)
protected mixed $authorTwitterNickname
#

ORM\Column(type="string",

nullable=true)
protected mixed $content
#

ORM\Column(type="text")

API documentation generated by ApiGen 2.8.0