Index: docs/docs.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/docs/docs.php,v
retrieving revision 1.13.2.7
diff -u -p -r1.13.2.7 docs.php
--- docs/docs.php	12 Oct 2010 23:20:32 -0000	1.13.2.7
+++ docs/docs.php	28 Oct 2010 23:48:03 -0000
@@ -593,6 +593,17 @@ function hook_views_pre_build(&$view) {
 }
 
 /**
+ * This hook is called right after the build process. The query is
+ * now fully built, but it has not yet been run through db_rewrite_sql.
+ *
+ * Adding output to the view can be accomplished by placing text on
+ * $view->attachment_before and $view->attachment_after.
+ */
+function hook_views_post_build(&$view) {
+  // example code here
+}
+
+/**
  * This hook is called right before the execute process. The query is
  * now fully built, but it has not yet been run through db_rewrite_sql.
  *
@@ -604,6 +615,19 @@ function hook_views_pre_execute(&$view) 
 }
 
 /**
+ * This hook is called right after the execute process. The query has
+ * been executed, but the pre_render() phase has not yet happened for
+ * handlers.
+ *
+ * Adding output to the view can be accomplished by placing text on
+ * $view->attachment_before and $view->attachment_after. Altering the
+ * content can be achieved by editing the items of $view->result.
+ */
+function hook_views_post_execute(&$view) {
+  // example code here
+}
+
+/**
  * This hook is called right before the render process. The query has
  * been executed, and the pre_render() phase has already happened for
  * handlers, so all data should be available.
Index: includes/view.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/includes/view.inc,v
retrieving revision 1.151.2.42
diff -u -p -r1.151.2.42 view.inc
--- includes/view.inc	14 Oct 2010 20:08:19 -0000	1.151.2.42
+++ includes/view.inc	28 Oct 2010 23:48:03 -0000
@@ -582,7 +582,7 @@ class view extends views_db_object {
       }
     }
 
-    // Let modules modify the view just prior to executing it.
+    // Let modules modify the view just prior to building it.
     foreach (module_implements('views_pre_build') as $module) {
       $function = $module . '_views_pre_build';
       $function($this);
@@ -698,6 +698,13 @@ class view extends views_db_object {
 
     // Attach displays
     $this->attach_displays();
+
+    // Let modules modify the view just after building it.
+    foreach (module_implements('views_post_build') as $module) {
+      $function = $module . '_views_post_build';
+      $function($this);
+    }
+
     return TRUE;
   }
 
@@ -766,6 +773,12 @@ class view extends views_db_object {
       }
     }
 
+    // Let modules modify the view just after executing it.
+    foreach (module_implements('views_post_execute') as $module) {
+      $function = $module . '_views_post_execute';
+      $function($this);
+    }
+
     $this->executed = TRUE;
   }
 
@@ -810,7 +823,7 @@ class view extends views_db_object {
 
       $this->style_plugin->pre_render($this->result);
 
-      // Let modules modify the view just prior to executing it.
+      // Let modules modify the view just prior to rendering it.
       foreach (module_implements('views_pre_render') as $module) {
         $function = $module . '_views_pre_render';
         $function($this);
