in which PHP class are the selected languages written to the database?

10 views
Skip to first unread message

django boonman

unread,
Jan 2, 2012, 10:45:55 AM1/2/12
to Qubit Toolkit Developers
Hi guys, does anyone know if you select language(s) e.g. when creating
a new function, where in the code the actual data is written to the
database. It is stored something like a:3:{i:0;s:2:"nl";i:1;s:2:"en";i:
2;s:2:"fr";} in the database. I have trouble finding the correct spot
in the code.

Jesús García Crespo

unread,
Jan 2, 2012, 4:31:17 PM1/2/12
to qubi...@googlegroups.com
That string is the serialized representation of a PHP array containing the selected languages: "nl", "en" and "fr". You can "resurrect" the original PHP data structure using unserialize() or serialize new data using serialize().

You can find more information here:
--
Jesús García Crespo,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | +1.604.527.2056
Reply all
Reply to author
Forward
0 new messages