ILIAS  release_4-3 Revision
 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 40 of file class.ilUserFilterGUI.php.

Member Function Documentation

ilUserFilterGUI::__initFilter ( )

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

References $ilUser.

Referenced by ilUserFilterGUI().

{
global $ilUser;
include_once 'Services/Search/classes/class.ilUserSearchFilter.php';
$this->filter = new ilUserSearchFilter($ilUser->getId());
return true;
}

+ Here is the caller graph for this function:

& ilUserFilterGUI::executeCommand ( )

execute command

Definition at line 62 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 81 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 75 of file class.ilUserFilterGUI.php.

References $usr_id.

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

Definition at line 47 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 103 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 45 of file class.ilUserFilterGUI.php.

ilUserFilterGUI::$lng = null

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

Referenced by ilUserFilterGUI().

ilUserFilterGUI::$tpl = null

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

Referenced by getHTML(), and ilUserFilterGUI().

ilUserFilterGUI::$usr_id = null

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

Referenced by getUserId().


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