Ejemplo n.º 1
0
 * @package       EasyCreator
 * @subpackage    Help
 * @author        Nikolai Plath (elkuku)
 * @author        Created on 15-Jul-2009
 * @license       GNU/GPL, see JROOT/LICENSE.php
 */
//-- No direct access
defined('_JEXEC') || die('=;)');
$input = JFactory::getApplication()->input;
$pathHelp = JPATH_COMPONENT . DS . 'helpers' . DS . 'jclasslists';
$fName = 'jclasslist_' . str_replace('.', '_', JVERSION);
//-- Add javascript
ecrScript('jhelp', 'php2js');
if (false == JFile::exists($pathHelp . DS . $fName . '.php')) {
    //-- Class list not found
    EcrHtmlButton::createClassList();
    echo '<div id="jsonDebug"></div>';
    return;
}
JLoader::import($fName, $pathHelp);
JHTML::_('behavior.tooltip');
$out_format = $input->get('out_format', 'source');
if ($out_format == '') {
    $out_format = 'source';
}
$className = $input->get('className');
$methodName = $input->get('methodName');
$packageName = $input->get('packageName');
$formats = array(array('Source', 'source', 'source', 'local'), array('api.joomla.org', 'api.joomla.org/Joomla-Platform/[package]/[class].html#[method]', 'api', 'remote'), array('docs.joomla.org', 'docs.joomla.org/[class]/[method]', 'docs', 'remote'), array('wiki.joomla-nafu.de', 'wiki.joomla-nafu.de/joomla-dokumentation/Joomla!_Programmierung/Framework/[class]/[method]', 'nafu', 'remote'), array('Google', 'google.com/search?q=joomla!+framework+[class]+[method]', 'googlecom', 'remote'));
$local_api_copy = JComponentHelper::getParams('com_easycreator')->get('local_api_copy');
if ($local_api_copy) {