Hai
function get_courses_search($searchterms, $sort="fullname ASC", $page=0, $recordsperpage=50, &$totalcount)
Could some one explain in detail the arguments of this function .An example syntax on calling the function and its return type would be better.
I have a problem :
Warning: Invalid argument supplied for foreach() in e:\apache\apache\htdocs\moodle\lib\datalib.php on line 1792
I searched the database with a single string as $searchterms:
$listsearch=get_courses_search($searchstring,"fullname ASC",2,50,&$tc);
Is there any completet documentation availabale for all the API of moodle.
regards,
Sundar