How to retrive Material info.?

How can I retrive of current select material (output such as phongE)