Return the current section type? (plugin)
The SectionModel has a type property, which return what you're after, "single", "channel" and "entry". In a template it can be accessed like this:

{{ entry.section.type }}


If this is in a plugin and you have the section, you access it like this:

$section-&gt;type


But I'm confused by the "current page" of your question. Maybe you can describe in a bit more detail what you're trying to achieve, and what your code looks like atm?