19 declare(strict_types=1);
65 if ($this->
http->wrapper()->query()->has(
'poll_id')) {
66 $poll_id = $this->
http->wrapper()->query()->retrieve(
75 echo
"(" . $number .
")";
86 $context = $this->notes->data()->context($obj_id, 0,
'poll');
87 return $this->notes->domain()->getNrOfCommentsForContext(
$context);
111 "ilPoll.redrawComments(" . $ref_id .
");"
static buildAjaxHash(int $node_type, ?int $node_id, string $obj_type, int $obj_id, ?string $sub_type=null, ?int $sub_id=null, int $news_id=0)
Build ajax hash.
static http()
Fetches the global http state from ILIAS.
static _lookupObjectId(int $ref_id)
static getListCommentsJSCall(string $a_hash, ?string $a_update_code=null)
Get list comments js call.
exit
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...