ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
q
r
s
t
u
v
w
x
z
+
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
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.php
Go to the documentation of this file.
1
<?php declare(strict_types=1);
2
/* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8
class
ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule
extends
ilBuddySystemRelationStateFilterRule
9
{
13
public
function
matches
() : bool
14
{
15
if
(!$this->relation->isIgnored()) {
16
return
false
;
17
}
18
19
if
($this->relation->isOwnedByActor()) {
20
return
false
;
21
}
22
23
return
true
;
24
}
25
29
public
function
__invoke
(
ilBuddySystemRelationState
$state) : bool
30
{
31
if
($state instanceof
ilBuddySystemLinkedRelationState
) {
32
return
true
;
33
}
34
35
return
false
;
36
}
37
}
ilBuddySystemRelationStateFilterRule
Class ilBuddySystemRelation.
Definition:
class.ilBuddySystemRelationStateFilterRule.php:8
ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule
Class ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.
Definition:
class.ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.php:8
ilBuddySystemLinkedRelationState
Class ilBuddySystemLinkedState.
Definition:
class.ilBuddySystemLinkedRelationState.php:8
ilBuddySystemRelationState
Interface ilBuddySystemRelationState.
Definition:
interface.ilBuddySystemRelationState.php:8
ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule\__invoke
__invoke(ilBuddySystemRelationState $state)
Definition:
class.ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.php:29
ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule\matches
matches()
Definition:
class.ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.php:13
Services
Contact
BuddySystem
classes
states
class.ilBuddySystemRelationStateReceiverShouldOnlyBeAbleToApproveIgnoredRequestRule.php
Generated on Wed Apr 9 2025 20:01:19 for ILIAS by
1.8.13 (using
Doxyfile
)