3 declare(strict_types=1);
50 define(
"ROLLUP_ACTION_NOCHANGE", 0);
51 define(
"ROLLUP_ACTION_SATISFIED", 1);
52 define(
"ROLLUP_ACTION_NOTSATISFIED", 2);
53 define(
"ROLLUP_ACTION_COMPLETED", 3);
54 define(
"ROLLUP_ACTION_INCOMPLETE", 4);
56 define(
"ROLLUP_CONSIDER_ALWAYS",
"always");
57 define(
"ROLLUP_CONSIDER_ATTEMPTED",
"ifAttempted");
58 define(
"ROLLUP_CONSIDER_NOTSKIPPED",
"ifNotSkipped");
59 define(
"ROLLUP_CONSIDER_NOTSUSPENDED",
"ifNotSuspended");
61 define(
"ROLLUP_SET_ALL",
"all");
62 define(
"ROLLUP_SET_ANY",
"any");
63 define(
"ROLLUP_SET_NONE",
"none");
64 define(
"ROLLUP_SET_ATLEASTCOUNT",
"atLeastCount");
65 define(
"ROLLUP_SET_ATLEASTPERCENT",
"atLeastPercent");
86 if ($iAction ===
"satisfied") {
88 } elseif ($iAction ===
"notSatisfied") {
90 } elseif ($iAction ===
"completed") {
92 } elseif ($iAction ===
"incomplete") {
string $mChildActivitySet
const ROLLUP_ACTION_INCOMPLETE
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
setRollupAction(string $iAction)
const ROLLUP_ACTION_NOTSATISFIED
const ROLLUP_ACTION_SATISFIED
const ROLLUP_ACTION_COMPLETED