BackingStory
This document is about how to set up and use the BackingStory object.
Table of contents
First steps
Every IDML file needs a Backingstory. Create one and set it to the Content object:
<?php
use IDML\Content\BackingStory;
$content->setBackingStory(
new BackingStory()
);
Because there aren't any settings possible, you don't even have to initialize the Backingstory in a variable. IDML-Creator will do the rest.
Since IDML-Creator version 4.0
, you can use the Factory to create and register the BackingStory:
$factory->createBackingStory();