public function NodeResourceFeedModel::__construct in Services 6.3
Same name and namespace in other branches
- 6.2 services/node_service/node_resource.models.inc \NodeResourceFeedModel::__construct()
- 7 services/node_service/node_resource.models.inc \NodeResourceFeedModel::__construct()
File
- servers/
rest_server/ includes/ node_resource.models.inc, line 14 - This file will parse a node resource feed And will also provide the necessary manip functions
Class
- NodeResourceFeedModel
- @file This file will parse a node resource feed And will also provide the necessary manip functions
Code
public function __construct($data, $arguments) {
$this->nodes = $data;
if (isset($arguments['mode'])) {
$this->mode = $arguments['mode'];
}
if (isset($arguments['item_length'])) {
$this->item_length = $arguments['item_length'];
}
}