예제 #1
0
 /**
  * Get New Items
  *
  * Retrieve the IDs of items recently added to the catalog.
  *
  * @param int $page    Page number of results to retrieve (counting starts at 1)
  * @param int $limit   The size of each page of results to retrieve
  * @param int $daysOld The maximum age of records to retrieve in days (max. 30)
  * @param int $fundId  optional fund ID to use for limiting results (use a value
  * returned by getFunds, or exclude for no limit); note that "fund" may be a
  * misnomer - if funds are not an appropriate way to limit your new item
  * results, you can return a different set of values from getFunds. The
  * important thing is that this parameter supports an ID returned by getFunds,
  * whatever that may mean.
  *
  * @return array       Associative array with 'count' and 'results' keys
  * @access public
  */
 public function getNewItems($page = 1, $limit = 20, $daysOld = 30, $fundId = null)
 {
     return $this->driver->getNewItems($page, $limit, $daysOld, $fundId);
 }