Helma logo
helma.org » Home > Stories > HopObject.invalidate()

HopObject.invalidate()

Marks a HopObject as invalid so that it is fetched again from the database.

Syntax
HopObject.invalidate()

Helma will overwrite the HopObject's node cache with the database contents the next time the HopObject is accessed.

In other words, use this function to kick out an HopObject of Helma's node cache and force a database retrieval of the HopObject data.

Example
var obj = this.get(0);
obj.invalidate();


... comment


Page last modified on 2002-07-16 13:38 by tobi