ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilBuddySystemRelationStateInitiatorShouldNotBeAbleToApproveIgnoredRequestRule.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/Contact/BuddySystem/classes/states/class.ilBuddySystemRelationStateFilterRule.php'
;
5
10
class
ilBuddySystemRelationStateInitiatorShouldNotBeAbleToApproveIgnoredRequestRule
extends
ilBuddySystemRelationStateFilterRule
11
{
15
public
function
matches
()
16
{
17
if
(!$this->relation->isIgnored()) {
18
return
false
;
19
}
20
21
if
(!$this->relation->isOwnedByRequest()) {
22
return
false
;
23
}
24
25
return
true
;
26
}
27
32
public
function
__invoke
(
ilBuddySystemRelationState
$state
)
33
{
34
if
($state instanceof
ilBuddySystemLinkedRelationState
) {
35
return
false
;
36
}
37
38
return
true
;
39
}
40
}
ilBuddySystemRelationStateFilterRule
Class ilBuddySystemRelation.
Definition:
class.ilBuddySystemRelationStateFilterRule.php:8
ilBuddySystemRelationStateInitiatorShouldNotBeAbleToApproveIgnoredRequestRule\matches
matches()
Definition:
class.ilBuddySystemRelationStateInitiatorShouldNotBeAbleToApproveIgnoredRequestRule.php:15
ilBuddySystemRelationStateInitiatorShouldNotBeAbleToApproveIgnoredRequestRule\__invoke
__invoke(ilBuddySystemRelationState $state)
Definition:
class.ilBuddySystemRelationStateInitiatorShouldNotBeAbleToApproveIgnoredRequestRule.php:32
ilBuddySystemRelationStateInitiatorShouldNotBeAbleToApproveIgnoredRequestRule
Class ilBuddySystemRelationStateInitiatorShouldNotBeAbleToApproveIgnoredRequestRule.
Definition:
class.ilBuddySystemRelationStateInitiatorShouldNotBeAbleToApproveIgnoredRequestRule.php:10
$state
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition:
linkback.php:10
ilBuddySystemLinkedRelationState
Class ilBuddySystemLinkedState.
Definition:
class.ilBuddySystemLinkedRelationState.php:10
ilBuddySystemRelationState
Interface ilBuddySystemRelationState.
Definition:
interface.ilBuddySystemRelationState.php:8
Services
Contact
BuddySystem
classes
states
class.ilBuddySystemRelationStateInitiatorShouldNotBeAbleToApproveIgnoredRequestRule.php
Generated on Sat Jan 18 2025 19:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)