ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilCloudGroupedListGUI Class Reference

Class ilCloudGroupedListGUI. More...

+ Inheritance diagram for ilCloudGroupedListGUI:
+ Collaboration diagram for ilCloudGroupedListGUI:

Public Member Functions

 addEntry ($a_content, $a_href='', $a_target='', $a_onclick='', $a_add_class='', $a_id='', $a_ttip='', $a_tt_my='right center', $a_tt_at='left center', $a_tt_use_htmlspecialchars=true)
 
 addGroupHeader ($a_content, $a_add_class="")
 
 addSeparator ()
 
 getCount ()
 
 hasItems ()
 
- Public Member Functions inherited from ilGroupedListGUI
 __construct ()
 Constructor. More...
 
 setAsDropDown ($a_val, $a_pullright=false)
 Set as drop down. More...
 
 getAsDropDown ()
 Get as drop down. More...
 
 addGroupHeader ($a_content, $a_add_class="")
 Add group header. More...
 
 addSeparator ()
 Add separator. More...
 
 nextColumn ()
 Add separator. More...
 
 addEntry ( $a_content, $a_href="", $a_target="", $a_onclick="", $a_add_class="", $a_id="", $a_ttip="", $a_tt_my="right center", $a_tt_at="left center", $a_tt_use_htmlspecialchars=true)
 Add entry. More...
 
 getHTML ()
 Get HTML. More...
 

Protected Attributes

 $count = 0
 
- Protected Attributes inherited from ilGroupedListGUI
 $ctrl
 
 $multi_column = false
 
 $items = array()
 
 $as_dropdown = false
 
 $dd_pullright = false
 

Detailed Description

Class ilCloudGroupedListGUI.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Unfortunatelly there's no possibility to get the amount of titems out of ilGroupedListGUI. therefore this class can help...

Definition at line 10 of file class.ilCloudGroupedListGUI.php.

Member Function Documentation

◆ addEntry()

ilCloudGroupedListGUI::addEntry (   $a_content,
  $a_href = '',
  $a_target = '',
  $a_onclick = '',
  $a_add_class = '',
  $a_id = '',
  $a_ttip = '',
  $a_tt_my = 'right center',
  $a_tt_at = 'left center',
  $a_tt_use_htmlspecialchars = true 
)
Parameters
$a_content
string$a_href
string$a_target
string$a_onclick
string$a_add_class
string$a_id
string$a_ttip
string$a_tt_my
string$a_tt_at
bool$a_tt_use_htmlspecialchars

Definition at line 31 of file class.ilCloudGroupedListGUI.php.

References $a_content.

32  {
33  $this->count++;
34  parent::addEntry($a_content, $a_href, $a_target, $a_onclick, $a_add_class, $a_id, $a_ttip, $a_tt_my, $a_tt_at, $a_tt_use_htmlspecialchars); // TODO: Change the autogenerated stub
35  }
$a_content
Definition: workflow.php:93

◆ addGroupHeader()

ilCloudGroupedListGUI::addGroupHeader (   $a_content,
  $a_add_class = "" 
)
Parameters
$a_content
string$a_add_class

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

References $a_content.

43  {
44  $this->count++;
45  parent::addGroupHeader($a_content, $a_add_class); // TODO: Change the autogenerated stub
46  }
$a_content
Definition: workflow.php:93

◆ addSeparator()

ilCloudGroupedListGUI::addSeparator ( )

Definition at line 49 of file class.ilCloudGroupedListGUI.php.

50  {
51  $this->count++;
52  parent::addSeparator(); // TODO: Change the autogenerated stub
53  }

◆ getCount()

ilCloudGroupedListGUI::getCount ( )
Returns
int

Definition at line 59 of file class.ilCloudGroupedListGUI.php.

References $count.

Referenced by hasItems().

+ Here is the caller graph for this function:

◆ hasItems()

ilCloudGroupedListGUI::hasItems ( )
Returns
bool

Definition at line 68 of file class.ilCloudGroupedListGUI.php.

References getCount().

69  {
70  return $this->getCount() > 0;
71  }
+ Here is the call graph for this function:

Field Documentation

◆ $count

ilCloudGroupedListGUI::$count = 0
protected

Definition at line 16 of file class.ilCloudGroupedListGUI.php.

Referenced by getCount().


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