Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117746856
Activesync.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
Activesync.php
View Options
<?php
namespace
App\Handlers
;
use
App\Entitlement
;
use
App\Jobs\User\UpdateJob
;
use
App\Sku
;
use
App\User
;
class
Activesync
extends
Base
{
/**
* The entitleable class for this handler.
*/
public
static
function
entitleableClass
():
string
{
return
User
::
class
;
}
/**
* Handle entitlement creation event.
*/
public
static
function
entitlementCreated
(
Entitlement
$entitlement
):
void
{
if
(
\config
(
'app.with_ldap'
))
{
UpdateJob
::
dispatch
(
$entitlement
->
entitleable_id
);
}
}
/**
* Handle entitlement deletion event.
*/
public
static
function
entitlementDeleted
(
Entitlement
$entitlement
):
void
{
if
(
\config
(
'app.with_ldap'
))
{
UpdateJob
::
dispatch
(
$entitlement
->
entitleable_id
);
}
}
/**
* SKU handler metadata.
*/
public
static
function
metadata
(
Sku
$sku
):
array
{
$data
=
parent
::
metadata
(
$sku
);
$data
[
'required'
]
=
[
'Groupware'
];
return
$data
;
}
/**
* The priority that specifies the order of SKUs in UI.
* Higher number means higher on the list.
*/
public
static
function
priority
():
int
{
return
70
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Apr 3 2026, 11:56 PM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18741561
Default Alt Text
Activesync.php (1 KB)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline