Pressbooks\Modules\Export\Epub\Epub201::createOEPBS PHP Метод

createOEPBS() защищенный Метод

Create OEBPS/* files.
protected createOEPBS ( array $book_contents, array $metadata )
$book_contents array
$metadata array
    protected function createOEPBS($book_contents, $metadata)
    {
        // First, setup and affect $this->stylesheet
        $this->createStylesheet();
        // Reset manifest
        $this->manifest = array();
        /* Note: order affects $this->manifest */
        // Cover
        $this->createCover($book_contents, $metadata);
        // Before Title Page
        $this->createBeforeTitle($book_contents, $metadata);
        // Title
        $this->createTitle($book_contents, $metadata);
        // Copyright
        $this->createCopyright($book_contents, $metadata);
        // Dedication and Epigraph (In that order!)
        $this->createDedicationAndEpigraph($book_contents, $metadata);
        // Front-matter
        $this->createFrontMatter($book_contents, $metadata);
        // Promo
        $this->createPromo($book_contents, $metadata);
        // Parts, Chapters
        $this->createPartsAndChapters($book_contents, $metadata);
        // Back-matter
        $this->createBackMatter($book_contents, $metadata);
        // Table of contents
        // IMPORTANT: Do this last! Uses $this->manifest to generate itself
        $this->createToc($book_contents, $metadata);
    }