|
| static | findAll () |
| |
| static | findMine ($user_id=null) |
| |
| static | findByTag ($tag_name) |
| |
| static | findByText ($text) |
| |
| static | findByTagHash ($tag_hash) |
| |
| static | getFileDataPath () |
| |
| static | getImageFileDataPath () |
| |
| static | fetchRemoteSearch ($text, $tag=false) |
| |
| static | embedOERMaterial ($markup, $matches, $contents) |
| |
| static | tableScheme ($db_table) |
| |
| static | expireTableScheme () |
| |
| static | exists ($id) |
| |
| static | countBySql ($sql='1', $params=[]) |
| |
| static | create ($data) |
| |
| static | build ($data, $is_new=true) |
| |
| static | buildExisting ($data) |
| |
| static | import ($data) |
| |
| static | findBySQL ($sql, $params=[]) |
| |
| static | findOneBySQL ($where, $params=[]) |
| |
| static | findThru ($foreign_key_value, $options) |
| |
| static | findEachBySQL ($callable, $sql, $params=[]) |
| |
| static | findMany ($pks=[], $order='', $order_params=[]) |
| |
| static | findEachMany ($callable, $pks=[], $order='', $order_params=[]) |
| |
| static | findAndMapBySQL ($callable, $where, $params=[]) |
| |
| static | findAndMapMany ($callable, $pks=[], $order='', $order_params=[]) |
| |
| static | deleteBySQL ($where, $params=[]) |
| |
| static | toObject ($id_or_object) |
| |
| static | __callStatic (string $name, array $arguments) |
| |
| static | setMariadbDefaultColumnFix (bool $state=true) |
| |
◆ addTag()
◆ autoDetectCategory()
◆ calculateRating()
◆ cbDeleteFile()
◆ cbHashURI()
◆ configure()
| static configure |
( |
|
$config = [] | ) |
|
|
staticprotected |
◆ deleteFromTwillo()
Removes this material from twillo.de if able.
◆ embedOERMaterial()
| static embedOERMaterial |
( |
|
$markup, |
|
|
|
$matches, |
|
|
|
$contents |
|
) |
| |
|
static |
◆ fetchData()
◆ fetchRemoteSearch()
| static fetchRemoteSearch |
( |
|
$text, |
|
|
|
$tag = false |
|
) |
| |
|
static |
Searches on remote hosts for the text.
- Parameters
-
◆ findAll()
◆ findByTag()
| static findByTag |
( |
|
$tag_name | ) |
|
|
static |
◆ findByTagHash()
| static findByTagHash |
( |
|
$tag_hash | ) |
|
|
static |
◆ findByText()
| static findByText |
( |
|
$text | ) |
|
|
static |
◆ findMine()
| static findMine |
( |
|
$user_id = null | ) |
|
|
static |
◆ getAuthors()
◆ getDownloadUrl()
◆ getFileDataPath()
| static getFileDataPath |
( |
| ) |
|
|
static |
◆ getFileEnding()
◆ getFilePath()
◆ getFrontImageFilePath()
| getFrontImageFilePath |
( |
| ) |
|
◆ getIcon()
Returns an appropriate icon for the material.
- Parameters
-
- Returns
- Icon
◆ getImageFileDataPath()
| static getImageFileDataPath |
( |
| ) |
|
|
static |
◆ getLogoURL()
◆ getTopics()
◆ hasValidPreviewUrl()
Checks the URL scheme of the preview URL (player_url). HTTP, HTTPS, Gopher and Gemini are supported schemes.
- Returns
- bool True, if the URL scheme matches the allowced ones, false otherwise.
◆ isAudio()
◆ isFolder()
◆ isImage()
◆ isMine()
◆ isPDF()
◆ isPDFInlineDisplayable()
| isPDFInlineDisplayable |
( |
| ) |
|
◆ isPresentation()
◆ isStudipQuestionnaire()
| isStudipQuestionnaire |
( |
| ) |
|
◆ isVideo()
◆ notifyFollowersAboutNewMaterial()
| notifyFollowersAboutNewMaterial |
( |
| ) |
|
◆ pushDataToIndexServers()
| pushDataToIndexServers |
( |
|
$delete = false | ) |
|
◆ setTopics()
◆ setUsers()
◆ uploadToTwillo()
Uploads this material to twillo.de. This is not actually an upload but rather a link with metadata.
- Returns
- bool|string : true on success, on failure a text-string as error-message
The documentation for this class was generated from the following file: