getUsersLogin() public méthode

Returns the list of all the users login
public getUsersLogin ( ) : array
Résultat array the list of all the users login
Exemple #1
0
 /**
  * Returns the list of all the users login
  *
  * @return array the list of all the users login
  */
 public function getUsersLogin()
 {
     Piwik::checkUserHasSomeAdminAccess();
     $logins = $this->model->getUsersLogin();
     $logins = $this->userFilter->filterLogins($logins);
     return $logins;
 }
Exemple #2
0
 /**
  * Returns the list of all the users login
  *
  * @return array the list of all the users login
  */
 public function getUsersLogin()
 {
     Piwik::checkUserHasSomeAdminAccess();
     return $this->model->getUsersLogin();
 }
 public function test_getAllLogins_shouldBeUpToDate()
 {
     $this->assertSame($this->model->getUsersLogin(), $this->getAllLogins());
     $this->assertNotEmpty($this->getAllLogins());
 }