YUI recommends YUI3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

This documentation is no longer maintained.

Yahoo! UI Library

Storage  2.9.0

Yahoo! UI Library > Storage > YAHOO.util.StorageEngineKeyed
Search:
 
Filters

Class YAHOO.util.StorageEngineKeyed

The StorageEngineKeyed class implements the interface necessary for managing keys.

Constructor

YAHOO.util.StorageEngineKeyed ( )

Properties

_keyMap - protected {Object}

A map of keys to their applicable position in keys array. This should never be edited by the developer.

_keys - protected {Array}

A collection of keys applicable to the current location. This should never be edited by the developer.

Methods

_addKey

protected void _addKey ( sKey )
Adds the key to the set.
Parameters:
sKey <String> Required. The key to evaluate.

_indexOfKey

protected void _indexOfKey ( sKey )
Evaluates if a key exists in the keys array; indexOf does not work in all flavors of IE.
Parameters:
sKey <String> Required. The key to evaluate.

_removeItem

protected void _removeItem ( sKey )
Removes a key from the keys array.
Parameters:
sKey <String> Required. The key to remove.


Copyright © 2011 Yahoo! Inc. All rights reserved.