AssetSourceTypeVariable

Type
Class
Namespace
Craft
Inherits
Craft\AssetSourceTypeVariable » Craft\BaseComponentTypeVariable
Since
1.0

Asset source type template variable.

See also http://craftcms.com

View source (opens new window)

# Protected Properties

Property Description
$component Craft\BaseComponentType

# Public Methods

Method Description
__construct() Constructor
__toString() Use the component's name as its string representation.
getClassHandle() Returns the component's class handle.
getName() Returns the component's name.
getSettingsHtml() Returns the component's settings HTML.
isSelectable() Returns whether this component should be selectable when choosing a component of this type.
populateVariables() Mass-populates instances of this class with a given set of models.