3 declare(strict_types=1);
66 if ($this->
http->wrapper()->query()->has(
'poll_id')) {
67 $poll_id = $this->
http->wrapper()->query()->retrieve(
76 echo
"(" . $number .
")";
87 $context = $this->notes->data()->context($obj_id, 0,
'poll');
88 return $this->notes->domain()->getNrOfCommentsForContext(
$context);
112 "ilPoll.redrawComments(" . $ref_id .
");" Interface GlobalHttpState.
static http()
Fetches the global http state from ILIAS.
static _lookupObjectId(int $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 getListCommentsJSCall(string $a_hash, string $a_update_code=null)
Get list comments js call.