PHP Класс PartKeepr\FootprintBundle\Entity\FootprintCategory

Наследование: extends PartKeepr\CategoryBundle\Entity\AbstractCategory, implements PartKeepr\CategoryBundle\Entity\CategoryPathInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$categoryPath string
$children
$footprints
$parent

Открытые методы

Метод Описание
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.

Описание методов

generateCategoryPath() публичный Метод

public generateCategoryPath ( $pathSeparator )

getCategoryPath() публичный Метод

Returns the category path.
public getCategoryPath ( ) : string
Результат string

getChildren() публичный Метод

Returns the children.
public getChildren ( ) : ArrayCollection
Результат Doctrine\Common\Collections\ArrayCollection

getFootprints() публичный Метод

Returns the footprints.
public getFootprints ( ) : ArrayCollection
Результат Doctrine\Common\Collections\ArrayCollection

getParent() публичный Метод

Returns the parent category.
public getParent ( ) : mixed
Результат mixed

setCategoryPath() публичный Метод

public setCategoryPath ( $categoryPath )

setParent() публичный Метод

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

Описание свойств

$categoryPath защищенное свойство

protected string $categoryPath
Результат string

$children защищенное свойство

protected $children

$footprints защищенное свойство

protected $footprints

$parent защищенное свойство

protected $parent