You are here

public function NodeResourceFeedModelItem::getUrl in Services 7

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

Returns the absolute url to the node

Return value

string The node url

File

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

Class

NodeResourceFeedModelItem

Code

public function getUrl() {
  return url('node/' . $this->node->nid, array(
    'absolute' => TRUE,
  ));
}