AssetConflictResolution

Type
Abstract Class
Namespace
Craft
Inherits
Craft\AssetConflictResolution » Craft\BaseEnum
Since
2.1

The AssetConflictResolution class is an abstract class that defines all of the Asset conflict resolution options 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

Public Methods

MethodDescription
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.

Constants

ConstantDescription
Cancel
KeepBoth
Replace