Share » Forums » Extensions » ezstarrating: creating contentobject...

ezstarrating: creating contentobject with ezstarrating attribute via PHP

ezstarrating: creating contentobject with ezstarrating attribute via PHP

Wednesday 22 December 2010 11:05:29 am - 4 replies

Author Message

Carlos Revillo

Wednesday 22 December 2010 1:08:17 pm

Thing here is ezstarrating datatype has no fromString method yet. can be a enchancement...

Benjamin Kroll

Wednesday 22 December 2010 2:59:16 pm

Thanks for the reply Carlos I didn't see that (obviously didn't look very closely either). Are you aware of any plans for this to be added to the extension in the future?

Marco Rogers

Wednesday 22 December 2010 6:22:38 pm

Benjamin, check out the rating is saved in the ajax function when you click the stars. You can use this method.

https://github.com/ezsystems/ezstarrating/blob/master/packages/ezstarrating_extension/ezextension/ezstarrating/classes/ezsrserverfunctions.php#L75

Benjamin Kroll

Thursday 23 December 2010 12:30:28 pm

I was thinking of using that but was hoping to be able to do it the ez standard way.
Should be the same outcome so that's fine.
Appreciate the feedback.

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

36 542 Users on board!

Forums menu