Exponential 6.0.13 Exponential Enterprise Open Source CMS - PHP Class Reference

eZKernel Namespace Reference

## Detailed Description

Allows for object persistence in a database

Classes which stores simple types in databases should inherit from this and implement the definition() function. The class will then get initialization, fetching, listing, moving, storing and deleting for free as well as attribute access. The new class must have a constructor which takes one parameter called $row and pass that this constructor.

`class MyClass extends eZPersistentObject { public function __construct( $row ) { parent::__construct( $row ); } }`

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