Javascript ConfigSection

From Yate Documentation
Revision as of 11:54, 1 April 2014 by Paulc (talk | contribs) (Created page with "Configuration File Section handling object. ==Methods== * '''configFile()''' Returns the ConfigFile object holding this section. * '''getValue(key)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Configuration File Section handling object.

Methods

  • configFile()

Returns the ConfigFile object holding this section.

  • getValue(key)

Retrieves the value of key in this section. Returns undefined if the key or section does not exist.

  • getValue(key,defValue)

Retrieves the value of key in this section. Returns defValur if the key or section does not exist.

  • setValue(key,value)

Sets the value for key in this file section.

  • clearKey(key)

Deletes the key from this file section.

  • keys()

Returns a numbered (non-associative) Array containing all the key names in this section.