Метод | Описание | |
---|---|---|
__construct ( ) | ||
addCurl ( $url, $identifier = null, $callback = null, $timeout = 5 ) | Timeout is in seconds | |
cleanup ( ) | Make sure you call this once you're finished! Avoid resource leaks! | |
run ( ) | Call this once you've called addCurl as many times as you're going to | |
urlContent ( $identifier, &$content ) | Do not try to use null as an identifier. No really. Don't. |
public addCurl ( $url, $identifier = null, $callback = null, $timeout = 5 ) |
public cleanup ( ) |
public run ( ) |
public urlContent ( $identifier, &$content ) |