ILIAS  release_8 Revision v8.24
interface.ilConditionHandling.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5/******************************************************************************
6 *
7 * This file is part of ILIAS, a powerful learning management system
8 * published by ILIAS open source e-Learning e.V.
9 *
10 * ILIAS is licensed with the GPL-3.0,
11 * see https://www.gnu.org/licenses/gpl-3.0.en.html
12 * You should have received a copy of said license along with the
13 * source code, too.
14 *
15 * If this is not the case or you just want to try ILIAS, you'll find
16 * us at:
17 * https://www.ilias.de
18 * https://github.com/ILIAS-eLearning
19 *
20 *****************************************************************************/
21
27{
32 public static function getConditionOperators(): array;
33
37 public static function checkCondition(
38 int $a_trigger_obj_id,
39 string $a_operator,
40 string $a_value,
41 int $a_usr_id
42 ): bool;
43}
Interface for condition handling.
static getConditionOperators()
Returns an array with valid operators for the specific object type.
static checkCondition(int $a_trigger_obj_id, string $a_operator, string $a_value, int $a_usr_id)
check condition for a specific user and object