Example #1
0
function getAll()
{
    header('Content-type: application/json');
    $clients = Client::GetAll();
    echo json_encode($clients);
}