source: extensions/GrumPluginClasses/classes/GPCAjax.class.inc.php @ 12734

Last change on this file since 12734 was 5550, checked in by grum, 15 years ago

Release 3.0.0 : the plugin has been completely rewritten

  • Property svn:executable set to *
File size: 1.2 KB
RevLine 
[5550]1<?php
2
3/* -----------------------------------------------------------------------------
4  class name     : GPCAjax
5  class version  : 3.0.0
6  plugin version : 3.0.0
7  date           : 2010-03-30
8  ------------------------------------------------------------------------------
9  author: grum at piwigo.org
10  << May the Little SpaceFrog be with you >>
11  ------------------------------------------------------------------------------
12
13  :: HISTORY
14
15| release | date       |
16| 3.0.0   | 2010/03/30 | * Update class & function names
17|         |            |
18|         |            |
19|         |            |
20|         |            |
21|         |            |
22|         |            |
23
24  ------------------------------------------------------------------------------
25    no constructor, only static function are provided
26    - static function return_result($str)
27   ---------------------------------------------------------------------- */
28
29
30
31class GPCAjax
32{
33  static public function returnResult($str)
34  {
35    //$chars=get_html_translation_table(HTML_ENTITIES, ENT_NOQUOTES);
36    $chars['<']='<';
37    $chars['>']='>';
38    $chars['&']='&';
39    exit(strtr($str, $chars));
40  }
41} //class
42
43?>
Note: See TracBrowser for help on using the repository browser.