ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Public Member Functions | |
__construct (ilLanguage $lng, UIFactory $ui_factory, UIRenderer $ui_renderer, Refinery $refinery, ilPollStateInfo $availability, ilPollCommentsHandler $comments, ilPollAnswersHandler $answers, ilPollAnswersRenderer $answers_renderer, ilPollResultsHandler $results, ilPollResultsRenderer $results_renderer, ilPollImageFactoryInterface $poll_image_factory) | |
render (ilTemplate $tpl, int $ref_id, int $user_id, ilObjPoll $poll, bool $admin_view=false) | |
Protected Attributes | |
ilPollStateInfo | $state |
ilPollCommentsHandler | $comments |
ilPollAnswersHandler | $answers |
ilPollAnswersRenderer | $answers_renderer |
ilPollResultsHandler | $results |
ilPollResultsRenderer | $results_renderer |
ilLanguage | $lng |
UIFactory | $ui_factory |
UIRenderer | $ui_renderer |
Refinery | $refinery |
ilPollImageFactoryInterface | $poll_image_factory |
Definition at line 27 of file class.ilPollContentRenderer.php.
ilPollContentRenderer::__construct | ( | ilLanguage | $lng, |
UIFactory | $ui_factory, | ||
UIRenderer | $ui_renderer, | ||
Refinery | $refinery, | ||
ilPollStateInfo | $availability, | ||
ilPollCommentsHandler | $comments, | ||
ilPollAnswersHandler | $answers, | ||
ilPollAnswersRenderer | $answers_renderer, | ||
ilPollResultsHandler | $results, | ||
ilPollResultsRenderer | $results_renderer, | ||
ilPollImageFactoryInterface | $poll_image_factory | ||
) |
Definition at line 41 of file class.ilPollContentRenderer.php.
References $answers, $answers_renderer, $comments, $lng, $poll_image_factory, $refinery, $results, $results_renderer, $ui_factory, $ui_renderer, ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
|
protected |
Definition at line 355 of file class.ilPollContentRenderer.php.
References ilDatePresentation\formatDate(), and IL_CAL_UNIX.
Referenced by renderMiscVoteInfo(), renderNotAbleToVoteMessage(), and renderNotWithinVotingPeriodMessage().
|
protected |
Definition at line 348 of file class.ilPollContentRenderer.php.
Referenced by renderNoQuestionMessage(), renderNotAbleToVoteMessage(), and renderNotWithinVotingPeriodMessage().
ilPollContentRenderer::render | ( | ilTemplate | $tpl, |
int | $ref_id, | ||
int | $user_id, | ||
ilObjPoll | $poll, | ||
bool | $admin_view = false |
||
) |
Definition at line 67 of file class.ilPollContentRenderer.php.
References ilObject\getId(), ilObject\getLongDescription(), ilObjPoll\getQuestion(), ilObjPoll\getShowComments(), ilObjPoll\getVotingPeriodBegin(), ilObjPoll\getVotingPeriodEnd(), renderAlertForAnonymousUser(), renderAnchor(), renderAnswersAndResults(), renderAvailability(), renderComments(), renderDescription(), renderNoQuestionMessage(), renderNotWithinVotingPeriodMessage(), and renderQuestion().
|
protected |
Definition at line 328 of file class.ilPollContentRenderer.php.
References ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by render().
|
protected |
Definition at line 303 of file class.ilPollContentRenderer.php.
References HTML_Template_IT\setVariable().
Referenced by render().
|
protected |
Definition at line 268 of file class.ilPollContentRenderer.php.
References ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by renderAnswers().
|
protected |
Definition at line 147 of file class.ilPollContentRenderer.php.
References ilObjPoll\getNonAnonymous(), ilObjPoll\getVotingPeriodEnd(), renderAnonimityInfo(), and renderMiscVoteInfo().
Referenced by renderAnswersAndResults().
|
protected |
Definition at line 106 of file class.ilPollContentRenderer.php.
References ilObjPoll\getVotingPeriodEnd(), renderAnswers(), renderNotAbleToVoteMessage(), renderResults(), and renderTotalParticipantsInfo().
Referenced by render().
|
protected |
Definition at line 321 of file class.ilPollContentRenderer.php.
References ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by render().
|
protected |
Definition at line 333 of file class.ilPollContentRenderer.php.
References ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by render().
|
protected |
Definition at line 308 of file class.ilPollContentRenderer.php.
References ILIAS\Repository\refinery(), and HTML_Template_IT\setVariable().
Referenced by render().
|
protected |
Definition at line 242 of file class.ilPollContentRenderer.php.
References getFormattedDate(), ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by renderAnswers().
|
protected |
Definition at line 293 of file class.ilPollContentRenderer.php.
References getMessageBox(), ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by render().
|
protected |
Definition at line 193 of file class.ilPollContentRenderer.php.
References $messages, getFormattedDate(), getMessageBox(), ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by renderAnswersAndResults().
|
protected |
Definition at line 280 of file class.ilPollContentRenderer.php.
References $message, getFormattedDate(), getMessageBox(), ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by render().
|
protected |
Definition at line 225 of file class.ilPollContentRenderer.php.
References ILIAS\Repository\refinery(), and HTML_Template_IT\setVariable().
Referenced by render().
|
protected |
Definition at line 165 of file class.ilPollContentRenderer.php.
References ilObjPoll\getShowResultsAs().
Referenced by renderAnswersAndResults().
|
protected |
Definition at line 176 of file class.ilPollContentRenderer.php.
References ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
Referenced by renderAnswersAndResults().
|
protected |
Definition at line 31 of file class.ilPollContentRenderer.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilPollContentRenderer.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilPollContentRenderer.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilPollContentRenderer.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilPollContentRenderer.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilPollContentRenderer.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilPollContentRenderer.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilPollContentRenderer.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilPollContentRenderer.php.
|
protected |
Definition at line 36 of file class.ilPollContentRenderer.php.
Referenced by __construct().
|
protected |
Definition at line 37 of file class.ilPollContentRenderer.php.
Referenced by __construct().