Permalink
Browse files

correct doc block for two prefix functions

  • Loading branch information...
1 parent e25df31 commit db3e67337580be8385d06e8ed02962d99b49abf0 @white-gecko white-gecko committed Dec 26, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 library/Erfurt/Rdf/Model.php
@@ -640,16 +640,17 @@ public function deleteNamespacePrefix($prefix)
}
/**
- * check if a namespace prefix is registered and returns true or false
+ * check if a namespace prefix is registered and return the namespace uri
* @param $prefix
+ * @throws Erfurt_Namespace_Exception if the namespace is not registered
*/
public function getNamespaceByPrefix($prefix)
{
return $this->_namespaces->getNamespaceByPrefix($this->getModelUri(), $prefix);
}
/**
- * check if a namespace prefix is registered and return the namespace uri
+ * check if a namespace prefix is registered and returns true or false
* @param $prefix
*/
public function hasNamespaceByPrefix($prefix)

0 comments on commit db3e673

Please sign in to comment.