GNU GPL v2+
- Since
- 3.2
- Author
- mwjames
◆ __construct()
SMW\Elastic\Indexer\Attachment\FileHandler::__construct |
( |
FileRepoFinder |
$fileRepoFinder | ) |
|
- Since
- 3.2
- Parameters
-
FileRepoFinder | $fileRepoFinder | |
◆ fetchContentFromURL()
SMW\Elastic\Indexer\Attachment\FileHandler::fetchContentFromURL |
( |
string |
$url | ) |
|
- Since
- 3.2
- Parameters
-
- Returns
- string
◆ findFileByTitle()
SMW\Elastic\Indexer\Attachment\FileHandler::findFileByTitle |
( |
Title |
$title | ) |
|
- Since
- 3.2
- Parameters
-
- Returns
- string
◆ format()
SMW\Elastic\Indexer\Attachment\FileHandler::format |
( |
string |
$contents, |
|
|
string |
$type = '' |
|
) |
| |
- Since
- 3.2
- Parameters
-
string | $contents | |
string | $type | |
- Returns
- string
◆ setReadCallback()
SMW\Elastic\Indexer\Attachment\FileHandler::setReadCallback |
( |
callable |
$readCallback | ) |
|
◆ FORMAT_BASE64
const SMW\Elastic\Indexer\Attachment\FileHandler::FORMAT_BASE64 = 'format/base64' |
Transform the content to base64
The documentation for this class was generated from the following file: