Re: dynamicdata getitems function

[email protected] (mikespub) Mon, 08 Sep 2003 17:25:55 GMT
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization not much
Message-ID <[email protected]>
In article <mailman.251.1063040175.9998.xaraya_knowledge-base-n5IRV0TL0hwRxVAL8JNkPw@public.gmane.org>, Xaraya Knowledge Base <[email protected]> wrote:
>I am not sure anyone else is experiencing this problem but I just cloned the
>latest bk and I am still experiencing this problem. From dynamicdata view
>the following error is generated after adding a hook field to the sample
>module. 
>"Fatal error: Call to undefined function: getitems() in
>/home/frontierman/public_html/x1/modules/dynamicdata/class/objects.php on
>line 1085". The display function for dynamicdata does not have the same
>problem. It will show the new "hook" field. It appears  the "getitem"
>function is working with hooks while the "getitem(s)" function appears to be
>experiencing a problem with hooks. Any thoughts. 
>
>Paul

Ah - you're trying to use the "hook module" data source ? That would
explain it - that data store doesn't have a getItems() function, or a create-,
update- or deleteItem function either. In short, that data store is still very
experimental and should not be used for anything other than tests.

I do intend to continue working on linking "hooked content" via DD, but
the exact mechanism and format is still under investigation I'm afraid.

The only fully functional data sources are dynamic_data and the table
fields - the rest only works in a very limited way.

And the same applies for the property types that correspond to a 
particular hook (categories, hitcount, ratings, comments) - those will
not work outside a limited test environment yet. The other property types
-and the one for the Upload hook- should work fine though...

Sorry for the confusion,

Mike.