PHP Class eZ\Publish\Core\REST\Server\Values\UserGroupRefList

Inheritance: extends eZ\Publish\Core\REST\Common\Value
Show file Open project: ezsystems/ezpublish-kernel

Public Properties

Property Type Description
$path string Path which was used to fetch the list of user groups.
$userGroups RestUserGroup[] User groups.
$userId mixed User ID whose groups are the ones in the list.

Public Methods

Method Description
__construct ( array $userGroups, string $path, mixed $userId = null ) Construct.

Method Details

__construct() public method

Construct.
public __construct ( array $userGroups, string $path, mixed $userId = null )
$userGroups array
$path string
$userId mixed

Property Details

$path public property

Path which was used to fetch the list of user groups.
public string $path
return string

$userGroups public property

User groups.
public RestUserGroup[],eZ\Publish\Core\REST\Server\Values $userGroups
return RestUserGroup[]

$userId public property

User ID whose groups are the ones in the list.
public mixed $userId
return mixed