src/classes/CCView.php
public function capture( $key, $callback ) 
	{
		return $this->set( $key, CCStr::capture( $callback, $this ) );
	}
public function capture( $key, $callback ) 
	{
		return $this->set( $key, CCStr::capture( $callback, $this ) );
	}
public function capture ( $ key , $ callback ) { return $ this -> set ( $ key , CCStr :: capture ( $ callback , $ this ) ) ; }
just like set but it can
captures all output in a closure and set that.

@param string			$key
@param callback		$callback
@return void
just like set but it can captures all output in a closure and set that .