application/modules/g/controllers/ExtController.php
protected function _saveRequestForModification($request, $i) {
        if (array_key_exists('method', $request)) {
            $methodParts = explode('.', $request['method']);
            $method = array_pop($methodParts);
            if (in_array($method, array('fetch', 'create', 'update', 'destroy'))) {
                $this->_postModifyMethods[$i] = $method;
                $this->_originalRequests[$i] = $request;
            }
        }
    }
protected function _saveRequestForModification($request, $i) {
        if (array_key_exists('method', $request)) {
            $methodParts = explode('.', $request['method']);
            $method = array_pop($methodParts);
            if (in_array($method, array('fetch', 'create', 'update', 'destroy'))) {
                $this->_postModifyMethods[$i] = $method;
                $this->_originalRequests[$i] = $request;
            }
        }
    }
protected function _saveRequestForModification ( $ request , $ i ) { if ( array_key_exists ( 'method' , $ request ) ) { $ methodParts = explode ( '.' , $ request [ 'method' ] ) ; $ method = array_pop ( $ methodParts ) ; if ( in_array ( $ method , array ( 'fetch' , 'create' , 'update' , 'destroy' ) ) ) { $ this -> _postModifyMethods [ $ i ] = $ method ; $ this -> _originalRequests [ $ i ] = $ request ; } } }
Save a request preDispatch for modification postDispatch

@param Array $request The request
@param Int $i The index under which the request should be filed in the array
@return Void
Save a request preDispatch for modification postDispatch