Source for file jCssRequest.class.php
Documentation is available at jCssRequest.class.php
- <?php
- /**
- * @package jelix
- * @subpackage core_request
- * @author Laurent Jouanneau
- * @copyright 2005-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 classical request but only to control and produce css content
- * @package jelix
- * @subpackage core_request
- * @since 1.0b1
- */
- class jCssRequest extends jRequest {
-
- public $type = 'css';
-
- public $defaultResponseType = 'css';
-
- protected function _initParams(){
- $url = jUrl::parseFromRequest($this, $_GET);
- $this->params = array_merge($url->params, $_POST);
- }
-
- public function isAllowedResponse($respclass){
- return ('jResponseCss' == $respclass || 'jResponseRedirect' == $respclass);
- }
- }
Documentation generated on Thu, 19 Sep 2013 00:03:05 +0200 by phpDocumentor 1.4.3