ResourcePopulatorInterface
interface ResourcePopulatorInterface (View source)
Methods
                    public                                                                            
                
                    public                                                                            
                
                    populateFields(Resource $resource)
        
                                            
                
            Populate fields from the CKAN API endpoint specified on this given resource.
Details
        
                            
    populateMetadata(Resource $resource)
        
    
    Populate the given Resource with metadata from the CKAN API
Throws an exception when the CKAN API is unreachable or response with an error, or if the resource is not properly configured.
        
                            
    populateFields(Resource $resource)
        
    
    Populate fields from the CKAN API endpoint specified on this given resource.
Throws an exception when the CKAN API is unreachable or responds with an error, or if the resource is not properly configured.