Lines Matching refs:item
119 $item = array_map('trim', explode(':', $declaration, 2));
120 if (!isset($item[1])) continue;
123 if (isset($this->properties[$item[0]])) {
124 $name = $this->properties[$item[0]];
125 } elseif (in_array($item[0], $this->properties)) {
126 $name = $item[0];
128 $name = $item[0]; // assume as CSS property
135 if (preg_match($this->specifications[$name], $item[1], $matches)) {
136 $value = $item[1];
144 $value = htmlspecialchars($item[1], ENT_COMPAT, 'UTF-8');
187 $attr = $css = $item = array();
206 $item[] = $key.'="'.$value.'"';
208 $out = empty($item) ? '' : ' '.implode(' ', $item);