Forums / Developer / New datatype: <text, image, movie>
Federico Maggi
Monday 27 March 2006 1:12:09 pm
Hi,I am going to write an extension in order to provide a new datatype for attributes, but I don't want to reinvent the wheel so I ask for suggestions.
I need a multi-field datatype (like "Author", that has "Name" and "Mail") with arbitrary cardinality (like "Author", where you can specify "Add author" and add how may authors you need).
I may want to call my new datatype
"TextWithImageAndMovie"
because an attribute of such type must be a collection of triples <text, image(file), movie(file)>. Do you have any suggestion/starting point/similar datatypes or whatever useful to get me noticed about?
Thanks
PS - If my question is not so clear, please let me know!