FUEL/0.2/API: Difference between revisions

From MozillaWiki
< FUEL‎ | 0.2
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
< [[FUEL/0.2]]
__NOTOC__
__NOTOC__
=== <code>Application</code> ===
=== <code>Application</code> ===

Revision as of 23:25, 9 January 2007

< FUEL/0.2

Application

Properties:

  • storage is a SessionStorage

Methods:

  • hasStore( String ) returns a Boolean
  • getStore( String ) returns an String
  • setStore( String, String )

Extension( String )

Properties:

  • storage is a SessionStorage

Methods:

  • hasStore( String ) returns a Boolean
  • getStore( String ) returns an String
  • setStore( String, String )

SessionStorage

Methods:

  • has( String ) returns a Boolean
  • get( String ) returns an String
  • set( String, String )

Bookmarks

Methods:

  • find( Object ) returns Array<Bookmark>
  • add( Bookmark )
  • remove( Bookmark )

Bookmark( Object )

Properties:

  • title is a String (Getter/Setter)
  • url is a String (Getter/Setter)
  • desc is a String (Getter/Setter)
  • parent is a Bookmark (Getter/Setter)
  • type is a String (container|folder|livemark|bookmark) (Getter/Setter)

Methods:

  • find( Object ) returns Array<Bookmark>

Database( String )

Methods:

  • prepare( String ) returns a DatabaseQuery

DatabaseQuery

Methods:

  • execute( Object, ..., ObjectN )
  • hasNext() returns a Boolean
  • next() returns an Object