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 570 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

For more information about JParameter refer to the Parameters (Core
JElements) section in this Appendix.
Properties
_elementPath : array Array of paths in which to find JElement subclasses (not
restricted to groups)
_elements : array Associative array of JElement objects (not restricted to groups)
_raw : string INI string
_xml : array Associative array of JSimpleXMLElement objects that define
parameters (one object per group)
Constructors
__construct( data : string, path : string='' ) : JParameter
Builds a new JParameter object and loads data and, if specified, the XML file.
Parameters data INI string
[path] Path to XML file
Appendix
[ 420 ]
Methods
addElemenrPath( path : mixed ) : void
Adds a path, or array of paths, to search for JElement subclass files.
Parameters path Path or array of paths
bind( data : mixed, group : string=' _default' ) : boolean
Binds data with parameters in the specified group. data can be an associative array, an
object, or an INI string.
Parameters data Data to bind
[group] Parameter group
Returns true on success
def( key : string, value : string='', group : string= '_default' ) : string
If the parameter is not defined, sets the value of the parameter in the specified group.


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