Can You Please Answer What Is The Difference Between the following functions:
JLoader::import
and JLoader::register
which belong in the loader.php file?
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.
Sign up to join this communityCan You Please Answer What Is The Difference Between the following functions:
JLoader::import
and JLoader::register
which belong in the loader.php file?
Jloader::import Will include the whole specified file into our script and do some joomla specific naming conventions -> where as JLoader::register Will allows us To Include only needed class from specified packeg file and it also uses php's auto-loader that speeds up the app and save memory