public static function convertResultToArrayList(\mysqli_result $result)
    {
        $list = array();
        
        while (($row = $result->fetch_assoc()) != null)
        {
            $list[] = $row;
        }
        
        return $list;
    }