public function NodeResourceFeedModelItem::getUrl in Services 6.3
Same name and namespace in other branches
- 6.2 services/node_service/node_resource.models.inc \NodeResourceFeedModelItem::getUrl()
- 7 services/node_service/node_resource.models.inc \NodeResourceFeedModelItem::getUrl()
Returns the absolute url to the node
Return value
string The node url
Overrides ResourceFeedModelItem::getUrl
File
- servers/
rest_server/ includes/ node_resource.models.inc, line 187 - This file will parse a node resource feed And will also provide the necessary manip functions
Class
Code
public function getUrl() {
return url('node/' . $this->node->nid, array(
'absolute' => TRUE,
));
}