Welcome, Guest
Username Password: Remember me

wurflObj available in other modules
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: wurflObj available in other modules

wurflObj available in other modules 14 years, 3 months ago #87

  • martin64
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Using MobileJoomla version 0.8.1.

In the source 'checkmobile_wurfl.php' the object wurlObj is defined as global. However I can't access it in other modules (e.g. mobilebot.php). Can somebody help?

wurflObj available in other modules 14 years, 2 months ago #1280

  • martin64
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
I found a simple solution for my problem.

I added $wurflObj as a global variable in the class 'plgSystemMobileBot' in the source mobilebot.php. It is now possible to access all $wurflObj methods in other sources.
  • Page:
  • 1
Time to create page: 0.06 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.