PHP Class Sulu\Bundle\WebsiteBundle\Entity\AnalyticsRepository

Inheritance: extends Doctrine\ORM\EntityRepository
Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
findById ( integer $id ) : Analytics Returns analytics by id.
findByUrl ( string $url, string $webspaceKey, string $environment ) : Analytics[] Returns analytics by url.
findByWebspaceKey ( $webspaceKey ) : Analytics[] Returns list of analytics.

Method Details

findById() public method

Returns analytics by id.
public findById ( integer $id ) : Analytics
$id integer
return Analytics

findByUrl() public method

Returns analytics by url.
public findByUrl ( string $url, string $webspaceKey, string $environment ) : Analytics[]
$url string
$webspaceKey string
$environment string
return Analytics[]

findByWebspaceKey() public method

Returns list of analytics.
public findByWebspaceKey ( $webspaceKey ) : Analytics[]
$webspaceKey
return Analytics[]