Forums / Developer / Collect information with custom datatypes

Collect information with custom datatypes

Author Message

Matthieu Sévère

Monday 22 February 2010 7:37:35 am

Hello !

I have developed a custom datatype but I can't get him collect information.

I have implemented the following methods (related to colleciton):

isInformationCollector();
fetchCollectionAttributeHTTPInput();

But when I go to "collected information" in the BO I see every datatype but mine ...

Note : I have implemented collect & result templates and I checked in the database and data of my datatype is not in the infocollector_attribute table.

Any one knows wich method do I need to implement to get this working ?

Thank you :)

--
eZ certified developer: http://ez.no/certification/verify/346216

Matthieu Sévère

Monday 22 February 2010 8:13:34 am

Ok, I just found the answer the method "fetchCollectionAttributeHTTPInput()" HAS to return true (or false) because that's the value returned by $attribute->collectInformation()

To conclude the two methods above are the only one needed (but both are needed).

--
eZ certified developer: http://ez.no/certification/verify/346216