done that part to get all profiles.
but it will return profile not profiles.
and getProfileById(int profileId) is non static members
i try to get it by new Profiles().getProfileById(ids)
its possible to do that but profiles() is not defined...
do you think this is a bug?