function fetchElement($name, $value, &$node, $control_name)
 {
     $extensions = BigbluebuttonHelper::getExtensions();
     $options = array();
     foreach ($extensions as $extension) {
         $option = new stdClass();
         $option->text = JText::_(ucfirst((string) $extension->name));
         $option->value = (string) $extension->name;
         $options[] = $option;
     }
     return JHTML::_('select.genericlist', $options, '' . $control_name . '[' . $name . ']', 'class="inputbox"', 'value', 'text', $value, $control_name . $name);
 }
 public function getMeeting($id = 1, $username = null, $password = null)
 {
     $input = JFactory::getApplication()->input;
     $id = $input->get('meetingID');
     $username = $input->get('username');
     $password = $input->get('password');
     $bbb = new BigbluebuttonHelper();
     $get = $bbb->meeting($id, $username, $password);
     $final = array();
     if (preg_match("/meetingID/", $get)) {
         $data['status'] = "yes";
         $data['url'] = $get;
         array_push($final, $data);
     } else {
         $data['status'] = "no";
         $data['message'] = $get;
         array_push($final, $data);
     }
     header('Content-Type: application/json');
     echo json_encode($final);
     jexit();
 }
 /**
  * Method to get a list of options for a list input.
  *
  * @return	array		An array of JHtml options.
  */
 protected function getOptions()
 {
     $class = ($v = $this->element['class']) ? 'class="' . $v . '"' : 'class="inputbox"';
     $extensions = BigbluebuttonHelper::getExtensions();
     $options = array();
     foreach ($extensions as $extension) {
         $listview = is_object($extension->listview) ? $extension->listview->__toString() : $extension->listview;
         $name = is_object($extension->name) ? $extension->name->__toString() : $extension->name;
         $option = new stdClass();
         $option->text = JText::_(ucfirst($listview));
         $option->value = 'com_bigbluebutton.' . $name;
         $options[] = $option;
     }
     $options = array_merge(parent::getOptions(), $options);
     return $options;
 }
<?php

/**
* @version		$Id:default_25.php 1 2015-03-05 16:31:34Z Jibon $
* @copyright	Copyright (C) 2015, Jibon Lawrence Costa. All rights reserved.
* @license 		http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
JFactory::getDocument()->addStyleSheet(JURI::base() . '/components/com_bigbluebutton/assets/lists-j25.css');
$user = JFactory::getUser();
$userId = $user->get('id');
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
require_once JPATH_ROOT . '/administrator/components/com_bigbluebutton/helpers/bigbluebutton.php';
$bbb = new BigbluebuttonHelper();
$params = JComponentHelper::getParams('com_bigbluebutton');
if ($params->get('salt') == "" || $params->get('url') == "") {
    echo '<div class="alert alert-danger"><p class="bg-danger" style="color: red;">Please add server url & salt. You can add those information by click on "Options" button.</p></div>';
}
?>
<form action="index.php?option=com_bigbluebutton&amp;view=meeting" method="post" name="adminForm" id="adminForm">
	<table>
		<tr>
			<td align="left" width="100%">
				<div id="filter-bar" class="btn-toolbar">
					<div class="filter-search btn-group pull-left">
						<label class="element-invisible" for="filter_search"><?php 
echo JText::_('Filter');
?>
:</label>
 public function getRecordingsUrl($meetingId = null)
 {
     $input = JFactory::getApplication()->input;
     $recordId = $input->get('meetingId');
     $bbb = new BigbluebuttonHelper();
     $bbb->getRecordingsUrl($meetingId);
 }
 /**
  * Returns the options for extensions list
  * 
  * @param string $ext - the extension
  */
 public static function extensions($ext)
 {
     $extensions = BigbluebuttonHelper::getExtensions();
     $options = array();
     foreach ($extensions as $extension) {
         $option = new stdClass();
         $option->text = JText::_(ucfirst($extension->name));
         $option->value = 'com_bigbluebutton.' . $extension->name;
         $options[] = $option;
     }
     return JHtml::_('select.options', $options, 'value', 'text', $ext, true);
 }
 <?php 
/**
* @version		$Id:default.php 1 2015-03-05 16:31:34Z Jibon $
* @copyright	Copyright (C) 2015, Jibon Lawrence Costa. All rights reserved.
* @license 		http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
JHtml::_('bootstrap.tooltip');
JHtml::_('behavior.multiselect');
JHtml::_('dropdown.init');
JHtml::_('formbehavior.chosen', 'select');
require_once JPATH_ROOT . '/administrator/components/com_bigbluebutton/helpers/bigbluebutton.php';
$bbb = new BigbluebuttonHelper();
$user = JFactory::getUser();
$userId = $user->get('id');
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
$archived = $this->state->get('filter.published') == 2 ? true : false;
$trashed = $this->state->get('filter.published') == -2 ? true : false;
$params = isset($this->state->params) ? $this->state->params : new JObject();
$saveOrder = $listOrder == 'ordering';
if ($saveOrder) {
    $saveOrderingUrl = 'index.php?option=com_bigbluebutton&task=meetings.saveOrderAjax&tmpl=component';
    JHtml::_('sortablelist.sortable', 'articleList', 'adminForm', strtolower($listDirn), $saveOrderingUrl);
}
$sortFields = $this->getSortFields();
?>

<script type="text/javascript">
	Joomla.orderTable = function()