WiseLoop PHP Web Media Grabber 3.1.1
Advanced PHP web resources extractor
wlWmgConfig Class Reference

Static Public Member Functions

static DOWNLOAD_DIR ()
static DOWNLOAD_URL ()

Data Fields

const DOWNLOAD_DIRNAME = 'download'
const CACHE_DIRNAME = 'cache'
const CURL_EXECUTION_TIME = 3
const DOWNLOAD_EXECUTION_TIME = 5
const DEFAULT_HTML_CACHE_TIME = 10080

Detailed Description

WiseLoop Web Media Grabber Configuration class

Author:
WiseLoop

Member Function Documentation

static DOWNLOAD_DIR ( ) [static]

Return the default directory where the grabbed contents will be downloaded.

Returns:
string
static DOWNLOAD_URL ( ) [static]

Returns the default url from where the grabbed downloaded can be referred.

Returns:
string

Field Documentation

const CACHE_DIRNAME = 'cache'

Cache directory name.
This directory must exists inside the download directory path of the product (ex. public_html/php-web-media-grabber/download/cache)

Curl timeout limit.
Allowed execution time (expressed in minutes) for any CURL operations (get headers, get HTML contents) before a timeout error is thrown;

const DEFAULT_HTML_CACHE_TIME = 10080

Default HTML caching time.
The default cache time is the time duration (expressed in minutes) of how long the stored cache of a HTML page content is considered to be fresh, so that when a new request to the same url is made, the HTML stored in the cache will be loaded instead of reloading and processing it from the real targeted url; in this way the speed will be much faster and the request number to the real targeted server will be kept at minimum.

const DOWNLOAD_DIRNAME = 'download'

Download directory name.
This directory must exists inside the installation directory path of the product (ex. public_html/php-web-media-grabber/download)

Download timeout limit.
Allowed time (expressed in minutes) for media download before a timeout error is thrown;


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables