ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
BlockGUI class for polls. More...
Public Member Functions | |
__construct () | |
getBlockType () | |
setBlock (ilPollBlock $a_block) | |
executeCommand () | |
fillRow (array $a_set) | |
getHTML () | |
getNumberOfCommentsForRedraw () | |
![]() | |
__construct () | |
getBlockType () | |
setData (array $a_data) | |
getData () | |
setPresentation (int $type) | |
getPresentation () | |
setBlockId (string $a_block_id="0") | |
getBlockId () | |
setGuiObject (object $a_gui_object) | |
Set GuiObject. More... | |
getGuiObject () | |
setTitle (string $a_title) | |
getTitle () | |
setOffset (int $a_offset) | |
getOffset () | |
checkOffset (int $offset) | |
setLimit (int $a_limit) | |
getLimit () | |
setEnableEdit (bool $a_enableedit) | |
getEnableEdit () | |
setRepositoryMode (bool $a_repositorymode) | |
getRepositoryMode () | |
setSubtitle (string $a_subtitle) | |
getSubtitle () | |
setRefId (int $a_refid) | |
Set Ref Id (only used if isRepositoryObject() is true). More... | |
getRefId () | |
setAdminCommands (bool $a_admincommands) | |
getAdminCommands () | |
setEnableNumInfo (bool $a_enablenuminfo) | |
getEnableNumInfo () | |
setProperties (array $a_properties) | |
This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. More... | |
getProperty (string $a_property) | |
setProperty (string $a_property, string $a_value) | |
setRowTemplate (string $a_rowtemplatename, string $a_rowtemplatedir="") | |
Set Row Template Name. More... | |
getNavParameter () | |
getConfigParameter () | |
getMoveParameter () | |
getRowTemplateName () | |
getRowTemplateDir () | |
addBlockCommand (string $a_href, string $a_text, string $a_onclick="", ?RoundTrip $modal=null) | |
getBlockCommands () | |
getHTML () | |
getAsynch () | |
Use this for final get before sending asynchronous output (ajax) per echo to output. More... | |
getPaginationViewControl () | |
Fill previous/next row. More... | |
getViewControlsForPanel () | |
sortObject () | |
addSortOption (string $option, string $label, bool $active) | |
setSortTarget (string $target) | |
addPresentation (string $label, string $target, bool $active) | |
getNoItemFoundContent () | |
Static Public Attributes | |
static string | $block_type = "poll" |
static bool | $js_init = false |
Protected Member Functions | |
isRepositoryObject () | |
getRepositoryObjectGUIName () | |
initContentRenderer () | |
initJS () | |
getCommentsRedrawURL () | |
getVoteURL () | |
getLegacyContent () | |
![]() | |
isRepositoryObject () | |
Returns whether block has a corresponding repository object. More... | |
specialCharsAsEntities (string $string) | |
initCommands () | |
preloadData (array $data) | |
Can be overwritten in subclasses. More... | |
getLegacyContent () | |
Get legacy content. More... | |
getListItemForData (array $data) | |
Get list item for data array. More... | |
handleNavigation () | |
Handle navigation. More... | |
loadData () | |
Load data for current page. More... | |
getListItemGroups () | |
Get items. More... | |
addRepoCommands () | |
Add repo commands. More... | |
getActionsForPanel () | |
send (string $output) | |
Send. More... | |
Additional Inherited Members | |
![]() | |
static | getScreenMode () |
![]() | |
const | PRES_MAIN_LEG = 0 |
const | PRES_SEC_LEG = 1 |
const | PRES_SEC_LIST = 2 |
const | PRES_MAIN_LIST = 3 |
const | PRES_MAIN_TILE = 4 |
BlockGUI class for polls.
Definition at line 34 of file class.ilPollBlockGUI.php.
ilPollBlockGUI::__construct | ( | ) |
Definition at line 47 of file class.ilPollBlockGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), getCommentsRedrawURL(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilBlockGUI\setRowTemplate(), and ILIAS\Repository\user().
ilPollBlockGUI::executeCommand | ( | ) |
Definition at line 95 of file class.ilPollBlockGUI.php.
References ILIAS\Repository\ctrl().
ilPollBlockGUI::fillRow | ( | array | $a_set | ) |
Definition at line 107 of file class.ilPollBlockGUI.php.
References ilBlockGUI\getAdminCommands(), ilBlockGUI\getRefId(), initContentRenderer(), initJS(), and ILIAS\Repository\user().
Referenced by getLegacyContent().
ilPollBlockGUI::getBlockType | ( | ) |
Definition at line 74 of file class.ilPollBlockGUI.php.
|
protected |
Definition at line 235 of file class.ilPollBlockGUI.php.
References ILIAS\Repository\ctrl().
Referenced by __construct().
ilPollBlockGUI::getHTML | ( | ) |
Definition at line 122 of file class.ilPollBlockGUI.php.
References ILIAS\Repository\access(), ilBlockGUI\addBlockCommand(), ILIAS\Repository\ctrl(), ilBlockGUI\getRefId(), getRepositoryObjectGUIName(), ilNotification\hasNotification(), ILIAS\Repository\lng(), ilBlockGUI\setData(), ilBlockGUI\setTitle(), ilNotification\TYPE_POLL, and ILIAS\Repository\user().
|
protected |
Definition at line 266 of file class.ilPollBlockGUI.php.
References fillRow(), ilBlockGUI\getData(), ilBlockGUI\getRowTemplateDir(), and ilBlockGUI\getRowTemplateName().
ilPollBlockGUI::getNumberOfCommentsForRedraw | ( | ) |
Definition at line 261 of file class.ilPollBlockGUI.php.
|
protected |
Definition at line 84 of file class.ilPollBlockGUI.php.
Referenced by getHTML(), and getVoteURL().
|
protected |
Definition at line 245 of file class.ilPollBlockGUI.php.
References $url, ILIAS\Repository\ctrl(), ilBlockGUI\getRefId(), and getRepositoryObjectGUIName().
Referenced by initContentRenderer().
|
protected |
Definition at line 191 of file class.ilPollBlockGUI.php.
References $results, ilBlockGUI\getRefId(), getVoteURL(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Referenced by fillRow().
|
protected |
Definition at line 227 of file class.ilPollBlockGUI.php.
Referenced by fillRow().
|
protected |
Definition at line 79 of file class.ilPollBlockGUI.php.
ilPollBlockGUI::setBlock | ( | ilPollBlock | $a_block | ) |
Definition at line 89 of file class.ilPollBlockGUI.php.
References ilCustomBlock\getId(), and ilBlockGUI\setBlockId().
|
static |
Definition at line 36 of file class.ilPollBlockGUI.php.
|
protected |
Definition at line 44 of file class.ilPollBlockGUI.php.
|
protected |
Definition at line 42 of file class.ilPollBlockGUI.php.
|
static |
Definition at line 38 of file class.ilPollBlockGUI.php.
|
protected |
Definition at line 37 of file class.ilPollBlockGUI.php.
|
protected |
Definition at line 45 of file class.ilPollBlockGUI.php.
|
protected |
Definition at line 41 of file class.ilPollBlockGUI.php.
|
protected |
Definition at line 43 of file class.ilPollBlockGUI.php.
|
protected |
Definition at line 39 of file class.ilPollBlockGUI.php.
|
protected |
Definition at line 40 of file class.ilPollBlockGUI.php.