PHP Class FastFeed\Processor\ImagesProcessor

Inheritance: implements FastFeed\Processor\ProcessorInterface
Datei anzeigen Open project: fastfeed/fastfeed

Protected Properties

Property Type Description
$ignoredPatterns array

Public Methods

Method Description
addIgnoredPattern ( $ignoredPattern )
getIgnoredPatterns ( ) : array
process ( array $items ) : array Execute processor
setIgnoredPatterns ( array $ignoredPatterns )

Protected Methods

Method Description
createDOM ( $content ) : boolean | DOMDocumen\DOMDocument
getImages ( $content ) : boolean | array
isOnIgnoredPatterns ( $imageSrc ) : boolean
setImages ( Item $item ) : Item
setImagesFromContent ( Item $item ) : boolean | string

Method Details

addIgnoredPattern() public method

public addIgnoredPattern ( $ignoredPattern )
$ignoredPattern

createDOM() protected method

protected createDOM ( $content ) : boolean | DOMDocumen\DOMDocument
$content
return boolean | DOMDocumen\DOMDocument

getIgnoredPatterns() public method

public getIgnoredPatterns ( ) : array
return array

getImages() protected method

protected getImages ( $content ) : boolean | array
$content
return boolean | array

isOnIgnoredPatterns() protected method

protected isOnIgnoredPatterns ( $imageSrc ) : boolean
$imageSrc
return boolean

process() public method

Execute processor
public process ( array $items ) : array
$items array
return array

setIgnoredPatterns() public method

public setIgnoredPatterns ( array $ignoredPatterns )
$ignoredPatterns array

setImages() protected method

protected setImages ( Item $item ) : Item
$item FastFeed\Item
return FastFeed\Item

setImagesFromContent() protected method

protected setImagesFromContent ( Item $item ) : boolean | string
$item FastFeed\Item
return boolean | string

Property Details

$ignoredPatterns protected_oe property

protected array $ignoredPatterns
return array