Lines Matching refs:params
69 $params = array(
80 $cache_key = md5(serialize($params) . $conf['template'] . filemtime(__FILE__));
81 $cache_files = $params;
90 if ($params['icon']) {
92 list($params['prefix'], $params['icons']) = explode('-', str_replace('.svg', '', $params['icon']), 2);
99 $collection_file = "$iconify_dir/" . $params['prefix'] . ".json";
111 'prefix' => $params['prefix'],
116 foreach (explode(',', $params['icons']) as $icon) {
129 if ($params['width']) {
130 $iconify_data['icons'][$icon]['width'] = $params['width'];
132 if ($params['height']) {
133 $iconify_data['icons'][$icon]['height'] = $params['height'];
144 if ($params['callback']) {
146 $content = $params['callback'] . "(" . json_encode($iconify_data) . ");";
148 } elseif ($params['icon']) {
150 $icon = $params['icons'];
166 if ($params['width']) {
167 $width = $params['width'];
168 $height = $params['width'];
171 if ($params['height']) {
172 $width = $params['height'];
173 $height = $params['height'];
176 if ($params['color']) {
177 $fill = $params['color'];