Syntro\SilverStripeElementalBaseitems\Control\BootstrapElementController
Intermediate element controller to handle Templating to make it more in-line with the general collection.
- Author: Matthias Leutenegger <hello@syntro.ch>
Synopsis
class BootstrapElementController
extends ElementController
{
- // members
- private static string $template_root = 'Syntro\\BootstrapElemental\\';
- // methods
- public string forTemplate()
Hierarchy
Extends
- DNADesign\Elemental\Controllers\ElementController
Members
private
- $template_root
—
string
Location of Templates
Methods
public
- forTemplate() — Renders the managed {@link BaseElement} wrapped with the current {@link ElementController}.