| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/news/components/com_jfusion/plugins/joomla_int/ |
Upload File : |
<?php
/**
*
* PHP version 5
*
* @category JFusion
* @package JFusionPlugins
* @subpackage JoomlaInt
* @author JFusion Team <webmaster@jfusion.org>
* @copyright 2008 JFusion. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.jfusion.org
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
/**
* load the common Joomla JFusion plugin functions
*/
require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_jfusion' . DS . 'models' . DS . 'model.jplugin.php';
/**
* JFusion Public Class for the internal Joomla database
* For detailed descriptions on these functions please check the model.abstractapublic.php
*
* @category JFusion
* @package JFusionPlugins
* @subpackage JoomlaInt
* @author JFusion Team <webmaster@jfusion.org>
* @copyright 2008 JFusion. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.jfusion.org
*/
class JFusionPublic_joomla_int extends JFusionPublic {
/**
* returns the name of this JFusion plugin
* @return string name of current JFusion plugin
*/
function getJname()
{
return 'joomla_int';
}
/**
* @return string
*/
function getRegistrationURL() {
return JFusionJplugin::getRegistrationURL();
}
/**
* @return string
*/
function getLostPasswordURL() {
return JFusionJplugin::getLostPasswordURL();
}
/**
* @return string
*/
function getLostUsernameURL() {
return JFusionJplugin::getLostUsernameURL();
}
/**
* @param int $limit
*
* @return string
*/
function getOnlineUserQuery($limit) {
return JFusionJplugin::getOnlineUserQuery($limit);
}
/**
* @return int
*/
function getNumberOnlineGuests() {
return JFusionJplugin::getNumberOnlineGuests();
}
/**
* @return int
*/
function getNumberOnlineMembers() {
return JFusionJplugin::getNumberOnlineMembers();
}
/**
* Update the language front end param in the account of the user if this one changes it
* NORMALLY THE LANGUAGE SELECTION AND CHANGEMENT FOR JOOMLA IS PROVIDED BY THIRD PARTY LIKE JOOMFISH
*
* @TODO - to implement after the release 1.1.2
*
* @param object $userinfo
* @return array status
*/
function setLanguageFrontEnd($userinfo) {
return JFusionJplugin::setLanguageFrontEnd($this->getJname(),$userinfo);
}
}