19 declare(strict_types=0);
45 ): UIStandardProgressMeter {
46 return $this->
ui->factory()->chart()->progressMeter()->standard(
54 ): UIStandardProgressMeter {
55 return $this->
ui->factory()->chart()->progressMeter()->fixedSize(
67 foreach ($property_list as $property) {
68 $properties[$property_list->
key()] = $property;
70 $icon = $this->
ui->factory()->symbol()->icon()->standard(
72 $object_info->
getType() .
" Icon",
76 if ($title_link !==
null) {
77 $title = $this->
ui->factory()->link()->standard($title, (
string) $title_link);
79 return $this->
ui->factory()->item()->standard($title)
80 ->withProperties($properties)
82 ->withLeadIcon($icon);
90 return !$lp_info->
hasPercentage() ? $percentage_by_status : $percentage;
const LP_STATUS_COMPLETED_NUM
__construct(protected UIServices $ui)
standardProgressMeter(LPInterface $lp_info)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
standardItem(ObjectDataInterface $object_info, PropertyListInterface $property_list, ?URI $title_link=null)
The optional link is applied to the title.
determinePercentage(LPInterface $lp_info)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Provides fluid interface to RBAC services.
fixedSizeProgressMeter(LPInterface $lp_info)