public function excludeParams($controller, $params){
		$cid = $controller->id;
		$params = is_array($params) ? $params : array($params);

		if(!isset($this->excluded_params[$cid])){
			$this->excluded_params[$cid] = array();
		}

		foreach($params as $p => $v){
			if(is_numeric($p)){
				$p = $v;
				$v = null;
			}

			foreach($this->excluded_params[$cid] as $param => $value){
				if(is_numeric($param)){
					$param = $value;
					$value = null;
				}

				if($p == $param){
					if(is_null($v)){
						$this->excluded_params[$cid][$param] = null;
						continue 2;
					}

					$value = is_array($value) ? $value : array($value);
					$v = is_array($v) ? $value : array($v);

					$value = array_merge($value, $v);

					$this->excluded_params[$cid][$param] = $value;
					continue 2;
				}
			}

			$this->excluded_params[$cid][$p] = $v;
		}

		return $this;
	}
public function excludeParams($controller, $params){
		$cid = $controller->id;
		$params = is_array($params) ? $params : array($params);

		if(!isset($this->excluded_params[$cid])){
			$this->excluded_params[$cid] = array();
		}

		foreach($params as $p => $v){
			if(is_numeric($p)){
				$p = $v;
				$v = null;
			}

			foreach($this->excluded_params[$cid] as $param => $value){
				if(is_numeric($param)){
					$param = $value;
					$value = null;
				}

				if($p == $param){
					if(is_null($v)){
						$this->excluded_params[$cid][$param] = null;
						continue 2;
					}

					$value = is_array($value) ? $value : array($value);
					$v = is_array($v) ? $value : array($v);

					$value = array_merge($value, $v);

					$this->excluded_params[$cid][$param] = $value;
					continue 2;
				}
			}

			$this->excluded_params[$cid][$p] = $v;
		}

		return $this;
	}
public function excludeParams ( $ controller , $ params ) { $ cid = $ controller -> id ; $ params = is_array ( $ params ) ? $ params : array ( $ params ) ; if ( ! isset ( $ this -> excluded_params [ $ cid ] ) ) { $ this -> excluded_params [ $ cid ] = array ( ) ; } foreach ( $ params as $ p => $ v ) { if ( is_numeric ( $ p ) ) { $ p = $ v ; $ v = null ; } foreach ( $ this -> excluded_params [ $ cid ] as $ param => $ value ) { if ( is_numeric ( $ param ) ) { $ param = $ value ; $ value = null ; } if ( $ p == $ param ) { if ( is_null ( $ v ) ) { $ this -> excluded_params [ $ cid ] [ $ param ] = null ; continue 2 ; } $ value = is_array ( $ value ) ? $ value : array ( $ value ) ; $ v = is_array ( $ v ) ? $ value : array ( $ v ) ; $ value = array_merge ( $ value , $ v ) ; $ this -> excluded_params [ $ cid ] [ $ param ] = $ value ; continue 2 ; } } $ this -> excluded_params [ $ cid ] [ $ p ] = $ v ; } return $ this ; }
Excluding params from caching

@param Controller $controller
@param string $params
@return $this
Excluding params from caching