source: Dev/branches/rest-dojo-ui/server/tonic/tests/def/response.php @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 304 bytes
Line 
1<?php
2
3/* Test resource definitions */
4
5/**
6 * @namespace Tonic\Tests
7 * @uri /responsetest
8 */
9class TestResponse extends Resource {
10   
11    function get($request) {
12       
13        $response = new Response($request);
14        $response->body = 'test';
15        return $response;
16       
17    }
18   
19}
20
Note: See TracBrowser for help on using the repository browser.