source: branches/1.2/workflow/inc/class.ajax.inc.php @ 1349

Revision 1349, 1.2 KB checked in by niltonneto, 15 years ago (diff)

Ticket #561 - Inclusão do módulo Workflow faltante nessa versão.

  • Property svn:executable set to *
Line 
1<?php
2/**************************************************************************\
3* eGroupWare                                                                       *
4* http://www.egroupware.org                                                *
5* --------------------------------------------                             *
6*  This program is free software; you can redistribute it and/or modify it *
7*  under the terms of the GNU General Public License as published by the   *
8*  Free Software Foundation; either version 2 of the License, or (at your  *
9*  option) any later version.                                              *
10\**************************************************************************/
11
12/**
13 * @package Workflow
14 * @license http://www.gnu.org/copyleft/gpl.html GPL
15 * @author Mauricio Luiz Viani - viani@celepar.pr.gov.br
16 */
17class ajax
18{
19        /**
20     * Constructor
21     *
22     * @return object
23     * @access public
24     */
25        function ajax() {
26        }
27       
28    /**
29     * Get Last Ajax response
30     * @return array session last ajax response
31     * @access public
32     */
33        function getLastAjaxResponse()
34    {
35                $result = $_SESSION['response'];
36                $_SESSION['response'] = null;
37               
38                return $result;
39        }
40}
41?>
Note: See TracBrowser for help on using the repository browser.