| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. |
| License: | GNU/GPL, see LICENSE.php |
| Version: | $Id: pathway.php 14997 2010-02-22 23:27:02Z ian $ |
| File Size: | 218 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
JPathway:: (8 methods):
__construct()
getInstance()
getPathway()
setPathway()
getPathwayNames()
addItem()
setItemName()
_makeItem()
| __construct($options = array() X-Ref |
| Class constructor |
| getInstance($client, $options = array() X-Ref |
| Returns a reference a JPathway object This method must be invoked as: <pre> $menu = &JPathway::getInstance();</pre> param: string $client The name of the client param: array $options An associative array of options return: JPathway A pathway object. |
| getPathway() X-Ref |
| Return the JPathWay items array return: array Array of pathway items |
| setPathway($pathway) X-Ref |
| Set the JPathway items array. param: array $pathway An array of pathway objects. return: array The previous pathway data. |
| getPathwayNames() X-Ref |
| Create and return an array of the pathway names. return: array Array of names of pathway items |
| addItem($name, $link='') X-Ref |
| Create and add an item to the pathway. param: string $name param: string $link return: boolean True on success |
| setItemName($id, $name) X-Ref |
| Set item name. param: integer $id param: string $name return: boolean True on success |
| _makeItem($name, $link) X-Ref |
| Create and return a new pathway object. param: string $name Name of the item param: string $link Link to the item return: object Pathway item object |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |