git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_WebCongresos/trunk@2 94ccb1af-fd9d-d947-8d90-7f70ea60afc8
45 lines
1.4 KiB
PHP
45 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* @version 2.0.10 alpharegistration $
|
|
* @package alpharegistration
|
|
* @copyright Copyright © 2009-2010 - Bernard Gilly - All rights reserved.
|
|
* @license GNU/GPL
|
|
* @author Bernard Gilly
|
|
* @author mail contact@alphaplug.com
|
|
* @website www.alphaplug.com
|
|
*/
|
|
|
|
// no direct access
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
jimport( 'joomla.application.component.model' );
|
|
|
|
class alpharegistrationModelConfiguration extends Jmodel {
|
|
|
|
function getParams()
|
|
{
|
|
$table =& JTable::getInstance('component');
|
|
$table->loadByOption( 'com_alpharegistration' );
|
|
|
|
$params = array();
|
|
|
|
$path = JPATH_ADMINISTRATOR.DS.'components'.DS.'com_alpharegistration'.DS.'config.xml';
|
|
$params['general'] = new JParameter( $table->params, $path );
|
|
|
|
$path = JPATH_ADMINISTRATOR.DS.'components'.DS.'com_alpharegistration'.DS.'config_steps.xml';
|
|
$params['steps'] = new JParameter( $table->params, $path );
|
|
|
|
$path = JPATH_ADMINISTRATOR.DS.'components'.DS.'com_alpharegistration'.DS.'config_recaptcha.xml';
|
|
$params['recaptcha'] = new JParameter( $table->params, $path );
|
|
|
|
$path = JPATH_ADMINISTRATOR.DS.'components'.DS.'com_alpharegistration'.DS.'config_alphauserpoints.xml';
|
|
$params['alphauserpoints'] = new JParameter( $table->params, $path );
|
|
|
|
$path = JPATH_ADMINISTRATOR.DS.'components'.DS.'com_alpharegistration'.DS.'config_security.xml';
|
|
$params['security'] = new JParameter( $table->params, $path );
|
|
|
|
return $params;
|
|
}
|
|
|
|
}
|
|
?>
|