19 declare(strict_types=1);
39 return $this->
getSafe($this->comparison);
55 $this->checkStringArg(
"main_value_text", $text);
58 $clone->main_text = $text;
75 $this->checkStringArg(
"required_value_text", $text);
78 $clone->required_text = $text;
withRequiredText(string $text)
withMainText(string $text)
getAsPercentage(int $int)
get an integer value as percent value
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getSafe(int $int)
Get integer value "1" if a value is negative or "maximum" if value is more than maximum.
getComparisonAsPercent()
Get comparison value as percent.