person model: added method that return list of db columns

This commit is contained in:
Stefan Puraner
2016-05-10 13:46:01 +02:00
parent 28e1707b4e
commit 440cac91d6
2 changed files with 44 additions and 3 deletions
@@ -60,7 +60,8 @@ class Person extends APIv1_Controller
}
else
{
$this->response();
$fields = $this->PersonModel->getFields();
$this->response($fields, REST_Controller::HTTP_OK);
}
}