public function EasyRdf_Sparql_Result::numFields in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Result.php \EasyRdf_Sparql_Result::numFields()
Return the number of fields in a query result of type bindings.
Return value
integer The number of fields.
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Sparql/ Result.php, line 126
Class
- EasyRdf_Sparql_Result
- Class for returned for SPARQL SELECT and ASK query responses.
Code
public function numFields() {
return count($this->fields);
}