\Econda\RecEngine\ContextCategory

Class Category specifies a category to get recommendations for

Summary

Methods
Properties
Constants
__construct()
getId()
setId()
getType()
setType()
getPath()
setPath()
setPathFromString()
getVariant()
setVariant()
No public properties found
No constants found
initPropertiesFromArray()
$id
$path
$variant
$type
N/A
No private methods found
No private properties found
N/A

Properties

$id

$id : string

Type

string

$path

$path : array

Type

array — <string>

$variant

$variant : string

Type

string

$type

$type : string

Type

string

Methods

__construct()

__construct(null $data)

Constructor

Parameters

null $data

getId()

getId()

setId()

setId( $id)

Parameters

$id

getType()

getType()

setType()

setType( $type)

Parameters

$type

getPath()

getPath()

setPath()

setPath( $parts)

Parameters

$parts

setPathFromString()

setPathFromString( $path,  $delimiter)

Parameters

$path
$delimiter

getVariant()

getVariant()

setVariant()

setVariant( $variant)

Parameters

$variant

initPropertiesFromArray()

initPropertiesFromArray( $data)

Parameters

$data