You are here

public function AuthcachePollFragment::__construct in Authenticated User Page Caching (Authcache) 7.2

Construct new poll fragment.

Parameters

bool $force_results: Specify true if the result graph should be returned regardless of whether the user has voted or not.

File

modules/authcache_poll/includes/AuthcachePollFragment.inc, line 20
Defines personalized fragment for polls.

Class

AuthcachePollFragment
Personalized fragment handler for polls.

Code

public function __construct($force_results = FALSE) {
  $this->forceResults = $force_results;
}