private static function valTable(){
        if(static::$table==null || ! is_string(static::$table)){
            static::$response["status"] = "error";
            static::$response["response"] = "check the table name provided";
            static::$response["code"]=5000;
            return self::terminate(static::$response);

        }else{
            static::$table=self::sanitize(static::$table);
        }
        return static::$table; //no effect
    }
private static function valTable(){
        if(static::$table==null || ! is_string(static::$table)){
            static::$response["status"] = "error";
            static::$response["response"] = "check the table name provided";
            static::$response["code"]=5000;
            return self::terminate(static::$response);

        }else{
            static::$table=self::sanitize(static::$table);
        }
        return static::$table; //no effect
    }
private static function valTable ( ) { if ( static :: $ table == null || ! is_string ( static :: $ table ) ) { static :: $ response [ "status" ] = "error" ; static :: $ response [ "response" ] = "check the table name provided" ; static :: $ response [ "code" ] = 5000 ; return self :: terminate ( static :: $ response ) ; } else { static :: $ table = self :: sanitize ( static :: $ table ) ; } return static :: $ table ; //no effect }
Validate that the table name has been provided and is a string
Validate that the table name has been provided and is a string