Public Member Functions | Data Fields

ilLPUserItemListGUI Class Reference

Inheritance diagram for ilLPUserItemListGUI:
Collaboration diagram for ilLPUserItemListGUI:

Public Member Functions

 ilLPUserItemListGUI ($a_obj_id)
 readUserInfo ()
 __readTitle ()
 __readDescription ()
 renderTypeImage ()

Data Fields

 $child_id = null

Detailed Description

Definition at line 38 of file class.ilLPUserItemListGUI.php.


Member Function Documentation

ilLPUserItemListGUI::__readDescription (  ) 

Reimplemented from ilLPObjectItemListGUI.

Definition at line 66 of file class.ilLPUserItemListGUI.php.

Referenced by readUserInfo().

        {
                return $this->description = '';
        }

Here is the caller graph for this function:

ilLPUserItemListGUI::__readTitle (  ) 

Reimplemented from ilLPObjectItemListGUI.

Definition at line 55 of file class.ilLPUserItemListGUI.php.

References ilLPItemListGUI::getCurrentUser().

Referenced by readUserInfo().

        {
                global $ilObjDataCache;

                include_once 'classes/class.ilObjUser.php';

                $login = '['.ilObjUser::_lookupLogin($this->getCurrentUser()).']';
                $fullname = $ilObjDataCache->lookupTitle($this->getCurrentUser());

                return $this->title = $login .' '. $fullname;
        }

Here is the call graph for this function:

Here is the caller graph for this function:

ilLPUserItemListGUI::ilLPUserItemListGUI ( a_obj_id  ) 

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

References ilLPObjectItemListGUI::ilLPObjectItemListGUI().

        {
                parent::ilLPObjectItemListGUI($a_obj_id,'usr');
        }

Here is the call graph for this function:

ilLPUserItemListGUI::readUserInfo (  ) 

Reimplemented from ilLPItemListGUI.

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

References __readDescription(), and __readTitle().

Here is the call graph for this function:

ilLPUserItemListGUI::renderTypeImage (  ) 

Reimplemented from ilLPItemListGUI.

Definition at line 71 of file class.ilLPUserItemListGUI.php.

References ilObjUser::_getPersonalPicturePath(), ilLPItemListGUI::getCurrentUser(), and ilLPItemListGUI::getTitle().

        {
                $this->tpl->setCurrentBlock("row_type_image");
                $this->tpl->setVariable("TYPE_IMG",ilObjUser::_getPersonalPicturePath($this->getCurrentUser(),'xxsmall'));
                $this->tpl->setVariable("TYPE_ALT",$this->getTitle());
                $this->tpl->parseCurrentBlock();
        }

Here is the call graph for this function:


Field Documentation

ilLPUserItemListGUI::$child_id = null

Definition at line 40 of file class.ilLPUserItemListGUI.php.


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