PHP Class Sulu\Bundle\CategoryBundle\Entity\Category

Inheritance: implements Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
Show file Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$changed DateTime
$changer Sulu\Component\Security\Authentication\UserInterface
$children Doctrine\Common\Collections\Collection
$created DateTime
$creator Sulu\Component\Security\Authentication\UserInterface
$defaultLocale string
$depth integer
$id integer
$key string
$lft integer
$meta Doctrine\Common\Collections\Collection
$parent Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
$rgt integer
$translations Doctrine\Common\Collections\Collection

Public Methods

Method Description
__construct ( ) Constructor.
addChild ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $child )
addChildren ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $child )
addMeta ( Sulu\Bundle\CategoryBundle\Entity\CategoryMetaInterface $meta )
addTranslation ( Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface $translations )
findTranslationByLocale ( $locale )
getChanged ( )
getChanger ( )
getChildren ( )
getCreated ( )
getCreator ( )
getDefaultLocale ( )
getDepth ( )
getId ( )
getKey ( )
getLft ( )
getMeta ( )
getParent ( )
getRgt ( )
getTranslations ( )
removeChild ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $child )
removeChildren ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $child )
removeMeta ( Sulu\Bundle\CategoryBundle\Entity\CategoryMetaInterface $meta )
removeTranslation ( Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface $translations )
setChanged ( DateTime $changed )
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null )
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null )
setDefaultLocale ( $defaultLocale )
setDepth ( $depth )
setId ( $id )
setKey ( $key )
setLft ( $lft )
setParent ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $parent = null )
setRgt ( $rgt )

Method Details

__construct() public method

Constructor.
public __construct ( )

addChild() public method

public addChild ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $child )
$child Sulu\Bundle\CategoryBundle\Entity\CategoryInterface

addChildren() public method

public addChildren ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $child )
$child Sulu\Bundle\CategoryBundle\Entity\CategoryInterface

addMeta() public method

public addMeta ( Sulu\Bundle\CategoryBundle\Entity\CategoryMetaInterface $meta )
$meta Sulu\Bundle\CategoryBundle\Entity\CategoryMetaInterface

addTranslation() public method

public addTranslation ( Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface $translations )
$translations Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface

findTranslationByLocale() public method

public findTranslationByLocale ( $locale )

getChanged() public method

public getChanged ( )

getChanger() public method

public getChanger ( )

getChildren() public method

public getChildren ( )

getCreated() public method

public getCreated ( )

getCreator() public method

public getCreator ( )

getDefaultLocale() public method

public getDefaultLocale ( )

getDepth() public method

public getDepth ( )

getId() public method

public getId ( )

getKey() public method

public getKey ( )

getLft() public method

public getLft ( )

getMeta() public method

public getMeta ( )

getParent() public method

public getParent ( )

getRgt() public method

public getRgt ( )

getTranslations() public method

public getTranslations ( )

removeChild() public method

public removeChild ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $child )
$child Sulu\Bundle\CategoryBundle\Entity\CategoryInterface

removeChildren() public method

public removeChildren ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $child )
$child Sulu\Bundle\CategoryBundle\Entity\CategoryInterface

removeMeta() public method

public removeMeta ( Sulu\Bundle\CategoryBundle\Entity\CategoryMetaInterface $meta )
$meta Sulu\Bundle\CategoryBundle\Entity\CategoryMetaInterface

removeTranslation() public method

public removeTranslation ( Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface $translations )
$translations Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface

setChanged() public method

public setChanged ( DateTime $changed )
$changed DateTime

setChanger() public method

public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null )
$changer Sulu\Component\Security\Authentication\UserInterface

setCreator() public method

public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null )
$creator Sulu\Component\Security\Authentication\UserInterface

setDefaultLocale() public method

public setDefaultLocale ( $defaultLocale )

setDepth() public method

public setDepth ( $depth )

setId() public method

public setId ( $id )

setKey() public method

public setKey ( $key )

setLft() public method

public setLft ( $lft )

setParent() public method

public setParent ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $parent = null )
$parent Sulu\Bundle\CategoryBundle\Entity\CategoryInterface

setRgt() public method

public setRgt ( $rgt )

Property Details

$changed protected property

protected DateTime $changed
return DateTime

$changer protected property

protected UserInterface,Sulu\Component\Security\Authentication $changer
return Sulu\Component\Security\Authentication\UserInterface

$children protected property

protected Collection,Doctrine\Common\Collections $children
return Doctrine\Common\Collections\Collection

$created protected property

protected DateTime $created
return DateTime

$creator protected property

protected UserInterface,Sulu\Component\Security\Authentication $creator
return Sulu\Component\Security\Authentication\UserInterface

$defaultLocale protected property

protected string $defaultLocale
return string

$depth protected property

protected int $depth
return integer

$id protected property

protected int $id
return integer

$key protected property

protected string $key
return string

$lft protected property

protected int $lft
return integer

$meta protected property

protected Collection,Doctrine\Common\Collections $meta
return Doctrine\Common\Collections\Collection

$parent protected property

protected CategoryInterface,Sulu\Bundle\CategoryBundle\Entity $parent
return Sulu\Bundle\CategoryBundle\Entity\CategoryInterface

$rgt protected property

protected int $rgt
return integer

$translations protected property

protected Collection,Doctrine\Common\Collections $translations
return Doctrine\Common\Collections\Collection