Moodle  2.2.1
http://www.collinsharper.com
block_community_renderer Class Reference
Inheritance diagram for block_community_renderer:
Collaboration diagram for block_community_renderer:

Public Member Functions

 restore_confirmation_box ($filename, $context)
 remove_success (moodle_url $url)
 save_link_success (moodle_url $url)
 next_button ($data)
 course_list ($courses, $huburl, $contextcourseid)

Detailed Description

Definition at line 31 of file renderer.php.


Member Function Documentation

course_list ( courses,
huburl,
contextcourseid 
)

Display a list of courses

Parameters:
array$courses
boolean$withwriteaccess
int$contextcourseidcontext course id
Returns:
string

create course file related information html

Definition at line 96 of file renderer.php.

Here is the call graph for this function:

next_button ( data)

The 'Next'/'more course result' link for a courses search

Parameters:
array$data- the form parameter to execute the search on more result
Returns:
string html code

Definition at line 83 of file renderer.php.

Here is the call graph for this function:

Display remove community success message and a button to be redirected to te referer page

Parameters:
moodle_url$urlthe page to be redirected to
Returns:
string html

Definition at line 53 of file renderer.php.

Here is the call graph for this function:

restore_confirmation_box ( filename,
context 
)

Definition at line 33 of file renderer.php.

Here is the call graph for this function:

Display add community course success message and a button to be redirected to te referer page

Parameters:
moodle_url$urlthe page to be redirected to
Returns:
string html

Definition at line 68 of file renderer.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations