src/Controller/Component/CommonComponent.php
public function getPassedParam($var, $default = null) {
		$passed = $this->Controller->getRequest()->getParam('pass');

		return isset($passed[$var]) ? $passed[$var] : $default;
	}
public function getPassedParam($var, $default = null) {
		$passed = $this->Controller->getRequest()->getParam('pass');

		return isset($passed[$var]) ? $passed[$var] : $default;
	}
public function getPassedParam ( $ var , $ default = null ) { $ passed = $ this -> Controller -> getRequest ( ) -> getParam ( 'pass' ) ; return isset ( $ passed [ $ var ] ) ? $ passed [ $ var ] : $ default ; }
Used to get the value of a passed param.

@param mixed $var
@param mixed $default
@return mixed
Used to get the value of a passed param .