UserModel::getApplicantCount PHP Метод

getApplicantCount() публичный Метод

Get the current number of applicants waiting to be approved.
public getApplicantCount ( ) : integer
Результат 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