ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
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.ilBuddySystemRelationStateInitiatorShouldOnlyBeAbleToCancelRequestRule.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8
class
ilBuddySystemRelationStateInitiatorShouldOnlyBeAbleToCancelRequestRule
extends
ilBuddySystemRelationStateFilterRule
9
{
13
public
function
matches
() : bool
14
{
15
if
(!$this->relation->isRequested()) {
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
ilBuddySystemUnlinkedRelationState
) {
32
return
true
;
33
}
34
35
return
false
;
36
}
37
}
ilBuddySystemUnlinkedRelationState
Class ilBuddySystemUnlinkedRelationState.
Definition:
class.ilBuddySystemUnlinkedRelationState.php:8
ilBuddySystemRelationStateFilterRule
Class ilBuddySystemRelation.
Definition:
class.ilBuddySystemRelationStateFilterRule.php:8
ilBuddySystemRelationStateInitiatorShouldOnlyBeAbleToCancelRequestRule\matches
matches()
Definition:
class.ilBuddySystemRelationStateInitiatorShouldOnlyBeAbleToCancelRequestRule.php:13
ilBuddySystemRelationStateInitiatorShouldOnlyBeAbleToCancelRequestRule\__invoke
__invoke(ilBuddySystemRelationState $state)
Definition:
class.ilBuddySystemRelationStateInitiatorShouldOnlyBeAbleToCancelRequestRule.php:29
ilBuddySystemRelationStateInitiatorShouldOnlyBeAbleToCancelRequestRule
Class ilBuddySystemRelationStateInitiatorShouldOnlyBeAbleToCancelRequestRule.
Definition:
class.ilBuddySystemRelationStateInitiatorShouldOnlyBeAbleToCancelRequestRule.php:8
ilBuddySystemRelationState
Interface ilBuddySystemRelationState.
Definition:
interface.ilBuddySystemRelationState.php:8
Services
Contact
BuddySystem
classes
states
class.ilBuddySystemRelationStateInitiatorShouldOnlyBeAbleToCancelRequestRule.php
Generated on Wed Apr 9 2025 21:01:26 for ILIAS by
1.8.13 (using
Doxyfile
)