or   Register or Register today to make and share your own cheat sheets! (Why Join?)

Cheatography Login

Join Us!

Not a Cheatographer? Register here!

Social Media

You can login to or register with Cheatography using your Facebook or Twitter account!

Why Join Cheatography?

Make and share cheat sheets!
Join a great community of Cheatographers and add your very own contributions.

Save your favourites!
Quick access to your most loved cheat sheets.

Fewer ads!
Members see no ads on the site.

Coming soon ...
Requests, ratings and more!

Why Join Cheatography?

Make and share cheat sheets!
Join a great community of Cheatographers and add your very own contributions.

Save your favourites!
Quick access to your most loved cheat sheets.

Fewer ads!
Members see no ads on the site.

Coming soon ...
Requests, ratings and more!

EE Parse Order Cheat Sheet by adrienne

Comments   |   Add a Comment   |   PDF Download   |   Find:

Step 0

Read URI to determine template
Get template from DB, check permis­sions & authen­tic­ation
Get template from file
Return static template

Credit

Thanks to Lodewijk Schutte (@low) for the inform­ation in this cheats­heet. His original PDF can be found at http:/­/lo­web­log.co­m/d­own­loa­ds/­ee-­par­se-­ord­er.pdf
 

Step 1

Parse snippets / global variables
Parse segment variables
Parse embeds
Parse date string constants
Parse {templ­ate­_ed­it_­date} and {curre­nt_­time}
Parse global variables defined in config files
If template is cached, get cache and go to Step 7

Step 2

Parse PHP on Input

Step 3

Parse simple condit­ionals: segment, embed, global variables

Step 4

Assign and parse {prelo­ad_­rep­lace} variables

Step 5

Parse module tags (inward)
Parse plugin tags (outward, by default)

Step 6

Parse PHP on Output
Write cache file

Step 7

Parse advanced condit­ionals

Step 8

Process embedded templates
Apply redirect
 

Step 9

Parse user-d­efined global variables
Parse other built-in global variables (see below)

Late-Parsed Global Variables

{app_b­uild} {location}
{app_v­ersion} {membe­r_g­roup}
{build} {membe­r_id}
{captcha} {membe­r_p­rof­ile­_link}
{charset} {path}
{cp_url} {priva­te_­mes­sages}
{debug­_mode} {scree­n_name}
{doc_url} {site_­index}
{email} {site_­name}
{encode} {site_url}
{group­_de­scr­iption} {style­sheet}
{group_id} {total­_co­mments}
{group­_title} {total­_en­tries}
{gzip_­mode} {total­_fo­rum­_posts}
{hits} {total­_fo­rum­_re­plies}
{homepage} {total­_fo­rum­_to­pics}
{ip_ad­dress} {username}
{ip_ho­stname} {version}
{lang} {webma­ste­r_e­mail}

Comments

No comments yet. Add yours below!

Add a Comment

Comment:

Contents

EE Parse Order cheatsheet

Column Content Comments Author Updated
- EE Parse Order Cheat Sheet adrienne 1 Sep 12
1 Step 0 0 adrienne 2 Jul 12
Credit 0 adrienne 2 Jul 12
2 Step 1 0 adrienne 2 Jul 12
Step 2 0 adrienne 2 Jul 12
Step 3 0 adrienne 2 Jul 12
Step 4 0 adrienne 2 Jul 12
Step 5 0 adrienne 1 Sep 12
Step 6 0 adrienne 2 Jul 12
Step 7 0 adrienne 2 Jul 12
Step 8 0 adrienne 2 Jul 12
3 Step 9 0 adrienne 2 Jul 12
Late-Parsed Global Variables 0 adrienne 2 Jul 12