Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

Public Member Functions | Public Attributes | List of all members
eZSimpleGenerator Class Reference

## Public Member Functions
| __construct (&$contents)
& | generateXML ()
| pageCount ()

## Public Attributes
| $Contents

## Detailed Description

! eZArticle eZSimpleGenerator generates XML contents for articles.

This class will generate a simple XML article. This class is ment as an example of how to write your own special generator.

Definition at line 37 of file ezsimplegenerator.php.

## Constructor & Destructor Documentation

## ◆ __construct()

eZSimpleGenerator::__construct | ( | & | $contents | ) |

Creates a new eZSimpleGenerator object.

Definition at line 42 of file ezsimplegenerator.php.

References $contents.

## Member Function Documentation

## ◆ generateXML()

& eZSimpleGenerator::generateXML | ( |  | ) |

Generates valid XML data to use for storage.

Definition at line 50 of file ezsimplegenerator.php.

## ◆ pageCount()

eZSimpleGenerator::pageCount | ( |  | ) |

Returns the page count.

Definition at line 70 of file ezsimplegenerator.php.

## Member Data Documentation

## ◆ $Contents

eZSimpleGenerator::$Contents

Definition at line 75 of file ezsimplegenerator.php.

The documentation for this class was generated from the following file:

- ezsimplegenerator.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.