PHP Класс WellCommerce\Bundle\AttributeBundle\Entity\Attribute

Автор: Adam Piotrowski ([email protected])
Наследование: implements WellCommerce\Bundle\AttributeBundle\Entity\AttributeInterface, use trait Knp\DoctrineBehaviors\Model\Translatable\Translatable, use trait Knp\DoctrineBehaviors\Model\Timestampable\Timestampable, use trait Knp\DoctrineBehaviors\Model\Blameable\Blameable
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$groups Doctrine\Common\Collections\Collection
$values Doctrine\Common\Collections\Collection

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

Метод Описание
__construct ( ) Attribute constructor.
addGroup ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface $group )
addValue ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeValueInterface $value )
getGroups ( ) : Doctrine\Common\Collections\Collection
getValues ( ) : Doctrine\Common\Collections\Collection
removeValue ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeValueInterface $value )
setGroups ( Doctrine\Common\Collections\Collection $groups )
setValues ( Doctrine\Common\Collections\Collection $collection )

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

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

Attribute constructor.
public __construct ( )

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

public addGroup ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface $group )
$group WellCommerce\Bundle\AttributeBundle\Entity\AttributeGroupInterface

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

public addValue ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeValueInterface $value )
$value WellCommerce\Bundle\AttributeBundle\Entity\AttributeValueInterface

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

public getGroups ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

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

public getValues ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

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

public removeValue ( WellCommerce\Bundle\AttributeBundle\Entity\AttributeValueInterface $value )
$value WellCommerce\Bundle\AttributeBundle\Entity\AttributeValueInterface

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

public setGroups ( Doctrine\Common\Collections\Collection $groups )
$groups Doctrine\Common\Collections\Collection

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

public setValues ( Doctrine\Common\Collections\Collection $collection )
$collection Doctrine\Common\Collections\Collection

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

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

protected Collection,Doctrine\Common\Collections $groups
Результат Doctrine\Common\Collections\Collection

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

protected Collection,Doctrine\Common\Collections $values
Результат Doctrine\Common\Collections\Collection