eZ Community » Forums » Developer » Collect information with custom...
expandshrink

Collect information with custom datatypes

Collect information with custom datatypes

Monday 22 February 2010 4:37:35 pm - 1 reply

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 happy.gif Emoticon

Modified on Monday 22 February 2010 4:38:13 pm by Matthieu Sévère

Monday 22 February 2010 5:13:34 pm

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).

Modified on Monday 22 February 2010 5:15:22 pm by Matthieu Sévère

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from