ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
CouldNotFindPageMetrics.php
Go to the documentation of this file.
1
<?
php
declare(strict_types=1);
2
/* Copyright (c) 1998-2020 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
namespace
ILIAS\ContentPage\PageMetrics
;
5
6
use
ilException
;
7
13
final
class
CouldNotFindPageMetrics
extends
ilException
14
{
21
public
static
function
by
(
int
$contentPageId,
int
$pageId,
string
$language) : self
22
{
23
return
new
self
(sprintf(
24
"Could not find content page page metrics for page with page id %s and language %s for parent with id %s"
,
25
$contentPageId,
26
$pageId,
27
$language
28
));
29
}
30
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\ContentPage\PageMetrics\CouldNotFindPageMetrics
Definition:
CouldNotFindPageMetrics.php:14
ILIAS\ContentPage\PageMetrics\CouldNotFindPageMetrics\by
static by(int $contentPageId, int $pageId, string $language)
Definition:
CouldNotFindPageMetrics.php:21
ilException
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilException.php:28
ILIAS\ContentPage\PageMetrics
Modules
ContentPage
classes
PageMetrics
CouldNotFindPageMetrics.php
Generated on Fri Oct 3 2025 21:00:43 for ILIAS by
1.9.4 (using
Doxyfile
)