StringTemplate
- Type
- Class
- Namespace
- Craft
- Inherits
- Craft\StringTemplate
- Since
- 1.0
Class StringTemplate
See also http://craftcms.com
View source (opens new window)
# Public Properties
| Property | Description |
|---|---|
| $cacheKey | null (opens new window), string (opens new window) |
| $template | null (opens new window), string (opens new window) |
# $cacheKey
Signature
public null, string $cacheKey = null
# $template
Signature
public null, string $template = null
# Public Methods
| Method | Description |
|---|---|
| __construct() | Constructor |
| __toString() | Use the cache key as the string representation. |
# __construct()
Constructor
View source (opens new window)
Arguments
$cacheKey(string (opens new window))$template(string (opens new window))
Returns
Signature
public Craft\StringTemplate __construct ( $cacheKey = null, $template = null )
# __toString()
Signature
public string __toString ( )