WorldCatSimilar
extends Similar
in package
Related Records: WorldCat-based similarity
Tags
Table of Contents
- $results : array<string|int, mixed>
- Similar records
- $searchService : Service
- Search service
- __construct() : mixed
- Constructor
- getResults() : array<string|int, mixed>
- Get an array of Record Driver objects representing items similar to the one passed to the constructor.
- init() : void
- Establishes base settings for making recommendations.
Properties
$results
Similar records
protected
array<string|int, mixed>
$results
$searchService
Search service
protected
Service
$searchService
Methods
__construct()
Constructor
public
__construct(Service $search) : mixed
Parameters
- $search : Service
-
Search service
Return values
mixed —getResults()
Get an array of Record Driver objects representing items similar to the one passed to the constructor.
public
getResults() : array<string|int, mixed>
Return values
array<string|int, mixed> —init()
Establishes base settings for making recommendations.
public
init(string $settings, AbstractBase $driver) : void
Parameters
- $settings : string
-
Settings from config.ini
- $driver : AbstractBase
-
Record driver object