示例#1
0
<?php

defined('_JEXEC') or die('Direct Access to this location is not allowed.');
// Register with the Plugin Manager
$tmp = new Joomap_content();
JoomapPlugins::addPlugin($tmp);
/**
 * A Plugin to show standard Joomla content in the Joomap Sitemap.
 *
 * @package Plugins
 * @author Daniel Grothe
 * @version $Id: content.plugin.php 12 2008-08-17 20:51:27Z koders.de $
 */
class Joomap_content
{
    /**
     * Keeps the reference of the calling Joomap instance.
     * @var Joomap
     */
    var $joomap;
    /**
     * Keeps the reference of the currenty processed Menu-Item.
     *
     * @var stdClass
     */
    var $menuEntry;
    /**
     * Checks wether this Plugin is able to handle the passed Menu-Item. 
     *
     * @param Joomap $joomap
     * @param Object $menuItem