Login::_check_user PHP Method

_check_user() public method

public _check_user ( $str )
    public function _check_user($str)
    {
        if (!$this->Staffs_model->validateStaff($str)) {
            $this->form_validation->set_message('_check_user', $this->lang->line('error_no_user_found'));
            return FALSE;
        }
        return TRUE;
    }