PHP Class Nexcessnet_Turpentine_Model_Observer_Cron

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Inheritance: extends Varien_Event_Observer
Datei anzeigen Open project: nexcess/magento-turpentine

Public Methods

Method Description
crawlUrls ( Varien_Object $eventObject ) : null Crawl available URLs in the queue until we get close to max_execution_time (up to MAX_CRAWL_TIME)
queueAllUrls ( Varien_Object $eventObject ) : null Queue all URLs

Protected Methods

Method Description
_crawlUrl ( string $url ) : boolean Request a single URL, returns whether the request was successful or not

Method Details

_crawlUrl() protected method

Request a single URL, returns whether the request was successful or not
protected _crawlUrl ( string $url ) : boolean
$url string
return boolean

crawlUrls() public method

Crawl available URLs in the queue until we get close to max_execution_time (up to MAX_CRAWL_TIME)
public crawlUrls ( Varien_Object $eventObject ) : null
$eventObject Varien_Object
return null

queueAllUrls() public method

Queue all URLs
public queueAllUrls ( Varien_Object $eventObject ) : null
$eventObject Varien_Object
return null