Method | Description | |
---|---|---|
__construct ( string $wallabagUrl, string $logoPath ) | ||
exportAs ( string $format ) : |
Sets the output format. | |
setEntries ( array | Entry $entries ) : |
Define entries. | |
updateTitle ( string $method ) : |
Sets the category of which we want to get articles, or just one entry. |
Method | Description | |
---|---|---|
getExportInformation ( string $type ) : string | Return a kind of footer / information for the epub. | |
prepareSerializingContent ( string $format ) : JMS\Serializer | Return a Serializer object for producing processes that need it (JSON & XML). | |
produceCsv ( ) : |
Inspired from CsvFileDumper. | |
produceEpub ( ) : |
Use PHPePub to dump a .epub file. | |
produceJson ( ) : |
Dump a JSON file. | |
produceMobi ( ) : |
Use PHPMobi to dump a .mobi file. | |
producePdf ( ) : |
Use TCPDF to dump a .pdf file. | |
produceTxt ( ) : |
Dump a TXT file. | |
produceXml ( ) : |
Dump a XML file. |
public __construct ( string $wallabagUrl, string $logoPath ) | ||
$wallabagUrl | string | Wallabag instance url |
$logoPath | string | Path to the logo FROM THE BUNDLE SCOPE |
public setEntries ( array | Entry $entries ) : |
||
$entries | array | Entry | An array of entries or one entry |
return |
public updateTitle ( string $method ) : |
||
$method | string | Method to get articles |
return |