sfDoctrinePollPlugin - 1.0.1

Polling plugin for the Doctrine ORM

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Dependencies Releases Changelog Contribute
Show source | Show as Markdown

sfDoctrinePollPlugin

sfDoctrinePollPlugin is a Symfony plugin which make polling a piece of cake.

Documentation

Usage

User Identification

Currently user identification is determined by a static method in the PluginsfPoll model. You may change the way users are identified by overriding the method getUserIdentifier() Currently it is a concatentation of the users IP Address and the USER_AGENT

Modules

The plugin provide both Back and Front office standard modules that you can activate in the settings.yml of your apps.

In front office, you can activate the sfPolls module :

# /apps/frontend/config/settings.yml
.settings
  enabled_modules: [..., sfPolls](default,)

In back office, you should activate the sf_poll module :

# /apps/backend/config/settings.yml
.settings
  enabled_modules: [..., sf_poll](default,)