PHP Class PartKeepr\StorageLocationBundle\Entity\StorageLocationCategory

Inheritance: extends PartKeepr\CategoryBundle\Entity\AbstractCategory, implements PartKeepr\CategoryBundle\Entity\CategoryPathInterface
Afficher le fichier Open project: partkeepr/PartKeepr Class Usage Examples

Protected Properties

Свойство Type Description
$categoryPath string
$children
$parent
$storageLocations

Méthodes publiques

Méthode Description
generateCategoryPath ( $pathSeparator )
getCategoryPath ( ) : string Returns the category path.
getChildren ( ) : ArrayCollection Returns the children.
getParent ( ) : mixed Returns the parent category.
getStorageLocations ( ) : ArrayCollection Returns the storage locations.
setCategoryPath ( $categoryPath )
setParent ( AbstractCategory $parent = null ) Sets the parent category.

Method Details

generateCategoryPath() public méthode

public generateCategoryPath ( $pathSeparator )

getCategoryPath() public méthode

Returns the category path.
public getCategoryPath ( ) : string
Résultat string

getChildren() public méthode

Returns the children.
public getChildren ( ) : ArrayCollection
Résultat Doctrine\Common\Collections\ArrayCollection

getParent() public méthode

Returns the parent category.
public getParent ( ) : mixed
Résultat mixed

getStorageLocations() public méthode

Returns the storage locations.
public getStorageLocations ( ) : ArrayCollection
Résultat Doctrine\Common\Collections\ArrayCollection

setCategoryPath() public méthode

public setCategoryPath ( $categoryPath )

setParent() public méthode

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

Property Details

$categoryPath protected_oe property

protected string $categoryPath
Résultat string

$children protected_oe property

protected $children

$parent protected_oe property

protected $parent

$storageLocations protected_oe property

protected $storageLocations