Represents the content bank search related functionality.
More...
|
static | get_search_contents (string $search) |
| Generate and return content nodes for all content bank files that match the search criteria and can be viewed/accessed by the user.
|
|
Represents the content bank search related functionality.
- Copyright
- 2020 Mihail Geshoski mihai.nosp@m.l@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ get_search_contents()
static repository_contentbank\contentbank_search::get_search_contents |
( |
string | $search | ) |
|
|
static |
Generate and return content nodes for all content bank files that match the search criteria and can be viewed/accessed by the user.
- Parameters
-
string | $search | The search string |
- Return values
-
array[] | The array containing all content file nodes that match the search criteria. Each content node is an array with keys: shorttitle, title, datemodified, datecreated, author, license, isref, source, icon, thumbnail. |
The documentation for this class was generated from the following file:
- repository/contentbank/classes/contentbank_search.php