TaskStatus

Type
Abstract Class
Namespace
Craft
Inherits
Craft\TaskStatus
Since
2.0

The TaskStatus class is an abstract class that defines the different task status options available in Craft for the {@link TaskService}.

This class is a poor man's version of an enum, since PHP does not have support for native enumerations.

See also http://craftcms.com

View source (opens new window)

# Constants

Constant Description
Error
Pending
Running