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

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


Appendix
[ 418 ]
Properties
_name : string Element name
_parent : object Parent object that created the instance
Constructors
__construct( parent : object=null ) : JElement
Builds a new JElement object and sets the parent object.
Parameters [parent] Parent object
Methods
fetchElement( name : string, value : string, &xmlElement :
JSimpleXMLElement, control_name : string ) : string
Gets the rendered element. This method must be overridden in subclasses. For example,
the output could be:
value="value" class="text_area" size="20" />
Parameters name Name and ID suffix
value Value
xmlElement JSimpleXMLElement element definition
control_name Name and ID prefix
Returns Rendered element
fetchTooltip( label : string, description : string, &xmlElement :
JSimpleXMLElement, control_name : string='', name : string='' ) :
string
Gets a tooltip, encapsulated in HTML label tags.
Parameters label Content and title
description Title suffix
xmlElement JSimpleXMLElement element definition
[control_name] ID prefix
[name] ID suffix
Returns HTML tooltip
Appendix
[ 419 ]
getName( ) : string
Gets the name of the element.


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