SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class WorkerLinkChecker

Variables

NameVisibilityDescription
$job_name 
$metric_names 

Functions

NameVisibilityDescription
__constructpublicConstructor
buildCsvprivateReturn a CSV for the specified errors
checkPageprivateChecks a single page
checkUrlpublicReturns TRUE if the given URL is found, a string of the error message if the URL was not found.
getMetricNamespublicGets the job name
getNamepublicGets the job name
runpublicDo stuff

public __construct (from WorkerBase)

void $WorkerBase->__construct ( );

Constructor

Manually checks if the method 'run' exists,
because it's a varags,
so can't use the normal abstract function approach

private buildCsv

unknown $WorkerLinkChecker->buildCsv ( mixed &$errs );

Return a CSV for the specified errors

private checkPage

unknown $WorkerLinkChecker->checkPage ( mixed &$row , mixed &$errs );

Checks a single page

public checkUrl

unknown $WorkerLinkChecker->checkUrl ( mixed $href [, mixed $subsite_id ] );

Returns TRUE if the given URL is found, a string of the error message if the URL was not found.

public getMetricNames (from WorkerBase)

unknown $WorkerBase->getMetricNames ( );

Gets the job name

public getName (from WorkerBase)

unknown $WorkerBase->getName ( );

Gets the job name

public run

void $WorkerLinkChecker->run ( [ mixed $email_address ] );

Do stuff