'; echo ''; if ($func != ""){ require_once "lib/parsedown.php"; $file = "langs/$lang/functions/$func.json"; if (file_exists($file)){ $fulljson = json_decode(file_get_contents($file), true); /* Show function */ if (!isset($fulljson['input'])){ $fulljson['input'] = null; } if (!isset($fulljson['output'])){ $fulljson['output'] = null; } seefunc($lang,$func,$fulljson['visual'],$fulljson['description'],$fulljson['parameters'],$fulljson['example'],$fulljson['input'],$fulljson['output']); }else{ echo "
No existe la función
"; } } else { /* Function search */ echo 'Mostrando todas las funciones...
'; $funcs = scandir("langs/$lang/functions/"); foreach ($funcs as $file){ $file = explode('.',$file)[0]; echo ""; } echo '$visual";
?>
$param: $descr
"; } ?>
Input for example: '.$input.'
'; } if (isset($output)){ echo ''.$output.'
'; } } ?>