"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.