Now using checkResourceParam() to check paramters for functions that only take a resource.
Now using checkResourceParam() to check paramters for functions that only take a resource.

bsampaio/PHP-SemanticWeb-20142,bsampaio/PHP-SemanticWeb-20142,bsampaio/PHP-SemanticWeb-20142