Share » Forums » Developer » How to create a new data type whit 4...

How to create a new data type whit 4 attribute

How to create a new data type whit 4 attribute

Tuesday 04 September 2007 4:24:33 am - 1 reply

Author Message

Olivier Ouin

Tuesday 04 September 2007 11:32:04 am

What your are trying to do sounds a bit strange to me ...

You have "began" to write a datatype, but your needs description sounds like you should simply create a custom class with the given datatypes.

Are you sure that creating a new datatype is really what you need ?

If it's the case, you have know that the RAD that provided you the php code that you have posted below just have write the minimal structure of your new datatype.
You'll have to implement at least these methods to have it begin to work, but there is (a lot) more to overload from the eZDataType class (see /kernel/classes/ezdatatype.php and read all comments in it).

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu