CraftPackage

Type
Abstract Class
Namespace
Craft
Inherits
Craft\CraftPackage » Craft\BaseEnum
Since
1.0
Deprecated in
This class has been deprecated since Craft 2.0 since Craft no longer has packages.

The CraftPackage class is an abstract class that defines all of the packages that are available in Craft.

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)

# Public Methods

Method Description
__construct()
getConstants()
isValidName() Checks to see if the given name is valid in the enum.
isValidValue() Checks to see if the given value is valid in the enum.

# __construct()

Signature

public Craft\CraftPackage __construct ( )

# Constants

Constant Description
Cloud
Localize
PublishPro
Rebrand
Users