public function getRole($uri)
    {
        $returnValue = null;

        if(!empty($uri)){
        	$returnValue = new core_kernel_classes_Resource($uri);
        }

        return $returnValue;
    }
public function getRole($uri)
    {
        $returnValue = null;

        if(!empty($uri)){
        	$returnValue = new core_kernel_classes_Resource($uri);
        }

        return $returnValue;
    }
public function getRole ( $ uri ) { $ returnValue = null ; if ( ! empty ( $ uri ) ) { $ returnValue = new core_kernel_classes_Resource ( $ uri ) ; } return $ returnValue ; }
Get the Role matching the uri

@access public
@author Joel Bout, <joel@taotesting.com>
@param  string uri
@return core_kernel_classes_Resource
Get the Role matching the uri