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()
Signature
public array getAllElementTypes ( )
# getElementType()
Returns an element type.
View source (opens new window)
Arguments
$class
(string (opens new window))
Returns
Signature
public Craft\ElementTypeVariable, null getElementType ( $class )