MDL-36874 mod_book: Add uarrow() output renderer.

In preparation for Book navigation improvements in MDL-36874, this commit
adds a uarrow() output renderer, to complement rarrow() and larrow().
This commit is contained in:
David Balch
2014-10-28 09:29:28 +00:00
parent d63a81c507
commit 7b2eff2886
2 changed files with 33 additions and 6 deletions
+13
View File
@@ -3189,6 +3189,19 @@ EOD;
return $this->page->theme->larrow;
}
/**
* Accessibility: Up arrow-like character is used in
* the book heirarchical navigation.
* If the theme does not set characters, appropriate defaults
* are set automatically. Please DO NOT
* use ^ - this is confusing for blind users.
*
* @return string
*/
public function uarrow() {
return $this->page->theme->uarrow;
}
/**
* Returns the custom menu if one has been set
*