You are here

function ResourceFactory::loadChildren in D7 Media 6

File

resource/resource.module, line 558
Resource API for Drupal, a replacement for files.

Class

ResourceFactory

Code

function loadChildren($rid, $context = NULL, $media = NULL) {

  // select * from {resource_relationships} where parent = $resource->id;
  // foreach child { $children[] = $this->loadId($child->rid)->context($context); }
  // return $children;
}