mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 07:44:05 +02:00
ipl: add Html::sprintf() helper method
This commit is contained in:
parent
2d802128ac
commit
3f03fe8555
8
library/vendor/ipl/Html/Html.php
vendored
8
library/vendor/ipl/Html/Html.php
vendored
@ -248,6 +248,14 @@ class Html implements ValidHtml
|
|||||||
return $this->renderError($e);
|
return $this->renderError($e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function sprintf($string)
|
||||||
|
{
|
||||||
|
$args = func_get_args();
|
||||||
|
array_shift($args);
|
||||||
|
return new FormattedString($string, $args);
|
||||||
|
}
|
||||||
|
|
||||||
private function reIndexContent()
|
private function reIndexContent()
|
||||||
{
|
{
|
||||||
$this->contentIndex = [];
|
$this->contentIndex = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user