ed0522 Posted October 22, 2015 Share Posted October 22, 2015 As we know, many ps classes are named as ***core. But when we use these class, we can just use in this way, for example, Tools::isSubmit(); , we don't need to use Toolscore::isSubmit();. How does PS make it? Where is the related function? Link to comment Share on other sites More sharing options...
herve25 Posted October 22, 2015 Share Posted October 22, 2015 Hello,You can find the way Prestashop deals with the class names in the folowing file :https://github.com/PrestaShop/PrestaShop/blob/develop/classes/PrestaShopAutoload.php#L91 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now