Location: PHPKode > projects > Html2ps > html2ps-2.0.43/fetcher._interface.class.php
<?php
class Fetcher {
  /**
   * Fetches the data identified by $data_id, wraps it into FetchedData object together with 
   * any auxiliary information (like HTTP response headers, number of redirect, fetched file information
   * or something else) and returns this object.
   *
   * @param String $data_id unique identifier of the data to be fetched (URI, file path, primary key of the database record or something else)
   *
   * @return FetchedData object containing the fetched file contents and auxiliary information, if exists.
   */
  function get_data($data_id) {
    die("Oops. Inoverridden 'get_data' method called in ".get_class($this));
  }

  /**
   * @return String value of base URL to use for resolving relative links inside the document
   */
  function get_base_url() {
    die("Oops. Inoverridden 'get_base_url' method called in ".get_class($this));
  }

  function error_message() {
    die("Oops. Inoverridden 'error_message' method called in ".get_class($this));
  }
}
?>
Return current item: Html2ps