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

Public Member Functions

 heading ($text, $level=2, $classes= 'main', $id=null)
 block (block_contents $bc, $region)
 navbar ()
 login_info ()
 login_info_footer ()
 redirect_message ($encodedurl, $message, $delay, $debugdisableredirect)
 header ()
 notification ($message, $classes= 'notifyproblem')
 blocks_for_region ($region)

Protected Member Functions

 theme_swatch ()
 block_header (block_contents $bc)
 init_block_hider_js (block_contents $bc)
 render_navigation_node (navigation_node $item)
 render_help_icon (help_icon $helpicon)
 render_single_button (single_button $button)
 render_single_select (single_select $select)

Detailed Description

Definition at line 115 of file renderers.php.


Member Function Documentation

block ( block_contents bc,
region 
)

Renders a block

Parameters:
block_contents$bc
string$region
Returns:
string

Reimplemented from core_renderer.

Definition at line 163 of file renderers.php.

Here is the call graph for this function:

Here is the caller graph for this function:

block_header ( block_contents bc) [protected]

Produces a blocks header

Parameters:
block_contents$bc
Returns:
string

Reimplemented from core_renderer.

Definition at line 221 of file renderers.php.

Here is the call graph for this function:

Here is the caller graph for this function:

blocks_for_region ( region)

Renders the blocks for a block region in the page

Parameters:
type$region
Returns:
string

Reimplemented from core_renderer.

Definition at line 692 of file renderers.php.

Here is the call graph for this function:

header ( )

Renders the header for the page

Returns:
string

Reimplemented from core_renderer.

Definition at line 628 of file renderers.php.

Here is the call graph for this function:

Here is the caller graph for this function:

heading ( text,
level = 2,
classes = 'main',
id = null 
)

Produces a heading

Parameters:
string$text
int$level
string$classes
string$id
Returns:
string

Reimplemented from core_renderer.

Definition at line 144 of file renderers.php.

Here is the call graph for this function:

init_block_hider_js ( block_contents bc) [protected]

An evil function we don't want to execute

Parameters:
block_contents$bc

Reimplemented from core_renderer.

Definition at line 237 of file renderers.php.

Displays login info

Returns:
string

Reimplemented from core_renderer.

Definition at line 301 of file renderers.php.

Here is the call graph for this function:

Displays login info in the footer

Returns:
string

Definition at line 379 of file renderers.php.

Here is the call graph for this function:

navbar ( )

Produces the navigation bar for the mymobile theme

Returns:
string

Reimplemented from core_renderer.

Definition at line 248 of file renderers.php.

Here is the call graph for this function:

notification ( message,
classes = 'notifyproblem' 
)

Renders a notification

Parameters:
string$message
string$classes
Returns:
string

Reimplemented from core_renderer.

Definition at line 682 of file renderers.php.

Here is the call graph for this function:

Here is the caller graph for this function:

redirect_message ( encodedurl,
message,
delay,
debugdisableredirect 
)

Prints a message and redirects

Parameters:
string$encodedurl
string$message
int$delay
true$debugdisableredirect
Returns:
type

Reimplemented from core_renderer.

Definition at line 466 of file renderers.php.

Here is the call graph for this function:

render_help_icon ( help_icon helpicon) [protected]

Renders a help icon

Parameters:
help_icon$helpicon
Returns:
string

Reimplemented from core_renderer.

Definition at line 516 of file renderers.php.

Here is the call graph for this function:

render_navigation_node ( navigation_node item) [protected]

Renders a navigation node

This function has been overridden to remove tabindexs

Parameters:
navigation_node$item
Returns:
string

Reimplemented from core_renderer.

Definition at line 286 of file renderers.php.

render_single_button ( single_button button) [protected]

Renders a single button

Parameters:
single_button$button
Returns:
string

Reimplemented from core_renderer.

Definition at line 564 of file renderers.php.

Here is the call graph for this function:

render_single_select ( single_select select) [protected]

Renders a single select instance

Parameters:
single_select$select
Returns:
string

Reimplemented from core_renderer.

Definition at line 718 of file renderers.php.

Here is the call graph for this function:

theme_swatch ( ) [protected]

Returns the dtheme to use for the selected swatch

Returns:
string

Definition at line 122 of file renderers.php.

Here is the caller graph for this function:


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