On Feb 10, 2016, at 12:52 PM, John Flatness <jo...@zerocrates.org> wrote:
If by "values" you're talking about Element Text data (values for Dublin Core elements and so on) then pretty much all the methods for directly editing that stuff are in Mixin_ElementText (http://omeka.readthedocs.org/en/latest/Reference/models/Mixin/ElementText.html).
I'll see about fixing that docs page.
HI,i am trying to manipulate the values of an item before it is saved or updated.while i see that there are some record object properties that allow me to retrieve the values of the various fields, i don’t immediately see any way to change the values of any of the fields.I’m sure i’m missing something…
BTW there is a mistake in the relevant page in the docs: http://omeka.readthedocs.org/en/latest/Reference/hooks/before_save_record.html[omeka.readthedocs.org]
it say "Since this hook fires after the record is saved, “ i’m pretty sure it should be "Since this hook fires before the record is saved, "Any help wold be appreciated.Thanks.Marco
--
You received this message because you are subscribed to the Google Groups "Omeka Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omeka-dev+...@googlegroups.com.
To post to this group, send email to omek...@googlegroups.com.
Visit this group at https://groups.google.com/group/omeka-dev[groups.google.com].
For more options, visit https://groups.google.com/d/optout[groups.google.com].
Visit this group at https://groups.google.com/group/omeka-dev.
For more options, visit https://groups.google.com/d/optout.