Source for file jRdfRequest.class.php
Documentation is available at jRdfRequest.class.php
- <?php
- /**
- * @package jelix
- * @subpackage core_request
- * @author Laurent Jouanneau
- * @contributor
- * @copyright 2006-2008 Laurent Jouanneau
- * @link http://www.jelix.org
- * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
- */
-
-
- /**
- * Handle a request which needs a RDF content as response.
- * @package jelix
- * @subpackage core_request
- */
- class jRdfRequest extends jRequest {
-
- public $type = 'rdf';
-
- public $defaultResponseType = 'rdf';
-
- protected function _initParams(){
- $url = jUrl::parseFromRequest($this, $_GET);
- $this->params = array_merge($url->params, $_POST);
- }
-
- public function isAllowedResponse($respclass){
- return ('jResponseRdf' == $respclass);
- }
- }
Documentation generated on Thu, 22 Mar 2012 22:16:30 +0100 by phpDocumentor 1.4.3