kernel/classes/notification/handler/ezgeneraldigest/ezgeneraldigestusersettings.php
static function fetchByUserId( $userId, $asObject = true )
    {
        return eZPersistentObject::fetchObject(
            self::definition(), null,
            array( 'user_id' => $userId ), $asObject
        );
    }
static function fetchByUserId( $userId, $asObject = true )
    {
        return eZPersistentObject::fetchObject(
            self::definition(), null,
            array( 'user_id' => $userId ), $asObject
        );
    }
static function fetchByUserId ( $ userId , $ asObject = true ) { return eZPersistentObject :: fetchObject ( self :: definition ( ) , null , array ( 'user_id' => $ userId ) , $ asObject ) ; }
Returns the digest settings object for the user

@since 5.0
@param int $userId the user id
@param bool $asObject
@return eZGeneralDigestUserSettings
Returns the digest settings object for the user