kernel/classes/datatypes/ezuser/ezuser.php
static function generateUserCacheForFile( $filePath, $userId )
    {
        $cacheData = self::generateUserCacheData( $userId );

        if ( $cacheData !== null )
        {
            $cacheData = array( 'content'  => $cacheData,
                                'scope'    => 'user-info-cache',
                                'datatype' => 'php',
                                'store'    => true );
        }

        return $cacheData;
    }
static function generateUserCacheForFile( $filePath, $userId )
    {
        $cacheData = self::generateUserCacheData( $userId );

        if ( $cacheData !== null )
        {
            $cacheData = array( 'content'  => $cacheData,
                                'scope'    => 'user-info-cache',
                                'datatype' => 'php',
                                'store'    => true );
        }

        return $cacheData;
    }
static function generateUserCacheForFile ( $ filePath , $ userId ) { $ cacheData = self :: generateUserCacheData ( $ userId ) ; if ( $ cacheData !== null ) { $ cacheData = array ( 'content' => $ cacheData , 'scope' => 'user-info-cache' , 'datatype' => 'php' , 'store' => true ) ; } return $ cacheData ; }
Callback which generates user cache for user, returns null on invalid user

@internal
@since 4.4
@see eZUser::getUserCacheByUserId()
Callback which generates user cache for user returns null on invalid user