editcount = $editcount; $this->gender = $gender; $this->groups = $groups; $this->id = $id; $this->name = $name; $this->registration = $registration; $this->rights = $rights; } /** * @return int */ public function getEditcount() { return $this->editcount; } /** * @return string */ public function getGender() { return $this->gender; } /** * @param string $type 'groups' or 'implicitgroups' * * @return array */ public function getGroups( $type = 'groups' ) { return $this->groups[$type]; } /** * @return int */ public function getId() { return $this->id; } /** * @return string */ public function getName() { return $this->name; } /** * @return string */ public function getRegistration() { return $this->registration; } /** * @return array */ public function getRights() { return $this->rights; } }