ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
25
class
ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule
extends
ilBuddySystemRelationStateFilterRule
26
{
27
public
function
matches
(): bool
28
{
29
if
(!$this->relation->isIgnored()) {
30
return
false
;
31
}
32
33
if
($this->relation->isOwnedByActor()) {
34
return
false
;
35
}
36
37
return
true
;
38
}
39
40
public
function
__invoke
(
ilBuddySystemRelationState
$state): bool
41
{
42
return
$state instanceof
ilBuddySystemLinkedRelationState
;
43
}
44
}
ilBuddySystemRelationStateFilterRule
Class ilBuddySystemRelation.
Definition:
class.ilBuddySystemRelationStateFilterRule.php:25
ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule
Class ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.
Definition:
class.ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.php:25
ilBuddySystemLinkedRelationState
Class ilBuddySystemLinkedState.
Definition:
class.ilBuddySystemLinkedRelationState.php:25
ilBuddySystemRelationState
Interface ilBuddySystemRelationState.
Definition:
interface.ilBuddySystemRelationState.php:25
ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule\__invoke
__invoke(ilBuddySystemRelationState $state)
Definition:
class.ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.php:40
ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule\matches
matches()
Definition:
class.ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.php:27
Services
Contact
BuddySystem
classes
states
class.ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.php
Generated on Sun Apr 6 2025 22:02:00 for ILIAS by
1.8.13 (using
Doxyfile
)