Lines Matching refs:hlp
81 $hlp = plugin_load('helper', 'schulzevote');
82 $hlp->createVote($candidates);
109 $hlp = plugin_load('helper', 'schulzevote');
114 if ($hlp->outdated) {
123 } elseif ($hlp->hasVoted()) {
128 $this->_winnerMsg($hlp, 'has_won');
144 if ($hlp->hasVoted()) {
145 $form->addLabel($hlp->getVote()[$candy]);
155 if (!$hlp->hasVoted()) {
172 foreach($hlp->getRanking() as $rank => $items) {
179 $form->addHTML('<p>' . $this->_winnerMsg($hlp, 'leading') . '</p>');
200 function _winnerMsg($hlp, $lang) { argument
201 $winner = $hlp->getWinner();
233 $hlp = plugin_load('helper', 'schulzevote');
234 if (!$hlp->vote(array_combine($data['candy'], $_POST['vote']))) {
242 $hlp = plugin_load('helper', 'schulzevote');
243 $hlp->deleteVote();