Class VPE

Class VPE

VPE implements VPEInterface
Package: VPE\Entities
Category: System
Located at Services/Core/VPE/Entities/VPE.inc.php

Methods summary

public __construct( EditableKeyValueCollection $names )

VPE constructor.

public getId( void ) : integer

Returns the id.

public setId( IdType $vpeId ) :

Sets the id.

public getName( LanguageCode $languageCode ) : string

Returns the language specific name.

public setName( StringType $name, LanguageCode $languageCode ) :

Sets the language specific name.

public getNames( void ) : array

Returns all language specific names.

public isDefault( void ) : boolean

Returns true if the vpe entity instance is the shops default.

public setDefault( BoolType $default ) :

Sets vpe entity to shops default, if bool type is true.