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

deprecated 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

static bool
canIncludePageInSitemap(mixed $page, mixed $instances)

Deprecated: use the new classes in the Concrete\Core\Page\Sitemap namespace

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

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

deprecated

No description

Parameters

mixed $name
mixed $arguments

__call(mixed $name, mixed $arguments) deprecated

deprecated

No description

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

No description

Parameters

Page $page
array $instances

static bool canIncludePageInSitemap(mixed $page, mixed $instances)

Deprecated: use the new classes in the Concrete\Core\Page\Sitemap namespace

Parameters

mixed $page
mixed $instances

Return Value

bool