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 Service

Service

Service entity.

Namespace: Jity\HomepageBundle\Entity
Author: Hermann Mayer <hermann.mayer92@gmail.com>
ORM\Entity
ORM\Table(name="service")
Located at Jity/HomepageBundle/Entity/Service.php
Methods summary
public
# __construct( )

__construct

__construct

Initalize a new Service instance.

public integer
# getId( )

getId

getId

Get the id of the entity.

Returns

integer
public Jity\HomepageBundle\Entity\Service
# setName( string $name )

setName

setName

Set the name of the entity.

Parameters

$name
string
$name Name of the service

Returns

Jity\HomepageBundle\Entity\Service
public string
# getName( )

getName

getName

Get the name of the entity.

Returns

string
public Jity\HomepageBundle\Entity\Service
# setDescription( string $description )

setDescription

setDescription

Set the description of the entity.

Parameters

$description
string
$description Description of the service

Returns

Jity\HomepageBundle\Entity\Service
public string
# getDescription( )

getDescription

getDescription

Get the description of the entity.

Returns

string
public Jity\HomepageBundle\Entity\Service
# addPage( Jity\HomepageBundle\Entity\Page $page )

addPage

addPage

Add a page to the entity.

Parameters

$page
Jity\HomepageBundle\Entity\Page
$page Page to add

Returns

Jity\HomepageBundle\Entity\Service
public Jity\HomepageBundle\Entity\Service
# removePage( Jity\HomepageBundle\Entity\Page $page )

removePage

removePage

Remove a assigned page of the entity.

Parameters

$page
Jity\HomepageBundle\Entity\Page
$page Page to remove

Returns

Jity\HomepageBundle\Entity\Service
public Doctrine\Common\Collections\Collection
# getPages( )

getPages

getPages

Get all assigned pages of the entity.

Returns

Doctrine\Common\Collections\Collection
public Jity\HomepageBundle\Entity\Service
# setTitle( string $title )

setTitle

setTitle

Set the title of the entity

Parameters

$title
string
$title Title of the service

Returns

Jity\HomepageBundle\Entity\Service
public string
# getTitle( )

getTitle

getTitle

Get the title of the entity.

Returns

string
Properties summary
protected mixed $id
#

ORM\Column(type="integer")

ORM\GeneratedValue(strategy="AUTO")

ORM\Id

protected mixed $name
#

ORM\Column(type="string",

length=100, unique=true)
protected mixed $title
#

ORM\Column(type="string",

length=100)
protected mixed $description
#

ORM\Column(type="text")

protected mixed $pages
#

ORM\OneToMany(targetEntity="AbstractPage",

mappedBy="service")
API documentation generated by ApiGen 2.8.0