\TriTan\Common\UserUserCache

Summary

Methods
Properties
Constants
__construct()
update()
clean()
$cache
$hook
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$cache

$cache : 

Type

$hook

$hook : 

Type

Methods

update()

update(integer|object  $user) : boolean|null

Update user caches.

Parameters

integer|object $user

User object or id to be cached.

Returns

boolean|null —

Returns false on failure.

clean()

clean(integer|object  $user) 

Clean user caches.

Uses clean_user_cache action.

Parameters

integer|object $user

User object or id to be cleaned from the cache.