nsIFormHistory

IID:48E227EC-1897-418f-A40B-C15EA18BBC4A
Inherits From:nsISupports
Status:This interface has been removed from newer versions

Properties

readonly PRUint32 rowCount

The total number of rows in the form history.


Methods

void addEntry ( AString name , AString value ) PRBool entryExists ( AString name , AString value ) void getEntryAt ( PRUint32 index , out AString name , out AString value ) void getNameAt ( PRUint32 index , out AString name ) void getValueAt ( PRUint32 index , out AString value ) void removeAllEntries ( ) void removeEntriesForName ( AString name ) void removeEntryAt ( PRUint32 index )

void addEntry ( AString name , AString value )

Appends a name and value pair to the end of the form history.

Arguments:
name
value

PRBool entryExists ( AString name , AString value )

Gets whether a name and value pair exists in the form history.

Arguments:
name
value

void getEntryAt ( PRUint32 index , out AString name , out AString value )

Gets the name and value at a position in the form history.

Arguments:
index
name
value

void getNameAt ( PRUint32 index , out AString name )

Gets just the name at a position in the form history.

Arguments:
index
name

void getValueAt ( PRUint32 index , out AString value )

Gets just the value at a position in the form history.

Arguments:
index
value

void removeAllEntries ( )

Removes all entries in the entire form history.


void removeEntriesForName ( AString name )

Removes all entries that are paired with a name.

Arguments:
name

void removeEntryAt ( PRUint32 index )

Removes the entry at a position.

Arguments:
index

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com