Project-specific lists storage.
Note: Do not use spaces in any IDs or key names. Entity IDs are shared with other storage IDs.
getObject (id:String, index:Int):Dynamic
Returns an object by index from the project storage list.
Parameters:
id
Storage entity ID.
index
List index. Can be negative, counting from the list end.
Returns:
Anonymous object value. Returns null if the list is empty or does not exist.
Returns the length of the project storage list.
Parameters:
id
Storage entity ID.
Returns:
List length. Returns zero if the list does not exist.
Pops an object item from the end of the project storage list.
Parameters:
id
Storage entity ID.
Returns:
Anonymous object value. Returns null if the list is empty or does not exist.
Pops a string item from the end of the project storage list.
Parameters:
id
Storage entity ID.
Returns:
Value string.
pushObject (id:String, val:Dynamic):Void
Pushes a serialized object item to the start of the given project storage list.
Parameters:
id
Storage entity ID.
val
Value object. Will be serialized to JSON.
pushString (id:String, val:String):Void
Pushes a string item to the start of the given project storage list.
Parameters:
id
Storage entity ID.
val
Value string.