Documentation

EasyBlogCrawlerDescription
in package

Table of Contents

Constants

PATTERN  = '/\<meta name="description" content=*[\"\']{0,1}([^\"\>]*)/i'

Properties

$description  : mixed

Methods

get()  : string
Returns the description of the document.
process()  : bool
Ruleset to process document title

Constants

PATTERN

public mixed PATTERN = '/\<meta name="description" content=*[\"\']{0,1}([^\"\>]*)/i'

Properties

Methods

get()

Returns the description of the document.

public get() : string
Return values
string

The document title.

process()

Ruleset to process document title

public process(mixed &$contents) : bool
Parameters
$contents : mixed
Tags
params

string $contents The html contents that needs to be parsed.

Return values
bool

True on success false otherwise.


        
On this page

Search results