ILIAS  trunk Revision v11.0_alpha-1851-ga8564da6fed
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 

Static Public Attributes

static string $block_type = 'dashcontent'
 

Protected Member Functions

 isRepositoryObject ()
 
 getLegacyContent ()
 
- 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 $currentitemnumber
 
string $content
 
- Protected Attributes inherited from ilBlockGUI
ILIAS UI Renderer $renderer
 
Factory $factory
 
object $gui_object
 
ILIAS Block StandardGUIRequest $request
 
ILIAS 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 ()
 
- 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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilDashboardContentBlockGUI::__construct ( )

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

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

28  {
29  global $DIC;
30 
31  $this->ctrl = $DIC->ctrl();
32  $this->lng = $DIC->language();
33  $this->user = $DIC->user();
34 
36 
37  $this->setEnableNumInfo(false);
38  $this->setLimit(99999);
39  $this->setPresentation(self::PRES_MAIN_LEG);
40  $this->allow_moving = false;
41  }
setLimit(int $a_limit)
setEnableNumInfo(bool $a_enablenuminfo)
global $DIC
Definition: shib_login.php:22
__construct(Container $dic, ilPlugin $plugin)
setPresentation(int $type)
+ Here is the call graph for this function:

Member Function Documentation

◆ getBlockType()

ilDashboardContentBlockGUI::getBlockType ( )

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

43  : string
44  {
45  return self::$block_type;
46  }

◆ getContent()

ilDashboardContentBlockGUI::getContent ( )

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

References $content.

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

◆ getCurrentItemNumber()

ilDashboardContentBlockGUI::getCurrentItemNumber ( )

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

References $currentitemnumber.

53  : int
54  {
56  }

◆ getLegacyContent()

ilDashboardContentBlockGUI::getLegacyContent ( )
protected

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

References $content.

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

◆ isRepositoryObject()

ilDashboardContentBlockGUI::isRepositoryObject ( )
protected

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

58  : bool
59  {
60  return false;
61  }

◆ setContent()

ilDashboardContentBlockGUI::setContent ( string  $a_content)

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

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

◆ setCurrentItemNumber()

ilDashboardContentBlockGUI::setCurrentItemNumber ( int  $a_currentitemnumber)

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

48  : void
49  {
50  $this->currentitemnumber = $a_currentitemnumber;
51  }

Field Documentation

◆ $block_type

string ilDashboardContentBlockGUI::$block_type = 'dashcontent'
static

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

◆ $content

string ilDashboardContentBlockGUI::$content
protected

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

Referenced by getContent(), and getLegacyContent().

◆ $currentitemnumber

int ilDashboardContentBlockGUI::$currentitemnumber
protected

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

Referenced by getCurrentItemNumber().


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