You are here

public function NodeResourceFeedModel::current in Services 7

Same name and namespace in other branches
  1. 6.3 servers/rest_server/includes/node_resource.models.inc \NodeResourceFeedModel::current()
  2. 6.2 services/node_service/node_resource.models.inc \NodeResourceFeedModel::current()

File

services/node_service/node_resource.models.inc, line 10

Class

NodeResourceFeedModel

Code

public function current() {
  $node = current($this->nodes);
  if ($node !== FALSE) {
    return new NodeResourceFeedModelItem($node);
  }
  return FALSE;
}