Joomla Platform  13.1
Documentation des API du framework Joomla Platform
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
jsonserializable.php
Aller à la documentation de ce fichier.
1 <?php
2 /**
3  * @package Joomla.Compat
4  *
5  * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
6  * @license GNU General Public License version 2 or later; see LICENSE
7  */
8 
9 defined('JPATH_PLATFORM') or die;
10 
11 /**
12  * JsonSerializable interface. This file should only be loaded on PHP < 5.4
13  * It allows us to implement it in classes without requiring PHP 5.4
14  *
15  * @package Joomla.Compat
16  * @link http://www.php.net/manual/en/jsonserializable.jsonserialize.php
17  * @since 12.2
18  */
20 {
21  /**
22  * Return data which should be serialized by json_encode().
23  *
24  * @return mixed
25  *
26  * @since 12.2
27  */
28  public function jsonSerialize();
29 }