Source for file anchorlist.php
Documentation is available at anchorlist.php
* anchor list (<li><a href="$href">$name</a></li>) for a ChoiceList
* @author Stuart Prescott
* @copyright Copyright Stuart Prescott
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @subpackage FormsLibrary
/** Load ancillary functions */
require_once 'inc/typeinfo.php';
/** choicelist parent object */
require_once 'choicelist.php';
* anchor list (<li><a href="$href">$name</a></li>) for a ChoiceList
* @subpackage FormsLibrary
/** @var string prepended to all hrefs genereated here */
/** @var string html/css class used for the entire unordered list */
/** @var string html/css class used for each list item */
/** @var string html/css class used for each anchor */
* Create a new AnchorList
* @param string $name the name of the field (db name, and html field name
* @param string $description used in the html title of the list
* format an individual element in the list
* @param array $data the data to format using the OutputFormatter
* @return string formatted entry
$aclass =
(isset
($this->aclass) ?
" class='$this->aclass'" :
'');
* @return string formatted list
foreach ($this->list->choicelist as $v) {
#$t .= print_r($v, true);
Documentation generated on Tue, 06 Mar 2007 10:00:31 +0000 by phpDocumentor 1.3.0