PHP 클래스 Sulu\Bundle\WebsiteBundle\Analytics\AnalyticsManager

상속: implements Sulu\Bundle\WebsiteBundle\Analytics\AnalyticsManagerInterface
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__construct ( Doctrine\ORM\EntityManagerInterface $entityManager, AnalyticsRepository $analyticsRepository, DomainRepository $domainRepository )
create ( $webspaceKey, $data )
find ( $id )
findAll ( $webspaceKey )
remove ( $id )
removeMultiple ( array $ids )
update ( $id, $data )

비공개 메소드들

메소드 설명
findOrCreateNewDomain ( array $domain ) : Domain Returns domain.
getValue ( string $data, string $name, mixed $default = null ) : mixed Returns property of data with given name.
setData ( Analytics $analytics, string $webspaceKey, array $data ) Set data to given key.

메소드 상세

__construct() 공개 메소드

public __construct ( Doctrine\ORM\EntityManagerInterface $entityManager, AnalyticsRepository $analyticsRepository, DomainRepository $domainRepository )
$entityManager Doctrine\ORM\EntityManagerInterface
$analyticsRepository Sulu\Bundle\WebsiteBundle\Entity\AnalyticsRepository
$domainRepository Sulu\Bundle\WebsiteBundle\Entity\DomainRepository

create() 공개 메소드

public create ( $webspaceKey, $data )

find() 공개 메소드

public find ( $id )

findAll() 공개 메소드

public findAll ( $webspaceKey )

remove() 공개 메소드

public remove ( $id )

removeMultiple() 공개 메소드

public removeMultiple ( array $ids )
$ids array

update() 공개 메소드

public update ( $id, $data )