Previous Page
isAny()

Solar_Role_Adapter_File
load()

Next Page
locale()

load()

public void load ( string $handle, bool $refresh default NULL )

Load the list of roles for the given user from the adapter.

Inherited from Solar_Role_Adapter.

Parameters

  • (string) $handle: The username to load roles for.
  • (bool) $refresh: Override the class-default for refreshing, and force (true) or don't force (false) reloading. Default is null, which uses the class-default value.

Returns

  • (void)

Description

Load the list of roles for the given user from the adapter.