class TypeFactory (View source)

Factory class for creating and retrieving instances of the Attribute type entity.

Properties

protected $entityManager
protected $environment

Methods

__construct(Environment $environment, EntityManager $entityManager)

No description

getByHandle($atHandle)

No description

getListByPackage(Package $package)

No description

getByID($atID)

No description

installDatabase(Type $type)

No description

add($atHandle, $atName, $pkg = null)

No description

getList($akCategoryHandle = false)

No description

getAttributeTypeList($akCategoryHandle = false) deprecated

No description

exportTranslations() deprecated

No description

Details

__construct(Environment $environment, EntityManager $entityManager)

Parameters

Environment $environment
EntityManager $entityManager

getByHandle($atHandle)

Parameters

$atHandle

getListByPackage(Package $package)

Parameters

Package $package

getByID($atID)

Parameters

$atID

protected installDatabase(Type $type)

Parameters

Type $type

add($atHandle, $atName, $pkg = null)

Parameters

$atHandle
$atName
$pkg

getList($akCategoryHandle = false)

Parameters

$akCategoryHandle

getAttributeTypeList($akCategoryHandle = false) deprecated

deprecated

Parameters

$akCategoryHandle

exportTranslations() deprecated

deprecated