Thread:Project:Support desk/Access extension function inside skin

MediaWiki : 1.23.2 PHP : 5.4.30 MySQL : 5.6.19

I have created a custom extension which fetch data from database, process it and provide result. I want to call this extension function inside my skin. Or Is there any hook on which I can call my extension function and access its result in skin?

Thanks in advance.