We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How do I return to a function and pass it parameters in the url?

Development and Programming

Zac G.'s avatar
Zac G.
268 posts
16 years ago
Zac G.'s avatar Zac G.

Hi EEers,

I am currently doing this after running an update function:

return $this->view_gradebook($LANG->line('assignment_added'));

Which results in the following url:

index.php?S=0&C=modules&M=gradebook

What I need to do is return to the following url:

index.php?S=0&C=modules&M=gradebook&P=view_gradebook&class_id=1&class_group=9

Does anyone know how I can return the longer url with parameters?

Thanks, Zac

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.