public function getResources(\core_kernel_classes_Class $rootClass, array $selectedUris = [], array $propertyFilters = [], $offset = 0, $limit = 30)
    {
        // Searching by label parameter will utilize fulltext search
        if (count($propertyFilters) == 1 && isset($propertyFilters[OntologyRdfs::RDFS_LABEL])) {
            $searchString = current($propertyFilters);
            return $this->searchByString($searchString, $rootClass, $offset, $limit);
        } else {
            return $this->searchByProperties($propertyFilters, $rootClass, $offset, $limit);
        }
    }
public function getResources(\core_kernel_classes_Class $rootClass, array $selectedUris = [], array $propertyFilters = [], $offset = 0, $limit = 30)
    {
        // Searching by label parameter will utilize fulltext search
        if (count($propertyFilters) == 1 && isset($propertyFilters[OntologyRdfs::RDFS_LABEL])) {
            $searchString = current($propertyFilters);
            return $this->searchByString($searchString, $rootClass, $offset, $limit);
        } else {
            return $this->searchByProperties($propertyFilters, $rootClass, $offset, $limit);
        }
    }
public function getResources ( \ core_kernel_classes_Class $ rootClass , array $ selectedUris = [ ] , array $ propertyFilters = [ ] , $ offset = 0 , $ limit = 30 ) { // Searching by label parameter will utilize fulltext search if ( count ( $ propertyFilters ) == 1 && isset ( $ propertyFilters [ OntologyRdfs :: RDFS_LABEL ] ) ) { $ searchString = current ( $ propertyFilters ) ; return $ this -> searchByString ( $ searchString , $ rootClass , $ offset , $ limit ) ; } else { return $ this -> searchByProperties ( $ propertyFilters , $ rootClass , $ offset , $ limit ) ; } }
Retrieve Resources for the given parameters as a list

@param \core_kernel_classes_Class $rootClass       the resources class
@param array                      $propertyFilters propUri/propValue to search resources
@param string[]                   $selectedUris    the resources to open
@param int                        $offset          for paging
@param int                        $limit           for paging
@return array the resources
Retrieve Resources for the given parameters as a list