Jump to content

[SOLVED]who can explain me what does $currentIndex and $this->identifier variables


Recommended Posts



please who can explain me the following 2 variables








that I found them inside the file tabs/AdminTab.php but I did not understand what the role of those variables in this class .


(note : i have prestashop 1.4)


thank you in advance for the help

Edited by jemmeli (see edit history)
Link to comment
Share on other sites


* @global string $currentIndex Current URL in order to keep current Tab


As said, keeps track of currently selected tab.


Identifier seems to be the type of page (i.e. database 'table') you are currently editing. Probably has contents of 'product', 'category', etc.


Hope this helps,


  • Like 1
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
  • Create New...