Overview

Namespaces

  • Charcoal
    • Admin
      • Widget
        • Cms
    • Cms
      • Config
      • Mixin
        • Traits
      • Route
      • Section
      • Service
        • Loader
        • Manager
      • ServiceProvider
      • Support
        • Helpers
        • Interfaces
        • Traits
    • Property

Classes

  • TemplateOptionsProperty
  • TemplateProperty
  • Overview
  • Namespace
  • Class

Class TemplateProperty

Template Selector Property

Charcoal\Property\AbstractProperty
Extended by Charcoal\Property\TemplateProperty implements Charcoal\Property\SelectablePropertyInterface uses Charcoal\Property\SelectablePropertyTrait (not available)
Namespace: Charcoal\Property
Located at Charcoal/Property/TemplateProperty.php
Methods summary
public
# setDependencies( Pimple\Container $container )

Inject dependencies from a DI Container.

Inject dependencies from a DI Container.

Parameters

$container
A dependencies container instance.
public string
# type( )

Returns

string
public string|null
# __toString( )

Retrieve the selected template's fully-qualified class name.

Retrieve the selected template's fully-qualified class name.

Returns

string|null
public string
# sqlExtra( )

Returns

string
public string
# sqlType( )

Get the SQL type (Storage format)

Get the SQL type (Storage format)

Stored as VARCHAR for maxLength under 255 and TEXT for other, longer strings

Returns

string
The SQL type
public integer
# sqlPdoType( )

Returns

integer
API documentation generated by ApiGen