PHP Class Networking\InitCmsBundle\EventListener\AdminTrackerListener

Author: sonja brodersen ([email protected])
ファイルを表示 Open project: networking/init-cms-bundle

Protected Properties

Property Type Description
$admin Sonata\AdminBundle\Admin\AdminInterface
$adminPool Sonata\AdminBundle\Admin\Pool

Public Methods

Method Description
__construct ( Sonata\AdminBundle\Admin\Pool $adminPool )
onKernelRequest ( GetResponseEvent $event )

Protected Methods

Method Description
updateTrackedInfo ( $session, string $sessionKey, array $trackInfoArray, integer $limit = 5 ) update tracker info in session

Method Details

__construct() public method

public __construct ( Sonata\AdminBundle\Admin\Pool $adminPool )
$adminPool Sonata\AdminBundle\Admin\Pool

onKernelRequest() public method

public onKernelRequest ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent

updateTrackedInfo() protected method

update tracker info in session
protected updateTrackedInfo ( $session, string $sessionKey, array $trackInfoArray, integer $limit = 5 )
$session
$sessionKey string
$trackInfoArray array
$limit integer

Property Details

$admin protected_oe property

protected AdminInterface,Sonata\AdminBundle\Admin $admin
return Sonata\AdminBundle\Admin\AdminInterface

$adminPool protected_oe property

protected Pool,Sonata\AdminBundle\Admin $adminPool
return Sonata\AdminBundle\Admin\Pool