Update and rename rsf.format.php to catsplit.format.php

This commit is contained in:
Namhyeon Go 2019-05-27 17:15:28 +09:00 committed by GitHub
parent 97ba5ba1b9
commit bf1e509c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,14 @@
<?php
/**
* @file rsf.format.php
* @file catsplit.format.php
* @date 2019-05-28
* @author Go Namhyeon <gnh1201@gmail.com>
* @brief the another data format for ReasonableFramework
* @brief Catsplit format encoder
* @documentation https://github.com/gnh1201/catsplit-format
*/
if(!check_function_exists("get_rsf_encoded")) {
function get_rsf_encoded($data) {
if(!check_function_exists("catsplit_encode")) {
function catsplit_encode($data) {
$_ks = array();
$_vs = array();
foreach($data as $k=>$v) {