class CFBooleanRecommender in Recommender API 7.6
Hierarchy
- class \CFRecommender implements RecommenderInterface
- class \CFBooleanRecommender
Expanded class hierarchy of CFBooleanRecommender
File
- classes/
Recommender.php, line 245
View source
class CFBooleanRecommender extends CFRecommender {
public function initialize($params) {
// do a simple trick of inverse item/user fields.
parent::initialize($params);
$this->structure['preference']['score type'] = 'boolean';
}
}