Spread

This document is about how to set up and use a Spread object.

Table of contents

First steps

Set up a Spread object and add it to the Content object like that:

<?php 

use IDML\Content\Spread\Spread;

$spread = new Spread();

$content->addSpread($spread);

If you want to set your own unique identifier, set up the Spread like that: new Spread('UniqueName');

Every Spread can hold multiple pages.