41         $this->
ctrl = $DIC->ctrl();
    42         $this->
lng = $DIC->language();
    43         $this->
user = $DIC->user();
    44         $lng = $DIC->language();
    60         return self::$block_type;
    86         $cmd = $ilCtrl->
getCmd(
"getHTML");
    94     public function getListRowData(): 
void    99         foreach ($this->tasks as $task) {
   101                 "title" => $task->getTitle(),
   102                 "url" => $task->getUrl(),
   103                 "ref_id" => $task->getRefId(),
   104                 "wsp_id" => $task->getWspId(),
   105                 "deadline" => $task->getDeadline(),
   106                 "starting_time" => $task->getStartingTime()
   120         return '<div class="small">' . (count($this->tasks)) . 
" " . 
$lng->
txt(
"task_derived_tasks") . 
"</div>";
   129         $collector = $DIC->task()->derived()->factory()->collector();
   131         $this->tasks = $collector->getEntries($this->
user->getId());
   133         $this->getListRowData();
   135         return parent::getHTML();
   149         if ($data[
"ref_id"] > 0) {
   158         if ($data[
"wsp_id"] > 0) {
   168         if ($data[
"starting_time"] > 0) {
   175                         ->withProperties($props);
   177         if ($data[
"deadline"] > 0) {
   193         return $this->
lng->txt(
"task_no_task_items");
 __construct()
Constructor. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ilObjUser $user=null,)
 
static getScreenMode()
Get Screen Mode for current command. 
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
getCmd(string $fallback_command=null)
 
executeCommand()
execute command 
 
getListItemForData(array $data)
 
loadLanguageModule(string $a_module)
Load language module. 
 
BlockGUI class for Tasks on PD. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static _lookupObjId(int $ref_id)
 
getNoItemFoundContent()
No item entry. 
 
static _lookupTitle(int $obj_id)
 
Common interface to all items. 
 
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")
 
lookupObjectId(int $a_node_id)
Get object id for node id. 
 
__construct(Container $dic, ilPlugin $plugin)
 
setTitle(string $a_title)
 
getOverview()
Get overview. 
 
This class represents a block method of a block. 
 
static _lookupType(int $id, bool $reference=false)
 
setPresentation(int $type)
 
static string $block_type