public function NodeResourceFeedModel::current in Services 7
Same name and namespace in other branches
- 6.3 servers/rest_server/includes/node_resource.models.inc \NodeResourceFeedModel::current()
- 6.2 services/node_service/node_resource.models.inc \NodeResourceFeedModel::current()
File
- services/
node_service/ node_resource.models.inc, line 10
Class
Code
public function current() {
$node = current($this->nodes);
if ($node !== FALSE) {
return new NodeResourceFeedModelItem($node);
}
return FALSE;
}