class GenerateSitemap extends Job implements ApplicationAwareInterface (View source)

Usage of this class for CLI has been deprecated: use the c5:sitemap:generate CLI command instead, or the classes in the Concrete\Core\Page\Sitemap namespace.

Traits

Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface

Constants

EOL

Properties

protected Application $app from ApplicationAwareTrait

Methods

setApplication(Application $app)

Setter method for the application

static 
__callStatic(mixed $name, mixed $arguments) deprecated

No description

__call(mixed $name, mixed $arguments) deprecated

No description

string
getJobName()

Returns the job name.

string
getJobDescription()

Returns the job description.

string
run()

Executes the job.

static 
_canIncludePageInSitemap(Page $page, array $instances) deprecated

No description

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

static __callStatic(mixed $name, mixed $arguments) deprecated

deprecated

Parameters

mixed $name
mixed $arguments

__call(mixed $name, mixed $arguments) deprecated

deprecated

Parameters

mixed $name
mixed $arguments

string getJobName()

Returns the job name.

Return Value

string

string getJobDescription()

Returns the job description.

Return Value

string

string run()

Executes the job.

Return Value

string returns a string describing the job result in case of success

Exceptions

Exception throws an exception in case of errors

static private _canIncludePageInSitemap(Page $page, array $instances) deprecated

deprecated BC implementation of deprecated canIncludePageInSitemap method: use the new classes in the Concrete\Core\Page\Sitemap namespace

Parameters

Page $page
array $instances