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

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


Returns true on success
_load( ) : mixed
Loads published menu items from the #__menu table and returns them as an array of
stdClass objects in published order. This method uses caching; if changes are made to the
#__menu table records after this method has been called once, the changes will not be
reflected if the method is used a second time.
Returns Array of published menu items; false on failure
Appendix
[ 441 ]
JPathway
extends JObject
Handles breadcrumbs. This class is used to model the breadcrumb trail, which is used in
most templates as a way of describing a user's current position within a Joomla! site. For
more information about the breadcrumb trail refer to Chapter 9.
Properties
_count : int Number of breadcrumbs
_pathway : array Array of breadcrumbs
Methods
addItem( name : string, link : string='' ) : boolean
Adds a breadcrumb to the end of the trail.
Parameters name Name of breadcrumb
[link] Breadcrumb URI
Returns true on success
getPathWay( ) : array
Gets an array of the breadcrumbs.


Pages:
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609