PHP Class Wallabag\ImportBundle\Import\WallabagImport

Inheritance: implements Wallabag\ImportBundle\Import\ImportInterface
显示文件 Open project: wallabag/wallabag

Protected Properties

Property Type Description
$filepath
$untitled untitled in all languages from v1

Public Methods

Method Description
getDescription ( )
getName ( )
getUrl ( )
import ( )
parseEntry ( array $importedEntry )
setFilepath ( string $filepath ) Set file path to the json file.

Protected Methods

Method Description
prepareEntry ( array $entry = [] ) : array This should return a cleaned array for a given entry to be given to updateEntry.

Method Details

getDescription() abstract public method

abstract public getDescription ( )

getName() abstract public method

abstract public getName ( )

getUrl() abstract public method

abstract public getUrl ( )

import() public method

public import ( )

parseEntry() public method

public parseEntry ( array $importedEntry )
$importedEntry array

prepareEntry() abstract protected method

This should return a cleaned array for a given entry to be given to updateEntry.
abstract protected prepareEntry ( array $entry = [] ) : array
$entry array Data from the imported file
return array

setFilepath() public method

Set file path to the json file.
public setFilepath ( string $filepath )
$filepath string

Property Details

$filepath protected_oe property

protected $filepath

$untitled protected_oe property

untitled in all languages from v1
protected $untitled