/** * undocumented function * * @param string $json * @return void * @author Adam Venturella */ public static function viewWithJSON($json) { $view = new CouchDBView(); $view->setJSON($json); return $view; }