[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Glossary entries search.
Copyright: | 2015 David Monllao {@link http://www.davidmonllao.com} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 196 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
entry:: (6 methods):
get_recordset_by_timestamp()
get_document()
check_access()
get_doc_url()
get_context_url()
get_entry()
get_recordset_by_timestamp($modifiedfrom = 0) X-Ref |
Returns recordset containing required data for indexing glossary entries. param: int $modifiedfrom timestamp return: moodle_recordset |
get_document($entry, $options = array() X-Ref |
Returns the documents associated with this glossary entry id. param: stdClass $entry glossary entry. param: array $options return: \core_search\document |
check_access($id) X-Ref |
Whether the user can access the document or not. param: int $id Glossary entry id return: bool |
get_doc_url(\core_search\document $doc) X-Ref |
Link to glossary entry. param: \core_search\document $doc return: \moodle_url |
get_context_url(\core_search\document $doc) X-Ref |
Link to the glossary. param: \core_search\document $doc return: \moodle_url |
get_entry($entryid) X-Ref |
Returns the specified glossary entry checking the internal cache. Store minimal information as this might grow. param: int $entryid return: stdClass |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |