function.crmStyle.php
Tags
Table of Contents
Functions
- smarty_function_crmStyle() : mixed
- Add a stylesheet <LINK> to a specific part of the page
Functions
smarty_function_crmStyle()
Add a stylesheet <LINK> to a specific part of the page
smarty_function_crmStyle(array<string|int, mixed> $params, CRM_Core_Smarty &$smarty) : mixed
Parameters
- $params : array<string|int, mixed>
-
Array with keys:
- ext: string, extension name. see CRM_Core_Resources::addStyleFile
- file: string, relative file path. see CRM_Core_Resources::addStyleFile
- url: string. see CRM_Core_Resources::addStyleURL
- weight: int; default: CRM_Core_Resources::DEFAULT_WEIGHT (0)
- region: string; default: CRM_Core_Resources::DEFAULT_REGION ('html-header')
- $smarty : CRM_Core_Smarty