mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
added method to parse post data
This commit is contained in:
@@ -109,21 +109,6 @@ class Person extends APIv1_Controller
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
private function _parseData($person)
|
||||
{
|
||||
if(is_array($person))
|
||||
{
|
||||
foreach($person as $key=>$value)
|
||||
{
|
||||
if($value === "")
|
||||
{
|
||||
$person[$key] = null;
|
||||
}
|
||||
}
|
||||
return $person;
|
||||
}
|
||||
}
|
||||
|
||||
private function _validate($person = NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user