\Trean_Queue_Task_Favicon

Summary

Methods
Properties
Constants
__construct()
run()
No public properties found
No constants found
_storeFavicon()
_findByRel()
_findByRoot()
_findByPath()
_isValidFavicon()
$_url
$_bookmarkId
$_userId
$_body
$_charset
N/A
No private methods found
No private properties found
N/A

Properties

$_url

$_url : string

Url to be crawled

Type

string

$_bookmarkId

$_bookmarkId : integer

Bookmark id

Type

integer

$_userId

$_userId : integer

User id

Type

integer

$_body

$_body : string

Page body

Type

string

$_charset

$_charset : string

Page body character set

Type

string

Methods

__construct()

__construct(  $url,   $bookmarkId,   $userId,   $body = null,   $charset = null) 

Constructor

Parameters

$url
$bookmarkId
$userId
$body
$charset

run()

run() 

_storeFavicon()

_storeFavicon(\Horde_Http_Response_Base  $response) 

Parameters

\Horde_Http_Response_Base $response

HTTP response; body of this is the favicon

_findByRel()

_findByRel(  $client,   $url,   $body,   $charset) 

Parameters

$client
$url
$body
$charset

_findByRoot()

_findByRoot(  $client,   $url) 

Parameters

$client
$url

_findByPath()

_findByPath(  $client,   $url) 

Parameters

$client
$url

_isValidFavicon()

_isValidFavicon(  $response) 

Parameters

$response