Login::_check_user PHP 메소드

_check_user() 공개 메소드

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;
    }