Example #1
0
 /**
  * this is the main feature of the view, in the MVC paradigm the controller sends updates to the view, this is 
  * the method which captures the updates.  
  * 
  * As this view is part of the test framework, all we do here is capture the values
  *
  * @param string $uri 
  * @param array $vars 
  * @param string $message 
  * @return void
  * @author Craig Ulliott
  */
 public static function update($uri, $data = null, $message = null)
 {
     self::$uri = $uri;
     self::$data = $data;
     self::$message = $message;
 }