VPEInterface

Extends

Interface VPEInterface

category

System

package

VPE

subpackage

Entities

Methods

Returns the id.

getId() : integer

Response

integer

Returns the language specific name.

getName(\LanguageCode $languageCode) : string

Arguments

$languageCode

\LanguageCode

Language code for language specific name value.

Response

string

Language specific name value.

Returns all language specific names.

getNames() : array

Response

array

Language specific names value.

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

isDefault() : boolean

Response

boolean

True if VPE value is shops default.

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

setDefault(\BoolType $default) : $this|\VPEInterface

Arguments

$default

\BoolType

Is current vpe entity shops default?

Response

$this|\VPEInterface

Same instance for chained method calls.

Sets the id.

setId(\IdType $vpeId) : $this|\VPEInterface

Arguments

$vpeId

\IdType

Id to be set.

Response

$this|\VPEInterface

Same instance for chained method calls.

Sets the language specific name.

setName(\StringType $name, \LanguageCode $languageCode) : $this|\VPEInterface

Arguments

$name

\StringType

Name value to be set.

$languageCode

\LanguageCode

Language code for language specific name value.

Response

$this|\VPEInterface

Same instance for chained method calls.