PHP Класс Eko\FeedBundle\Service\FeedDumpService

This class helps to dump your feeds on filesystem
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( FeedManager $feedManager, Doctrine\ORM\EntityManagerInterface $em, Symfony\Component\Filesystem\Filesystem $filesystem ) Constructor.
dump ( ) Dumps a feed from an entity or feed items using Filesystem component.
getRootDir ( ) : string Return rootdir.
setDirection ( string $direction ) Sets the value of direction.
setEntity ( mixed $entity ) Sets the value of entity.
setFilename ( string $filename ) Sets the value of filename.
setFormat ( string $format ) Sets the value of format.
setItems ( array $items ) Sets items to the feed.
setLimit ( integer $limit ) Sets the value of limit.
setName ( mixed $name ) Sets the value of name.
setOrderBy ( string $orderBy ) Sets the value of orderBy.
setRootDir ( string $rootDir ) Sets the value of rootDir.

Приватные методы

Метод Описание
initDirection ( ) Initialize ordering.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( FeedManager $feedManager, Doctrine\ORM\EntityManagerInterface $em, Symfony\Component\Filesystem\Filesystem $filesystem )
$feedManager Eko\FeedBundle\Feed\FeedManager A Feed manager
$em Doctrine\ORM\EntityManagerInterface A Doctrine entity manager
$filesystem Symfony\Component\Filesystem\Filesystem A Symfony Filesystem component

dump() публичный Метод

Dumps a feed from an entity or feed items using Filesystem component.
public dump ( )

getRootDir() публичный Метод

Return rootdir.
public getRootDir ( ) : string
Результат string

setDirection() публичный Метод

Sets the value of direction.
public setDirection ( string $direction )
$direction string

setEntity() публичный Метод

Sets the value of entity.
public setEntity ( mixed $entity )
$entity mixed the entity

setFilename() публичный Метод

Sets the value of filename.
public setFilename ( string $filename )
$filename string

setFormat() публичный Метод

Sets the value of format.
public setFormat ( string $format )
$format string

setItems() публичный Метод

Sets items to the feed.
public setItems ( array $items )
$items array items list

setLimit() публичный Метод

Sets the value of limit.
public setLimit ( integer $limit )
$limit integer

setName() публичный Метод

Sets the value of name.
public setName ( mixed $name )
$name mixed the name

setOrderBy() публичный Метод

Sets the value of orderBy.
public setOrderBy ( string $orderBy )
$orderBy string

setRootDir() публичный Метод

Sets the value of rootDir.
public setRootDir ( string $rootDir )
$rootDir string