Completed functions in View

Updated class.View.php