Forums / Developer / Using kernel classes in custom extension/datatype / Comment48679
Damien Pobel
Thursday 18 October 2007 10:51:55 am
Hi Emil,
You can use classes, functions from Exponential kernel in extensions and for most types of extension you have to do that. For example, for a custom datatype, you have to define a class which should look like :
<?php include_once( "kernel/classes/ezdatatype.php" ); class yourDatatype extends eZDatatype { } ?>
Remember to always include files from the root of your Exponential installation.
Damien Planet eZ Publish.fr : http://www.planet-ezpublish.fr Certification : http://auth.ez.no/certification/verify/372448 Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish