PHP 클래스 Eko\FeedBundle\Service\FeedDumpService

This class helps to dump your feeds on filesystem
파일 보기 프로젝트 열기: eko/feedbundle 1 사용 예제들

공개 메소드들

메소드 설명
__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