Lines Matching refs:attributes
65 * @param string $attributes String containing the selector
68 public function matches (array $attributes=NULL) { argument
71 return isset($attributes) && array_key_exists($this->attribute, $attributes);
76 if ($attributes [$this->attribute] == $this->value) {
85 $words = preg_split ('/\s/', $attributes [$this->attribute]);
98 if ($attributes [$this->attribute] == $this->value ||
99 strncmp($attributes [$this->attribute], $with_hypen, $length) == 0) {
108 if (strncmp($attributes [$this->attribute], $this->value, $length) == 0) {
117 if (substr($attributes [$this->attribute], $length) == $this->value) {
124 if (strpos($attributes [$this->attribute], $this->value) !== false) {
168 protected $attributes = array(); variable in css_simple_selector
244 $this->attributes [] = new css_attribute_selector($content);
290 $this->attributes [] = new css_attribute_selector($content);
338 foreach ($this->attributes as $attr_sel) {
380 foreach ($this->attributes as $attr_sel) {
1117 $attributes = $element->iECSSM_getAttributes();
1118 if (!empty($attributes ['style'])) {
1119 $rule = new css_rule ('*', $attributes ['style']);