This project is archived and is in readonly mode.

#335 ✓resolved

Element Method: retrieve, documentation

Reported by chessmani | August 26th, 2008 @ 05:09 AM | in 2.0 (closed)

In the documentation it is not mentioned that retrieve can take a second argument as a default value to store. Quoting from>

Element:retrieve actually accepts an optional second parameter which will act as the default value to store if another value doesn't previously exist. It will then retrieve the value as expected.

Comments and changes to this ticket

  • Jan Kassens

    Jan Kassens August 26th, 2008 @ 09:40 AM

    • State changed from “new” to “resolved”
    • Assigned user changed from “Valerio” to “Jan Kassens”
    • Tag changed from 1.2, docs, element, website to 1.2, docs, element

    Thanks for the report, I've added it.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket