Property | Type | Description | |
---|---|---|---|
$context | GraphAware\Reco4PHP\Context\Context | ||
$recommendations |
Method | Description | |
---|---|---|
__construct ( GraphAware\Reco4PHP\Context\Context $context ) | ||
add ( GraphAware\Common\Type\Node $item, string $name, |
||
get ( $position ) : |
||
getContext ( ) : GraphAware\Reco4PHP\Context\Context | ||
getItemBy ( string $key, mixed $value ) : |
||
getItemById ( integer $id ) : |
||
getItems ( $size = null ) : array | ||
getOrCreate ( GraphAware\Common\Type\Node $item ) : |
||
merge ( |
||
remove ( |
||
size ( ) : integer | ||
sort ( ) |
public __construct ( GraphAware\Reco4PHP\Context\Context $context ) | ||
$context | GraphAware\Reco4PHP\Context\Context |
public getContext ( ) : GraphAware\Reco4PHP\Context\Context | ||
return | GraphAware\Reco4PHP\Context\Context |
public getItemById ( integer $id ) : |
||
$id | integer | |
return |
public getOrCreate ( GraphAware\Common\Type\Node $item ) : |
||
$item | GraphAware\Common\Type\Node | |
return |
public merge ( |
||
$recommendations |
public remove ( |
||
$recommendation |
protected Context,GraphAware\Reco4PHP\Context $context | ||
return | GraphAware\Reco4PHP\Context\Context |