The XML parameter keys must not
contain periods. If the namespace is not specified, the default namespace will be used.
Parameters data XML string
[namespace] Namespace to load the XML into
Returns true
makeNameSpace( namespace : string ) : boolean
Creates a new namespace in the registry. If the namespace already exists, it will
be overwritten.
Parameters namespace Namespace to create
Returns true
merge( &source : JRegistry ) : boolean
Merges the registry data with source registry data. The source values take precedence
over existing values.
Parameters source JRegistry to merge from
Returns true on success
setValue( regpath : string, value : mixed ) : mixed
Sets a value in the registry. The regpath can include multiple levels separated by periods.
If the path includes no periods, the value will be set in the default namespace. If the
regpath does not exist, it will be created.
Parameters regpath Path to value
value Value
Returns Previous value
toArray( namespace : string=null ) : array
Gets an associative array representation of the registry namespace.
Pages:
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600