ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilUserFilterGUI Class Reference
+ Collaboration diagram for ilUserFilterGUI:

Public Member Functions

 ilUserFilterGUI ($a_usr_id)
executeCommand ()
 execute command
 getUserId ()
 getHTML ()
 refresh ()
 __initFilter ()

Data Fields

 $usr_id = null
 $tpl = null
 $lng = null
 $ctrl = null

Detailed Description

Definition at line 43 of file class.ilUserFilterGUI.php.

Member Function Documentation

ilUserFilterGUI::__initFilter ( )

Definition at line 118 of file class.ilUserFilterGUI.php.

Referenced by ilUserFilterGUI().

{
global $ilUser;
$this->filter = new ilUserFilter($ilUser->getId());
return true;
}

+ Here is the caller graph for this function:

& ilUserFilterGUI::executeCommand ( )

execute command

Definition at line 65 of file class.ilUserFilterGUI.php.

References $cmd.

{
switch($this->ctrl->getNextClass())
{
default:
$cmd = $this->ctrl->getCmd() ? $this->ctrl->getCmd() : 'show';
$this->$cmd();
}
return true;
}
ilUserFilterGUI::getHTML ( )

Definition at line 84 of file class.ilUserFilterGUI.php.

References $tpl, and ilUtil\prepareFormOutput().

{
global $ilObjDataCache;
$tpl = new ilTemplate('tpl.search_user_filter.html',true,true,'Services/Search');
$tpl->setVariable("FILTER_ACTION",$this->ctrl->getFormAction($this));
$tpl->setVariable("TBL_TITLE",$this->lng->txt('trac_lp_filter'));
$tpl->setVariable("TXT_LOGIN",$this->lng->txt('login'));
$tpl->setVariable("TXT_FIRSTNAME",$this->lng->txt('firstname'));
$tpl->setVariable("TXT_LASTNAME",$this->lng->txt('lastname'));
$tpl->setVariable("BTN_REFRESH",$this->lng->txt('trac_refresh'));
$tpl->setVariable("QUERY",ilUtil::prepareFormOutput($this->filter->getQueryString('login')));
$tpl->setVariable("FIRSTNAME",ilUtil::prepareFormOutput($this->filter->getQueryString('firstname')));
$tpl->setVariable("LASTNAME",ilUtil::prepareFormOutput($this->filter->getQueryString('lastname')));
return $tpl->get();
}

+ Here is the call graph for this function:

ilUserFilterGUI::getUserId ( )

Definition at line 78 of file class.ilUserFilterGUI.php.

References $usr_id.

{
return $this->usr_id;
}
ilUserFilterGUI::ilUserFilterGUI (   $a_usr_id)

Definition at line 50 of file class.ilUserFilterGUI.php.

References $ilCtrl, $lng, $tpl, and __initFilter().

{
global $lng,$ilCtrl,$tpl;
$this->ctrl =& $ilCtrl;
$this->lng =& $lng;
$this->lng->loadLanguageModule('trac');
$this->tpl =& $tpl;
$this->usr_id = $a_usr_id;
$this->__initFilter();
}

+ Here is the call graph for this function:

ilUserFilterGUI::refresh ( )

Definition at line 106 of file class.ilUserFilterGUI.php.

References $_GET, and $_POST.

{
$_GET['offset'] = 0;
$this->ctrl->saveParameter($this,'offset');
$this->filter->storeQueryStrings($_POST['filter']);
$this->ctrl->returnToParent($this);
return true;
}

Field Documentation

ilUserFilterGUI::$ctrl = null

Definition at line 48 of file class.ilUserFilterGUI.php.

ilUserFilterGUI::$lng = null

Definition at line 47 of file class.ilUserFilterGUI.php.

Referenced by ilUserFilterGUI().

ilUserFilterGUI::$tpl = null

Definition at line 46 of file class.ilUserFilterGUI.php.

Referenced by getHTML(), and ilUserFilterGUI().

ilUserFilterGUI::$usr_id = null

Definition at line 45 of file class.ilUserFilterGUI.php.

Referenced by getUserId().


The documentation for this class was generated from the following file: