getUsersSitesFromAccess() 공개 메소드

If a user doesn't have the given $access to any website IDs, the user will not be in the returned array.
public getUsersSitesFromAccess ( $access ) : array
리턴 array The returned array has the format array( login1 => array ( idsite1,idsite2), login2 => array(idsite2), ... )
예제 #1
0
 /**
  * @expectedException \Exception
  * @expectedExceptionMessage UsersManager_ExceptionAccessValues
  */
 public function testGetUsersSitesFromAccessWrongSite()
 {
     $this->api->getUsersSitesFromAccess('unknown');
 }