private function searchByProperties($propertyFilters, $rootClass, $offset, $limit)
    {
        // for searching by properties will be used RDF search
        $options = [
            'recursive' => true,
            'like'      => true,
            'limit'     => $limit,
            'offset'    => $offset
        ];
        $count = $rootClass->countInstances($propertyFilters, $options);
        $resources = $rootClass->searchInstances($propertyFilters, $options);
        return $this->format($resources, $count, $offset, $limit);
    }
private function searchByProperties($propertyFilters, $rootClass, $offset, $limit)
    {
        // for searching by properties will be used RDF search
        $options = [
            'recursive' => true,
            'like'      => true,
            'limit'     => $limit,
            'offset'    => $offset
        ];
        $count = $rootClass->countInstances($propertyFilters, $options);
        $resources = $rootClass->searchInstances($propertyFilters, $options);
        return $this->format($resources, $count, $offset, $limit);
    }
private function searchByProperties ( $ propertyFilters , $ rootClass , $ offset , $ limit ) { // for searching by properties will be used RDF search $ options = [ 'recursive' => true , 'like' => true , 'limit' => $ limit , 'offset' => $ offset ] ; $ count = $ rootClass -> countInstances ( $ propertyFilters , $ options ) ; $ resources = $ rootClass -> searchInstances ( $ propertyFilters , $ options ) ; return $ this -> format ( $ resources , $ count , $ offset , $ limit ) ; }
Search using properties
@param string $searchString
@param \core_kernel_classes_Class $rootClass
@param int $offset
@param int $limit
@return array
Search using properties