SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 571 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


Parameters key Parameter to get
[value] Value if not defined
[group] Parameter group
Returns Up-to-date value of the parameter
get( key : string, default : string='', group : string='_default' ) : string
Gets the value of a parameter in the specified group. Returns the default value if the
parameter is not set.
Parameters key Parameter to retrieve
[default] Default value to return
[group] Parameter group
Returns Value of the parameter
getGroups( ) : mixed
Gets an associative array of the group names and the number of parameters in each,
defined by the corresponding JSimpleXMLElement object. Groups that do not have a
JSimpleXMLElement object will not be included.
Returns
Associative array of group names and number of parameters in each.
Returns false if no XML has been successfully loaded.
Appendix
[ 421 ]
getNumParams( group : string=' _default' ) : mixed
Gets the number of parameters defined by the associated JSimpleXMLElement object, in the
specified group.
Parameters [group] Parameter group
Returns Number of parameters; false if no JSimpleXMLElement object exists
getParam( &node : JSimpleXMLElement, control_name :
string='params', group : string=' _default' ) : mixed
Gets an array of parameter details from a group.


Pages:
559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583