ElementsVariable

Type
Class
Namespace
Craft
Inherits
Craft\ElementsVariable
Since
1.0

Class ElementsVariable

See also http://craftcms.com

View source

Public Methods

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

getAllElementTypes()

Returns all installed element types.

View source

Returns

array

Signature

public array getAllElementTypes ( )

getElementType()

Returns an element type.

View source

Arguments

Returns

Craft\ElementTypeVariable, null

Signature

public Craft\ElementTypeVariable, null getElementType ( $class )