Get the current contextlevel and instanceid

Get the current contextlevel and instanceid

by mariana fathi -
Number of replies: 1
hi for all,
am asking if there is some way for getting the contextlevel and the instanceid which are fields in mdl_context for the current context(object).if anybody can answer me plz explain in detail what should i make as i have tried some ways but it didn't work.
thnx.
mariana
Average of ratings: -
In reply to mariana fathi

Re: Get the current contextlevel and instanceid

by David Bayya -

hi Mariana ..

please check your Messages in your profile .. I want to chat with you there .. so get there please ..