[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- Https: //wiki.eprints.org/w/New_Features_in_EPrints_3.1#VALUE.as_string.28.29<https://wiki.eprints.org/w/New_Features_in_EPrints_3.1#VALUE.as_string.28.29>
VALUE.as_string()
This strips any EPrints MetaField type from the value and returns a
plain STRING. This is used to suppress the normal render function.
So that, for example, a value from a set field will be printed as
the database value, rather than the phrase associated with it.
Hope this helps
GF
Le 03/07/2017 ? 16:06, jens.vieler at id.uzh.ch a ?crit :
>
> Hi List
>
> read the wiki, tested a couple of combinations... can't figure it out:
>
> is there a way to get the raw db-field value of an single eprint
> inside a citation without getting the phrase?
> I want to use the language_mult field to flag out language changes
> within the latest tool, using my special citation (Probably i have to
> cut it from 3-char to 2-char... howto!?).
>
> Cheers
> Jens
> --
> Jens Vieler
> Zentrale Informatik
> Universit?t Z?rich
> Stampfenbachstrasse 73
> CH-8006 Z?rich
>
> mail: jens.vieler at id.uzh.ch
> phone: +41 44 63 56777
> http://www.id.uzh.ch
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170704/6021c8cd/attachment.html