protected function _lastAction($url)
    {
        $action = Router::url($url, true);
        $query = parse_url($action, PHP_URL_QUERY);
        $query = $query ? '?' . $query : '';
        $this->_lastAction = parse_url($action, PHP_URL_PATH) . $query;
    }
protected function _lastAction($url)
    {
        $action = Router::url($url, true);
        $query = parse_url($action, PHP_URL_QUERY);
        $query = $query ? '?' . $query : '';
        $this->_lastAction = parse_url($action, PHP_URL_PATH) . $query;
    }
protected function _lastAction ( $ url ) { $ action = Router :: url ( $ url , true ) ; $ query = parse_url ( $ action , PHP_URL_QUERY ) ; $ query = $ query ? '?' . $ query : '' ; $ this -> _lastAction = parse_url ( $ action , PHP_URL_PATH ) . $ query ; }
Correctly store the last created form action URL.

@param string|array $url The URL of the last form.
@return void
Correctly store the last created form action URL .