Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Profile for vikijel

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 16:25
  • Posts: 1
  • Profile Views: 2264
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
Hi everyone,

in my opinion it is not so good to use extract()...

You cannot have url-param named "string" for example, becuse it is other variable used in sef_ext.

Also, using @ to suppress errors is kind of old-school and slower solution
(turns off error reporting for that piece of code and then turns it back on)

Correct use of isset() is better and faster, so I have rather done it like this:

 
$string = JoomSEF::sefGetLocation(
$string,
$title,
$vars['task'],
(isset($vars['limit']) ? $vars['limit'] : null),
(isset($vars['limitstart']) ? $vars['limitstart'] : null),
(isset($vars['lang']) ? $vars['lang'] : null)
);
 
how to develop an ex ...
Category: JoomSEF 3
More
User Login Empty