XBRL.php
public function getDefinitionRoleLocators( $roleRefsKey )
	{
		if ( ! isset( $this->definitionRoleRefs[ $roleRefsKey ] ) ) return array();
		$role = $this->definitionRoleRefs[ $roleRefsKey ];
		if ( strpos( $role['href'], $this->getTaxonomyXSD() ) === false )
		{
			return $this->getTaxonomyForXSD( $role['href'] )->getDefinitionRoleLocators( $roleRefsKey );
		}
		return isset( $role['locators'] ) ? $role['locators'] : array();
	}
public function getDefinitionRoleLocators( $roleRefsKey )
	{
		if ( ! isset( $this->definitionRoleRefs[ $roleRefsKey ] ) ) return array();
		$role = $this->definitionRoleRefs[ $roleRefsKey ];
		if ( strpos( $role['href'], $this->getTaxonomyXSD() ) === false )
		{
			return $this->getTaxonomyForXSD( $role['href'] )->getDefinitionRoleLocators( $roleRefsKey );
		}
		return isset( $role['locators'] ) ? $role['locators'] : array();
	}
public function getDefinitionRoleLocators ( $ roleRefsKey ) { if ( ! isset ( $ this -> definitionRoleRefs [ $ roleRefsKey ] ) ) return array ( ) ; $ role = $ this -> definitionRoleRefs [ $ roleRefsKey ] ; if ( strpos ( $ role [ 'href' ] , $ this -> getTaxonomyXSD ( ) ) === false ) { return $ this -> getTaxonomyForXSD ( $ role [ 'href' ] ) -> getDefinitionRoleLocators ( $ roleRefsKey ) ; } return isset ( $ role [ 'locators' ] ) ? $ role [ 'locators' ] : array ( ) ; }
Get the locators associated with this role
@param string $roleRefsKey
Get the locators associated with this role