# Method: PHPCrawler::handlePageData()

## << Back to class-overview

This method is deprecated! Please use and override the handleDocumentInfo-method to access document-information instead.

Override this method to get access to all information about a page or file the crawler found and received.
Signature:

public handlePageData(&$page_data)

Parameters:

&$page_data | array | Array containing all information about the currently received document. For detailed information on the conatining keys see PHPCrawlerDocumentInfo-class.

Returns:

int | The crawling-process will stop immedeatly if you let this method return any negative value.

Description:

Everytime the crawler found and received a document on it's way this method will be called.
The crawler passes all information about the currently received page or file to this method
by the array $page_data.