메소드 |
설명 |
|
addCategoryToCrawlerQueue ( Mage_Catalog_Model_Category $category ) : integer |
Add URLs to the queue by category model |
|
addCmsPageToCrawlerQueue ( integer $cmsPageId ) : integer |
Add URLs to queue by CMS page ID |
|
addProductToCrawlerQueue ( Mage_Catalog_Model_Product $product ) : integer |
Add URLs to the queue by product model |
|
addUrlToCrawlerQueue ( string $url ) : boolean |
Add a single URL to the queue, returns whether it was actually added
to the queue or not (false if it was already in the queue) |
|
addUrlsToCrawlerQueue ( array $urls ) : integer |
Add a list of URLs to the queue, returns how many unique URLs were
actually added to the queue |
|
getAllUrls ( ) : array |
Get the list of all URLs |
|
getAllowedRunTime ( ) : integer |
Get the max execution time (or 0 if unlimited) |
|
getCrawlerBatchSize ( ) : integer |
Get number of urls to crawl per batch |
|
getCrawlerClient ( ) : Varien_Http_Client |
Get the crawler http client |
|
getCrawlerDebugEnabled ( ) : boolean |
Get if crawler debugging is enabled |
|
getCrawlerEnabled ( ) : boolean |
Get if the crawler is enabled |
|
getCrawlerWaitPeriod ( ) : integer |
Get time in seconds to wait between url batches |
|
getNextUrl ( ) : string | null |
Pop a URL to crawl off the queue, or null if no URLs left |
|
getRunTime ( ) : integer |
Get the execution time used so far |
|
getUrlQueue ( ) : array |
Get the current URL queue |
|