*Title: Foreign key definitions *Incentive: Make it possible to create automated data integrity checks, and automatic data migration. By knowing the foreign key relations, automatic key translation will be possible across installations. *Documentation: For PHP classes extending eZPersistentObject, they must add to the definition() function, a few lines describing which fields are foreign keys. - foreign_class, foreign class name - foreign_attribute, foreign class key/field name - multiplicity, describes the number of relations with the foreign class/key *Example: In function definition(): ... 'foreign_class' => 'eZOrder', 'foreign_attribute' => 'id', 'multiplicity' => '1..*'
Foreign key definitions
Make it possible to create automated data integrity checks, and automatic data migration. By knowing the foreign key relations, automatic key translation will be possible across installations.
Address: https://doc.exponential.earth/exphelp/viewer/features/3.9/foreign_key_definitions.txt
Documentation license
This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.
Copyright (C) 1999 - 2014 eZ Systems AS and contributors