489495df
芝麻web文件管理
芝麻web文件管理V1.00
489495df
编辑当前文件:/home/landifun/public_html/vendor/nahid/qarray/helpers/qarray.php
<?php use Nahid\QArray\QueryEngine; use Nahid\QArray\ArrayQuery; if (!function_exists('convert_to_array')) { function convert_to_array($data) { if (!is_array($data) && ! $data instanceof QueryEngine) { return [$data]; } $new_data = []; foreach ($data as $key => $map) { if ($map instanceof QueryEngine) { $new_data[$key] = convert_to_array($map); } else { $new_data[$key] = $map; } } return $new_data; } } if (!function_exists('qarray')) { /** * @param $data * @return \Nahid\QArray\QueryEngine */ function qarray($data = []) { if (!is_array($data)) { $data = []; } $instance = ArrayQuery::getInstance(); return $instance->collect($data); } }
ZillaPage — Best Open Souce LandingPage Builder Software
Register
Already have account?
Copyright © 2025 Desing by
ZillaPage