Saturday 19 February 2011 4:36:01 am
The eZContentFunctions (as described in http://share.ez.no/learn/ez-publish/creating-ez-publish-objects-in-php) have made it significantly easier to create and update objects. I am, however, experiencing some problems when it comes to creating and updating attributes based on the User datatype. If I've understood things correctly, data should be formated to fit the fromString method of the individual datatype, and according to the fromString method for eZUserType, data should look like this (details separated by pipe): login|email|password_hash|hash_identifier|is_enabled However, this causes no changes to the data when updating (eZContentFunctions::updateAndPublishObject) and an empty user attribute with just a user ID when creating a new object (eZContentFunctions::createAndPublishObject). Any ideas what could be wrong here?
Sincerely,
Eirik Alfstad Johansen
http://www.netmaking.no/
|