Created
May 2, 2017 15:51
-
-
Save CB9TOIIIA/e88bbdc6d4685d65fd281875ae4473c1 to your computer and use it in GitHub Desktop.
Joomla depricated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Полезная инфа по устаревшим функция #depricated: | |
JDispatcher::getInstance = JEventDispatcher::getInstance | |
JFile::read() = file_get_contents() | |
JString = StringHelper (в начале файла нужно прописать use Joomla\String\StringHelper;) | |
JFactory::getApplication()->isSite() = JFactory::getApplication()->isClient('site') | |
JFactory::getApplication()->isAdmin() = JFactory::getApplication()->isClient('administrator') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment