ElementsVariable

Type
Class
Namespace
Craft
Inherits
Craft\ElementsVariable
Since
1.0

Class ElementsVariable

See also http://craftcms.com

View source (opens new window)

# Public Methods

Method Description
getAllElementTypes() Returns all installed element types.
getElementType() Returns an element type.

# getAllElementTypes()

Returns all installed element types.

View source (opens new window)

Returns

array (opens new window)

Signature

public array getAllElementTypes ( )

# getElementType()

Signature

public Craft\ElementTypeVariable, null getElementType ( $class )