public function EasyRdf_Container::valid in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Container.php \EasyRdf_Container::valid()
Checks if current position is valid
Return value
bool True if the current position is valid
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Container.php, line 125
Class
- EasyRdf_Container
- Sub-class of EasyRdf_Resource that represents an RDF container (rdf:Alt, rdf:Bag and rdf:Seq)
Code
public function valid() {
return $this
->hasProperty('rdf:_' . $this->position);
}