예제 #1
0
파일: Results.php 프로젝트: grharry/vufind
 /**
  * Constructor
  *
  * @param \VuFind\Search\Base\Params $params Object representing user search
  * parameters.
  * @param int                        $total  Total result set size to simulate
  */
 public function __construct(Params $params, $total = 100)
 {
     parent::__construct($params);
     $this->fakeExpectedTotal = $total;
     $this->searchId = 'fake';
     // fill a fake value here so we don't hit the DB
 }