FILE ... TOC

Set or get the fetch_state of a page

Usage:

           $page->fetch_state

or
           $page->fetch_state($state)

During the retrieval process a page can have the follwing states:

  • FRESH the page object was generated, but nothing has beed done to the page
  • SCHEDULED the page object was scheduled for retrieval
  • RETRIEVED the page object was retrieved sucessfully or unsuccessfully via a http GET method
  • SAVED the page was saved to the disk and the content was destroyed (see destroy).

FILE ... TOC