Voice Changelog: Difference between revisions
From MoodleDocs
GSoC 07
Development
Project Management
mayank jain (talk | contribs) (→Weblib) |
mayank jain (talk | contribs) |
||
Line 7: | Line 7: | ||
===Voice XML=== | ===Voice XML=== | ||
voicexmlenabled() | voicexmlenabled() | ||
* Added | |||
* Returns whether voicexml feature is enabled/allowed or not. | |||
post_process_voice() | |||
* Added | |||
* Post processes xhtml code | |||
* Gets voice code from body and places it in the head (correct location). | |||
===Weblib=== | ===Weblib=== |
Revision as of 01:39, 17 June 2007
Moodle 2.0
Moodle Code
Lib
Voice XML
voicexmlenabled()
- Added
- Returns whether voicexml feature is enabled/allowed or not.
post_process_voice()
- Added
- Post processes xhtml code
- Gets voice code from body and places it in the head (correct location).
Weblib
print_header()
- Modified
- Code for checking if voicexml is enabled and printing corresponding header information.
createlink()
- Added
- Outputs a HTML Link (A Tag) code and correspondingly also outputs
- the voice code for it if $voice is true.
- @usage print_location_comment(__FILE__, __LINE__);
- @param string $href Link Location
- @param string $linktext Link Text
- @param string $otherattributes
- @param boolean $voice Whether to output voice code
- @return string