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

Public Member Functions

 publicationselector ($courseid)
 registeredonhublisting ($courseid, $publications)
 confirmunpublishing ($publication)
 sendingbackupinfo ($backupfile)
 sentbackupinfo ($id, $huburl, $hubname)
 hubinfo ($hubinfo)

Detailed Description

Definition at line 31 of file renderer.php.


Member Function Documentation

confirmunpublishing ( publication)

Display unpublishing confirmation page

Parameters:
object$publication$publication->courseshortname $publication->courseid $publication->hubname $publication->huburl $publication->id

Definition at line 145 of file renderer.php.

Here is the call graph for this function:

hubinfo ( hubinfo)

Hub information (logo - name - description - link)

Parameters:
object$hubinfo
Returns:
string html code

Definition at line 198 of file renderer.php.

Here is the call graph for this function:

publicationselector ( courseid)

Display the selector to advertise or publish a course

TODO Delete

Definition at line 36 of file renderer.php.

Here is the call graph for this function:

registeredonhublisting ( courseid,
publications 
)

Display the listing of hub where a course is registered on

Definition at line 61 of file renderer.php.

Here is the call graph for this function:

sendingbackupinfo ( backupfile)

Display waiting information about backup size during uploading backup process

Parameters:
object$backupfilethe backup stored_file
Returns:
$html string

Definition at line 166 of file renderer.php.

Here is the call graph for this function:

sentbackupinfo ( id,
huburl,
hubname 
)

Display upload successfull message and a button to the publish index page

Parameters:
int$idthe course id
string$huburlthe hub url where the course is published
string$hubnamethe hub name where the course is published
Returns:
$html string

Definition at line 181 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