Overall goals:
- each placed breakpoint must be reached
- the kEvent::FLAG_ID_FROM_REQUEST flag must always be set, when ID comes from Web Request
- when above flag is set the "checkItemStatus" method must be called (unless we're in app initialization)
in PhpStorm
Place breakpoint in every place, where kEvent::FLAG_ID_FROM_REQUEST flag is being set (these are getPassedID or methods called from within it).
in Admin Console
- go to Configuration → Website → Advanced section
- turn off Enable SEO-friendly URLs mode (MOD-REWRITE) setting
- save changes
- enable debug mode
Front-End (the "advanced" theme) breakpoint breakdown
- "theme:getPassedID" method (via app init) - open homepage
- "lang:getPassedID" method (via app init) - open homepage
- "c:getPassedID" method (via "c_Meta" tag) - open homepage
- "c:_getPassedStructureID" method's 1st breakpoint:
- in the beginning of "content" block on "/in-link/designs/section.tpl" template add <inp2:st.current_Field name="Name"/> tag
- go to Directory category
- "c:_getPassedStructureID" method's 2md breakpoint:
- go to .../index.php?t=x&m_cat_id=10 (x - any non-existing template, 10 - any existing category ID)
- "kDBEventHandler::getPassedID" method 2st breakpoint - any Front-End page
- "kDBEventHandler::getPassedID" method 3rd breakpoint - I have no idea
- "kDBEventHandler::getPassedID" method 4th breakpoint - I have no idea
- "u:getPassedID"
- on the /platform/my_account/public_profile.tpl template remove RequireLogin tag
- open the .../index.php?t=platform/my_account/public_profile&user_id=2 url (replace 2 with ID of existing active user, but not Administrator)
Admin Console breakpoint breakdown
- "kDBEventHandler::getPassedID" method 1st breakpoint - login to the Admin Console