Jump to content

Silly question, can't find method e()


Vigilante
 Share

Recommended Posts

I'm taking over working on an existing PW site. I see the function e() used a lot in the templates but I can't find info on it.

For example 

$this->e($page->get('something|other'))

 

As you might imagine, trying to search for the letter "e" anywhere doesn't get me very far. I've looked high and low in the API docs and tried to search through source files for the function definition. I'm not even sure it's a PW function at this point. I assume in these templates that $this refers to the PW object, and I couldn't find e() in the docs.

The way the code is written makes it seem like it's just a function to prepare output to the browser, perhaps it's an HTML entity encoder or something?

Is this a PW function and where are the docs?

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...