LMSouq
moodle-core Open

How can I check required_param is set or not in Moodle?

KA
Karim Pazoki
1 month ago
3 views
Problem Description
I wanna check `required_param('LType',PARAM_ALPHA)` is set or not? How can I do this? I use this but it it doesn't work correctly: if(!isset(required_param('LType',PARAM_ALPHA))) {echo "salaam";exit;}

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base