Jump to content

BlogProfile - Funky PHP


Gazley
 Share

Recommended Posts

Hi there,

Looking at the BlogProfile and noticed the following:

if(count($page->categories)) $subnav .= renderNav(__('Related Categories'), $page->categories);

renderNav is a function and the first argument (above) starts with two underscores __ followed by ('Related Categories')

What kind of value is that? I haven't seen that before and would appreciate an explanation. Is it some kind of PHP 'magic' thingy?

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...