PHP Class PartKeepr\FootprintBundle\Entity\FootprintCategory

Inheritance: extends PartKeepr\CategoryBundle\Entity\AbstractCategory, implements PartKeepr\CategoryBundle\Entity\CategoryPathInterface
Datei anzeigen Open project: partkeepr/PartKeepr Class Usage Examples

Protected Properties

Property Type Description
$categoryPath string
$children
$footprints
$parent

Public Methods

Method Description
generateCategoryPath ( $pathSeparator )
getCategoryPath ( ) : string Returns the category path.
getChildren ( ) : ArrayCollection Returns the children.
getFootprints ( ) : ArrayCollection Returns the footprints.
getParent ( ) : mixed Returns the parent category.
setCategoryPath ( $categoryPath )
setParent ( AbstractCategory $parent = null ) Sets the parent category.

Method Details

generateCategoryPath() public method

public generateCategoryPath ( $pathSeparator )

getCategoryPath() public method

Returns the category path.
public getCategoryPath ( ) : string
return string

getChildren() public method

Returns the children.
public getChildren ( ) : ArrayCollection
return Doctrine\Common\Collections\ArrayCollection

getFootprints() public method

Returns the footprints.
public getFootprints ( ) : ArrayCollection
return Doctrine\Common\Collections\ArrayCollection

getParent() public method

Returns the parent category.
public getParent ( ) : mixed
return mixed

setCategoryPath() public method

public setCategoryPath ( $categoryPath )

setParent() public method

Sets the parent category.
public setParent ( AbstractCategory $parent = null )
$parent PartKeepr\CategoryBundle\Entity\AbstractCategory

Property Details

$categoryPath protected_oe property

protected string $categoryPath
return string

$children protected_oe property

protected $children

$footprints protected_oe property

protected $footprints

$parent protected_oe property

protected $parent