HumHub Documentation (unofficial)

MembershipHelper
in package

MembershipHelper

Tags
since
1.3
author

Luke

Table of Contents

Methods

getOwnSpaces()  : array<string|int, Space>
Returns an array of spaces where the given user is owner.

Methods

getOwnSpaces()

Returns an array of spaces where the given user is owner.

public static getOwnSpaces([User|null $user = null ][, bool $useCache = true ]) : array<string|int, Space>
Parameters
$user : User|null = null

the user or null for current user

$useCache : bool = true

use cached result if available

Return values
array<string|int, Space>

the list of spaces


        
On this page

Search results