|
|
@@ -8,7 +8,7 @@ use Cake\View\StringTemplate;
|
|
|
use Cake\View\View;
|
|
|
use RuntimeException;
|
|
|
use Shim\Utility\Inflector as ShimInflector;
|
|
|
-use Template\View\Helper\IconHelper;
|
|
|
+use Templating\View\Helper\IconHelper;
|
|
|
|
|
|
/**
|
|
|
* Format helper with basic HTML snippets
|
|
|
@@ -49,7 +49,7 @@ class FormatHelper extends Helper {
|
|
|
*/
|
|
|
public function __construct(View $View, array $config = []) {
|
|
|
if (class_exists(IconHelper::class)) {
|
|
|
- $this->helpers[] = 'Template.Icon';
|
|
|
+ $this->helpers[] = 'Templating.Icon';
|
|
|
} else {
|
|
|
$this->helpers[] = 'Tools.Icon';
|
|
|
}
|
|
|
@@ -67,7 +67,7 @@ class FormatHelper extends Helper {
|
|
|
* 'pro' => 'fa4:thumbs-up',
|
|
|
* 'contra' => 'fa4:thumbs-down',
|
|
|
*
|
|
|
- * @deprecated Use Template.IconSnippet helper instead.
|
|
|
+ * @deprecated Use Templating.IconSnippet helper instead.
|
|
|
*
|
|
|
* @param mixed $value Boolish value
|
|
|
* @param array<string, mixed> $options
|
|
|
@@ -88,7 +88,7 @@ class FormatHelper extends Helper {
|
|
|
* 'prev' => 'fa4:arrow-left',
|
|
|
* 'next' => 'fa4:arrow-right',
|
|
|
*
|
|
|
- * @deprecated Use Template.IconSnippet helper instead.
|
|
|
+ * @deprecated Use Templating.IconSnippet helper instead.
|
|
|
*
|
|
|
* @param array $neighbors (containing prev and next)
|
|
|
* @param string $field Field as `Field` or `Model.field` syntax
|
|
|
@@ -201,7 +201,7 @@ class FormatHelper extends Helper {
|
|
|
* 'yes' => 'fa4:check',
|
|
|
* 'no' => 'fa4:times',
|
|
|
*
|
|
|
- * @deprecated Use Template.IconSnippet helper instead.
|
|
|
+ * @deprecated Use Templating.IconSnippet helper instead.
|
|
|
*
|
|
|
* @param int|bool $value Value
|
|
|
* @param array<string, mixed> $options
|