Variables | |
$format = 'owllink' | |
if(array_key_exists('format', $_REQUEST)) if(!array_key_exists('json', $_POST)) | else |
switch($format) | $trans = new Translator(new Berardi(), $builder) |
$res = $trans->to_owllink($_POST['json']) | |
$format = 'owllink' |
$res = $trans->to_owllink($_POST['json']) |
switch ($format) $trans = new Translator(new Berardi(), $builder) |