You've already forked joomla_test
first commit
This commit is contained in:
1
libraries/compat/index.html
Normal file
1
libraries/compat/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
29
libraries/compat/jsonserializable.php
Normal file
29
libraries/compat/jsonserializable.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Compat
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE
|
||||
*/
|
||||
|
||||
defined('JPATH_PLATFORM') or die;
|
||||
|
||||
/**
|
||||
* JsonSerializable interface. This file should only be loaded on PHP < 5.4
|
||||
* It allows us to implement it in classes without requiring PHP 5.4
|
||||
*
|
||||
* @package Joomla.Compat
|
||||
* @link http://www.php.net/manual/en/jsonserializable.jsonserialize.php
|
||||
* @since 12.2
|
||||
*/
|
||||
interface JsonSerializable
|
||||
{
|
||||
/**
|
||||
* Return data which should be serialized by json_encode().
|
||||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function jsonSerialize();
|
||||
}
|
Reference in New Issue
Block a user