RSS Feed/News Retrieve a value from the url with filterUrl

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,860
Points
823

Reputation:

I'm building a page where I'm checking the params to see who is on the page, either a sender or receiver.

In my URL it would be like this:

sender: cpanel/challenge/{id here}/

receiver: cpanel/challenge/view/{alert id here}/

The issue is that since 'challenge' is in the URL for both, it's never grabbing the 'view' value from the params, so I've set up two functions like this:

Code:

Code:
public function getChallengeUserId(ParameterBag $params) {
        // Retrieve and filter the 'challenge'...

Read more

Continue reading...
 
Status
Not open for further replies.
Top