ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilPDCalendarBlockGUI Class Reference

Calendar blocks, displayed on personal desktop. More...

+ Inheritance diagram for ilPDCalendarBlockGUI:
+ Collaboration diagram for ilPDCalendarBlockGUI:

Public Member Functions

 ilPDCalendarBlockGUI ()
 Constructor.
 returnToUpperContext ()
 Return to upper context.
- Public Member Functions inherited from ilCalendarBlockGUI
 ilCalendarBlockGUI ($a_skip_init=false)
 Constructor.
executeCommand ()
 execute command
 setEnableEdit ($a_enable_edit=0)
 Set EnableEdit.
 getEnableEdit ()
 Get EnableEdit.
 fillDataSection ()
 Fill data section.
 addMiniMonth ($a_tpl)
 Add mini version of monthly overview (Maybe extracted to another class, if used in pd calendar tab.
 getHTML ()
 Get bloch HTML code.
 getOverview ()
 Get overview.
 addCloseCommand ($a_content_block)
 setSeed ()
 Set seed.
 showCalendarSubscription ()
 fillFooter ()
 setFooterLinks ()
 setPdModeEvents ()
 setPdModeMonth ()
 getData ()
 Get Data.
- Public Member Functions inherited from ilBlockGUI
 ilBlockGUI ()
 Constructor.
 addHeaderLink ($a_href, $a_text, $status=true)
 getHeaderLinks ()
 setData ($a_data)
 Set Data.
 setBigMode ($a_bigmode)
 Set Big Mode.
 getBigMode ()
 Get Big Mode.
 setBlockId ($a_block_id=0)
 Set Block Id.
 getBlockId ()
 Get Block Id.
 setAvailableDetailLevels ($a_max, $a_min=0)
 Set Available Detail Levels.
 setCurrentDetailLevel ($a_currentdetaillevel)
 Set Current Detail Level.
 setGuiObject (&$a_gui_object)
 Set GuiObject.
 getGuiObject ()
 Get GuiObject.
 getCurrentDetailLevel ()
 Get Current Detail Level.
 setTitle ($a_title)
 Set Title.
 getTitle ()
 Get Title.
 setImage ($a_image)
 Set Image.
 getImage ()
 Get Image.
 setOffset ($a_offset)
 Set Offset.
 getOffset ()
 Get Offset.
 correctOffset ()
 setLimit ($a_limit)
 Set Limit.
 getLimit ()
 Get Limit.
 setRepositoryMode ($a_repositorymode)
 Set RepositoryMode.
 getRepositoryMode ()
 Get RepositoryMode.
 setFooterInfo ($a_footerinfo, $a_hide_and_icon=false)
 Set Footer Info.
 getFooterInfo ($a_hide_and_icon=false)
 Get Footer Info.
 setSubtitle ($a_subtitle)
 Set Subtitle.
 getSubtitle ()
 Get Subtitle.
 setRefId ($a_refid)
 Set Ref Id (only used if isRepositoryObject() is true).
 getRefId ()
 Get Ref Id (only used if isRepositoryObject() is true).
 setAdminCommands ($a_admincommands)
 Set Administration Commmands.
 getAdminCommands ()
 Get Administration Commmands.
 setColSpan ($a_colspan)
 Set Columns Span.
 getColSpan ()
 Get Columns Span.
 setEnableDetailRow ($a_enabledetailrow)
 Set EnableDetailRow.
 getEnableDetailRow ()
 Get EnableDetailRow.
 setEnableNumInfo ($a_enablenuminfo)
 Set Enable Item Number Info.
 getEnableNumInfo ()
 Get Enable Item Number Info.
 setProperties ($a_properties)
 This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties.
 getProperty ($a_property)
 setProperty ($a_property, $a_value)
 setRowTemplate ($a_rowtemplatename, $a_rowtemplatedir="")
 Set Row Template Name.
 getNavParameter ()
 getDetailParameter ()
 getConfigParameter ()
 getMoveParameter ()
 getRowTemplateName ()
 Get Row Template Name.
 getRowTemplateDir ()
 Get Row Template Directory.
 addBlockCommand ($a_href, $a_text, $a_target="", $a_img="", $a_right_aligned=false, $a_checked=false, $a_html="")
 Add Block Command.
 getBlockCommands ()
 Get Block commands.
 addHeaderCommand ($a_href, $a_text, $a_as_close=false)
 Add Header Block Command.
 getHeaderCommands ()
 Get Header Block commands.
 addFooterLink ($a_text, $a_href="", $a_onclick="", $a_block_id="", $a_top=false, $a_omit_separator=false, $a_checked=false)
 Add a footer text/link.
 getFooterLinks ()
 Get footer links.
 clearFooterLinks ()
 Clear footer links.
 handleDetailLevel ()
 Handle read/write current detail level.
 fillHeaderCommands ()
 Fill header commands block.
 fillHeaderTitleBlock ()
 Fill header title block (title and.
 setDataSection ($a_content)
 Call this from overwritten fillDataSection(), if standard row based data is not used.
 fillRow ($a_set)
 fillPreviousNext ()
 Fill previous/next row.
 setPreviousNextLinks ()
 Get previous/next linkbar.
 fillFooterLinks ($a_top=false, $a_numinfo="")
 Fill footer links.
 fillDetailRow ()
 Fill Detail Setting Row.

Static Public Member Functions

static getBlockType ()
 Get block type.
- Static Public Member Functions inherited from ilCalendarBlockGUI
static isRepositoryObject ()
 Is this a repository object.
static getScreenMode ()
 Get Screen Mode for current command.

Static Public Attributes

static $block_type = "pdcal"
- Static Public Attributes inherited from ilCalendarBlockGUI
static $block_type = "cal"
static $st_data

Protected Member Functions

 initCategories ()
 init categories
- Protected Member Functions inherited from ilCalendarBlockGUI
 setSubTabs ()
- Protected Member Functions inherited from ilBlockGUI
 fillRowColor ($a_placeholder="CSS_ROW")
 preloadData (array $data)
 Can be overwritten in subclasses.

Additional Inherited Members

- Data Fields inherited from ilCalendarBlockGUI
 $ctrl = null
- Protected Attributes inherited from ilCalendarBlockGUI
 $mode
 $display_mode

Detailed Description

Member Function Documentation

static ilPDCalendarBlockGUI::getBlockType ( )
static

Get block type.

Returns
string Block type.

Reimplemented from ilCalendarBlockGUI.

Definition at line 61 of file class.ilPDCalendarBlockGUI.php.

References $block_type.

{
}
ilPDCalendarBlockGUI::ilPDCalendarBlockGUI ( )

Constructor.

Definition at line 46 of file class.ilPDCalendarBlockGUI.php.

References $ilCtrl, $ilUser, $lng, $tpl, ilCalendarBlockGUI\ilCalendarBlockGUI(), initCategories(), and ilBlockGUI\setBlockId().

{
global $ilCtrl, $lng, $ilUser, $tpl;
$this->allow_moving = true;
$this->initCategories();
$this->setBlockId(0);
}

+ Here is the call graph for this function:

ilPDCalendarBlockGUI::initCategories ( )
protected

init categories

protected

Parameters
@return

Reimplemented from ilCalendarBlockGUI.

Definition at line 73 of file class.ilPDCalendarBlockGUI.php.

References $_GET, ilCalendarUserSettings\_getInstance(), ilCalendarCategories\_getInstance(), ilCalendarUserSettings\CAL_SELECTION_MEMBERSHIP, ilCalendarCategories\MODE_PERSONAL_DESKTOP_ITEMS, and ilCalendarCategories\MODE_PERSONAL_DESKTOP_MEMBERSHIP.

Referenced by ilPDCalendarBlockGUI().

{
include_once './Services/Calendar/classes/class.ilCalendarUserSettings.php';
{
}
else
{
}
include_once('./Services/Calendar/classes/class.ilCalendarCategories.php');
ilCalendarCategories::_getInstance()->initialize($this->mode,(int)$_GET['ref_id'],true);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilPDCalendarBlockGUI::returnToUpperContext ( )

Return to upper context.

Reimplemented from ilCalendarBlockGUI.

Definition at line 92 of file class.ilPDCalendarBlockGUI.php.

References $ilCtrl.

{
global $ilCtrl;
$ilCtrl->redirectByClass("ilpersonaldesktopgui", "show");
}

Field Documentation

ilPDCalendarBlockGUI::$block_type = "pdcal"
static

Definition at line 41 of file class.ilPDCalendarBlockGUI.php.

Referenced by getBlockType().


The documentation for this class was generated from the following file: