application/modules/g/controllers/ExtController.php
protected function _modifyAfterUpdate($response, $request) {
        if ($this->_methodFailed($response)) {
            return $response;
        }
        $methodParts = explode('.', $request['method']);
        $modelClass  = Garp_Content_Api::modelAliasToClass(array_shift($methodParts));
        $man = new Garp_Content_Manager($modelClass);
        $rows = $man->fetch(
            array(
                'query' => array('id' => $request['params'][0]['rows']['id'])
            )
        );
        $response['result'] = array(
            'rows' => $rows
        );
        return $response;
    }
protected function _modifyAfterUpdate($response, $request) {
        if ($this->_methodFailed($response)) {
            return $response;
        }
        $methodParts = explode('.', $request['method']);
        $modelClass  = Garp_Content_Api::modelAliasToClass(array_shift($methodParts));
        $man = new Garp_Content_Manager($modelClass);
        $rows = $man->fetch(
            array(
                'query' => array('id' => $request['params'][0]['rows']['id'])
            )
        );
        $response['result'] = array(
            'rows' => $rows
        );
        return $response;
    }
protected function _modifyAfterUpdate ( $ response , $ request ) { if ( $ this -> _methodFailed ( $ response ) ) { return $ response ; } $ methodParts = explode ( '.' , $ request [ 'method' ] ) ; $ modelClass = Garp_Content_Api :: modelAliasToClass ( array_shift ( $ methodParts ) ) ; $ man = new Garp_Content_Manager ( $ modelClass ) ; $ rows = $ man -> fetch ( array ( 'query' => array ( 'id' => $ request [ 'params' ] [ 0 ] [ 'rows' ] [ 'id' ] ) ) ) ; $ response [ 'result' ] = array ( 'rows' => $ rows ) ; return $ response ; }
Modify results after update

@param Array $response The original response
@param Array $request The original request
@return String
Modify results after update