UserModel::getApplicantCount PHP Method

getApplicantCount() public method

Get the current number of applicants waiting to be approved.
public getApplicantCount ( ) : integer
return integer Returns the number of applicants or 0 if the registration method isn't set to approval.
    public function getApplicantCount()
    {
        $roleModel = new RoleModel();
        $result = $roleModel->getApplicantCount();
        return $result;
    }
UserModel