ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
ilDashboardContentBlockGUI Class Reference
+ Inheritance diagram for ilDashboardContentBlockGUI:
+ Collaboration diagram for ilDashboardContentBlockGUI:

Public Member Functions

 __construct ()
 
 getBlockType ()
 
 setCurrentItemNumber (int $a_currentitemnumber)
 
 getCurrentItemNumber ()
 
 getContent ()
 
 setContent (string $a_content)
 
- Public Member Functions inherited from ilBlockGUI
 __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 ()
 

Data Fields

const BLOCK_TYPE = 'dashcontent'
 
- Data Fields inherited from ilBlockGUI
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
 

Protected Member Functions

 isRepositoryObject ()
 Returns whether block has a corresponding repository object. More...
 
 getLegacyContent ()
 Get legacy content. More...
 
- Protected Member Functions inherited from ilBlockGUI
 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...
 

Protected Attributes

int $current_item_number
 
string $content
 
- Protected Attributes inherited from ilBlockGUI
ILIAS UI Renderer $renderer
 
Factory $factory
 
object $gui_object
 
ILIAS Container Block StandardGUIRequest $request
 
ILIAS Container Block BlockManager $block_manager
 
bool $repositorymode = false
 
ILIAS DI UIServices $ui
 
array $data = array()
 
bool $enablenuminfo = true
 
array $footer_links = array()
 
string $block_id = "0"
 
bool $allow_moving = true
 
array $move = array("left" => false, "right" => false, "up" => false, "down" => false)
 
array $block_commands = array()
 
int $max_count = 0
 
bool $close_command = false
 
bool $image = false
 
array $property = []
 
string $nav_value = ""
 
string $css_row = ""
 
string $title = ""
 
bool $admincommands = false
 
array $dropdown
 
ilTemplate $tpl
 
ilGlobalTemplateInterface $main_tpl
 
ilObjUser $user
 
ilCtrl $ctrl
 
ilAccessHandler $access
 
ilLanguage $lng
 
ilObjectDefinition $obj_def
 
int $presentation
 
int $requested_ref_id
 

Additional Inherited Members

- Static Public Member Functions inherited from ilBlockGUI
static getScreenMode ()
 

Detailed Description

Definition at line 21 of file class.ilDashboardContentBlockGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilDashboardContentBlockGUI::__construct ( )

Reimplemented from ilBlockGUI.

Definition at line 28 of file class.ilDashboardContentBlockGUI.php.

29 {
30 global $DIC;
31
32 $this->ctrl = $DIC->ctrl();
33 $this->lng = $DIC->language();
34 $this->user = $DIC->user();
35
37
38 $this->setEnableNumInfo(false);
39 $this->setLimit(99999);
40 $this->setPresentation(self::PRES_MAIN_LEG);
41 $this->allow_moving = false;
42 }
setPresentation(int $type)
setLimit(int $a_limit)
setEnableNumInfo(bool $a_enablenuminfo)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilBlockGUI\setEnableNumInfo(), ilBlockGUI\setLimit(), ilBlockGUI\setPresentation(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ getBlockType()

ilDashboardContentBlockGUI::getBlockType ( )
final

Reimplemented from ilBlockGUI.

Definition at line 44 of file class.ilDashboardContentBlockGUI.php.

44 : string
45 {
46 return self::BLOCK_TYPE;
47 }

References BLOCK_TYPE.

◆ getContent()

ilDashboardContentBlockGUI::getContent ( )
final

Definition at line 64 of file class.ilDashboardContentBlockGUI.php.

64 : string
65 {
66 return $this->content;
67 }

References $content.

◆ getCurrentItemNumber()

ilDashboardContentBlockGUI::getCurrentItemNumber ( )
final

◆ getLegacyContent()

ilDashboardContentBlockGUI::getLegacyContent ( )
finalprotected

Get legacy content.

Returns
string

Reimplemented from ilBlockGUI.

Definition at line 69 of file class.ilDashboardContentBlockGUI.php.

69 : string
70 {
71 return $this->content;
72 }

References $content.

◆ isRepositoryObject()

ilDashboardContentBlockGUI::isRepositoryObject ( )
finalprotected

Returns whether block has a corresponding repository object.

Reimplemented from ilBlockGUI.

Definition at line 59 of file class.ilDashboardContentBlockGUI.php.

59 : bool
60 {
61 return false;
62 }

◆ setContent()

ilDashboardContentBlockGUI::setContent ( string  $a_content)
final

Definition at line 74 of file class.ilDashboardContentBlockGUI.php.

74 : void
75 {
76 $this->content = $a_content;
77 }

◆ setCurrentItemNumber()

ilDashboardContentBlockGUI::setCurrentItemNumber ( int  $a_currentitemnumber)
final

Definition at line 49 of file class.ilDashboardContentBlockGUI.php.

49 : void
50 {
51 $this->current_item_number = $a_currentitemnumber;
52 }

Field Documentation

◆ $content

string ilDashboardContentBlockGUI::$content
protected

Definition at line 26 of file class.ilDashboardContentBlockGUI.php.

Referenced by getContent(), and getLegacyContent().

◆ $current_item_number

int ilDashboardContentBlockGUI::$current_item_number
protected

Definition at line 25 of file class.ilDashboardContentBlockGUI.php.

Referenced by getCurrentItemNumber().

◆ BLOCK_TYPE

const ilDashboardContentBlockGUI::BLOCK_TYPE = 'dashcontent'

Definition at line 23 of file class.ilDashboardContentBlockGUI.php.

Referenced by getBlockType().


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