Create rsf.format.php
This commit is contained in:
parent
ecfbebb645
commit
686ce773f4
8
helper/rsf.format.php
Normal file
8
helper/rsf.format.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
// rsf.format.php
|
||||||
|
|
||||||
|
if(!check_function_exists("get_rsf_encoded")) {
|
||||||
|
function get_rsf_encoded($data) {
|
||||||
|
return sprint("(%s)=>('%s')", array_keys($data), implode("','", $data));
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user