Source for file jRdfRequest.class.php
Documentation is available at jRdfRequest.class.php
- <?php
- /**
- * @package jelix
- * @subpackage core_request
- * @author Laurent Jouanneau
- * @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 || 'jResponseRedirect' == $respclass);
- }
- }
Documentation generated on Thu, 19 Sep 2013 00:06:25 +0200 by phpDocumentor 1.4.3