You are here

public function RestfulBase::viewMultiple in RESTful 7

2 methods override RestfulBase::viewMultiple()
RestfulDataProviderDbQuery::viewMultiple in plugins/restful/RestfulDataProviderDbQuery.php
View a collection of items.
RestfulDataProviderEFQ::viewMultiple in plugins/restful/RestfulDataProviderEFQ.php
View a collection of items.

File

plugins/restful/RestfulBase.php, line 1678
Contains RestfulBase.

Class

RestfulBase
Class \RestfulBase

Code

public function viewMultiple(array $ids) {
  $output = array();
  foreach ($ids as $id) {
    $output[] = $this
      ->view($id);
  }
  return $output;
}