src/acdhOeaw/schema/SchemaObject.php
public function getIds(): array {
        $ids  = array($this->id);
        $meta = $this->getMetadata();
        foreach ($meta->allResources(RC::idProp()) as $id) {
            $ids[] = $id->getUri();
        }
        $ids = array_unique($ids);
        return $ids;
    }
public function getIds(): array {
        $ids  = array($this->id);
        $meta = $this->getMetadata();
        foreach ($meta->allResources(RC::idProp()) as $id) {
            $ids[] = $id->getUri();
        }
        $ids = array_unique($ids);
        return $ids;
    }
public function getIds ( ) : array { $ ids = array ( $ this -> id ) ; $ meta = $ this -> getMetadata ( ) ; foreach ( $ meta -> allResources ( RC :: idProp ( ) ) as $ id ) { $ ids [ ] = $ id -> getUri ( ) ; } $ ids = array_unique ( $ ids ) ; return $ ids ; }
Returns all known ids

@return array list of all ids
Returns all known ids