[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Implements Special:Booksources This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
File Size: | 205 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
SpecialBookSources:: (8 methods):
__construct()
execute()
isValidISBN()
cleanIsbn()
makeForm()
showList()
makeListItem()
getGroupName()
Class: SpecialBookSources - X-Ref
Special page outputs information on sourcing a book with a particular ISBN__construct() X-Ref |
Constructor |
execute( $isbn ) X-Ref |
Show the special page param: string $isbn ISBN passed as a subpage parameter |
isValidISBN( $isbn ) X-Ref |
Returns whether a given ISBN (10 or 13) is valid. True indicates validity. param: string $isbn ISBN passed for check return: bool |
cleanIsbn( $isbn ) X-Ref |
Trim ISBN and remove characters which aren't required param: string $isbn Unclean ISBN return: string |
makeForm() X-Ref |
Generate a form to allow users to enter an ISBN return: string |
showList() X-Ref |
Determine where to get the list of book sources from, format and output them return: string |
makeListItem( $label, $url ) X-Ref |
Format a book source list item param: string $label Book source label param: string $url Book source URL return: string |
getGroupName() X-Ref |
No description |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |