/** * @param $a_parent_obj * @param string $a_parent_cmd */ public function __construct($a_parent_obj, $a_parent_cmd) { /** * @var $ilCtrl ilCtrl */ global $ilCtrl; $this->ctrl = $ilCtrl; $this->setId('xavc_participants'); $this->setDefaultOrderDirection('ASC'); $this->setDefaultOrderField(''); $this->setExternalSorting(false); $this->setExternalSegmentation(false); parent::__construct($a_parent_obj, $a_parent_cmd); $this->setEnableNumInfo(true); $this->setTitle($a_parent_obj->pluginObj->txt("participants")); $this->addColumns(); $this->addCommandButtons(); $this->addMultiCommands(); $this->setSelectAllCheckbox('usr_id[]'); $this->setShowRowsSelector(true); $this->setFormAction($ilCtrl->getFormAction($a_parent_obj)); $this->setRowTemplate($a_parent_obj->pluginObj->getDirectory() . '/templates/default/tpl.xavc_active_user_row.html'); }
/** * @param $a_parent_obj * @param string $a_parent_cmd */ public function __construct($a_parent_obj, $a_parent_cmd) { /** * @var $ilCtrl ilCtrl */ global $ilCtrl, $tpl; $this->ctrl = $ilCtrl; $tpl->addJavascript("./Customizing/global/plugins/Services/Repository/RepositoryObject/AdobeConnect/templates/js/plugin.js"); $this->setId('xavc_participants'); $this->setDefaultOrderDirection('ASC'); $this->setDefaultOrderField(''); $this->setExternalSorting(false); $this->setExternalSegmentation(false); $this->pluginObj = ilPlugin::getPluginObject('Services', 'Repository', 'robj', 'AdobeConnect'); parent::__construct($a_parent_obj, $a_parent_cmd); $this->setEnableNumInfo(true); $this->setTitle($a_parent_obj->pluginObj->txt("participants")); $this->addColumns(); $this->addMultiCommands(); $this->setSelectAllCheckbox('usr_id[]'); $this->setShowRowsSelector(true); $this->setFormAction($ilCtrl->getFormAction($a_parent_obj)); $this->setRowTemplate($a_parent_obj->pluginObj->getDirectory() . '/templates/default/tpl.xavc_active_user_row.html'); }