Se adiciona el filtro 'type' para assignee y adhoc. Se modifica updload image en PMUSER. Se modifica upload (incompleto) para FILESMANAGER

This commit is contained in:
Freddy Daniel Rojas Valda
2014-02-18 16:13:57 -04:00
parent c9b0fe785b
commit 6321f3edd7
6 changed files with 156 additions and 96 deletions

View File

@@ -63,7 +63,6 @@ class User extends Api
}
}
/**
* @url PUT /:usr_uid
*
@@ -97,5 +96,22 @@ class User extends Api
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
}
}
/**
* @param string $usr_uid {@min 32} {@max 32}
*
* @url POST /image-upload
*/
public function doPostUserImageUpload($usr_uid)
{
try {
$user = new \BusinessModel\User();
$user->uploadImage($usr_uid);
} catch (\Exception $e) {
//response
throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
}
}
}