Cecil

Taxonomy extends AbstractGenerator implements GeneratorInterface

Taxonomy generator class.

This class generates pages for taxonomies (vocabularies and terms) based on the configuration and the taxonomies defined in the builder. It creates pages for each term in a vocabulary, as well as a page for the vocabulary itself. The generated pages are added to the collection of generated pages, and they include variables such as title, date, language, plural, and singular forms of the vocabulary.

Table of Contents

Interfaces

GeneratorInterface
Generator interface.

Properties

$builder  : Builder
$config  : Config
$generatedPages  : Collection

Methods

__construct()  : mixed
Gives the Builder to the object.
generate()  : void
Creates pages and adds it to collection.
runGenerate()  : Collection
Run the `generate` method of the generator and returns pages.

Properties

Methods

generate()

Creates pages and adds it to collection.

public generate() : void
 
On this page

Search results