Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37679

Re: How can i get all activies for a course?

$
0
0
by Black Dream.  

Hello,

 

Yes it seems that this is the function i want. I used it like this:

$info = get_fast_modinfo($theCourse);

And the output was

 

course_modinfo Object
(
[course:course_modinfo:private] => stdClass Object
(
[id] => 2
[category] => 1
.........................

The question is how i can get inside the object course:course_modinfo:private ???

I tried $info->{'course:course_modinfo'} but doesnt work.

 

 

 

 


Viewing all articles
Browse latest Browse all 37679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>