Breadcrumbs are represented as stdClass objects with
two properties, name and link.
Returns Array of breadcrumbs in order of display
getPathWayNames( ) : array
Gets an array of breadcrumb names.
Returns Array of breadcrumb names in order
setItemName( id : int, name : string ) : boolean
Sets the name of a breadcrumb. id refers to the breadcrumb number; breadcrumbs are
numbered from zero.
Parameters
id Breadcrumb number
name Breadcrumb name
Returns true on success
Appendix
[ 442 ]
_makeItem( name : string, link : string ) : object
Builds a new menu item and returns it.
Parameters name Name of new breadcrumb
link Breadcrumb URI
Returns New breadcrumb object (stdClass)
JDatabase
abstract, extends JObject
Handles a database connection. There are two core subclasses (sometimes called drivers
or adapters), JDatabaseMySQL and JDatabaseMySQLi. Additional subclasses, enabling
support of other database servers, are intended to be added later. For more information
about JDatabase refer to Chapter 3.
Pages:
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610