Содержание

getStorageItem

Gets from the storage on the specified address an element which is correspond to specified key and ID.

Syntax

getStorageItem = function(aStorageURL, aStorageKey,
  aCryptoKey, aItemID, aStoragePass);

Parameters

Returned value

Notes

Examples

  1. //Get a random element from the storage
    var item = getStorageItem('http://mysite.ru/storage.php','requests','mycrypto');   
    //If the ID of the element is greater than zero, then send it's string to the log.
    if (item.itemID > 0){
      log(item.data);
    }