eNTiDi\Autotoc\Autotoc
Synopsis
class Autotoc
extends DataExtension
{
- // members
- private static $augment_callback;
- protected static $tocifiers;
- // methods
- public void __construct()
- private static void convertNode()
- private static void convertChildren()
- private string contentField()
- public void setOwner()
- private static Tocifier|false|null getTocifier()
- public void clearAutotoc()
- public ArrayData|null getAutotoc()
- public string getOriginalContentField()
- public string getContentField()
- public string getBodyAutotoc()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $augment_callback
protected
- $tocifiers
Methods
private
- contentField() — Get the field name to be used as content.
- convertChildren()
- convertNode()
- getTocifier() — Return the internal Tocifier instance bound to $owner.
public
- __construct() — Initialize the Autotoc extension.
- clearAutotoc() — Clear the internal Autotoc cache.
- getAutotoc() — Get the automatically generated table of contents.
- getBodyAutotoc() — I don't remember what the hell is this...
- getContentField() — Get the augmented content field.
- getOriginalContentField() — Get the non-augmented content field.
- setOwner() — Provide content_field customization on a class basis.