Lines Matching refs:header
272 public function setAttribute($header, $name, $value) argument
275 $lheader = strtolower($header);
277 if (!$this->has($header))
280 …"Cannot set attribute '" . $name . "' for header '" . $header . "' as the header does not exist. "…
298 public function hasAttribute($header, $name) argument
301 $lheader = strtolower($header);
302 if (!$this->has($header))
318 public function getAttribute($header, $name) argument
320 if (!$this->has($header))
323 …"Cannot locate attribute '" . $name . "' for header '" . $header . "' as the header does not exist…
328 $lheader = strtolower($header);
330 if ($this->hasAttribute($header, $name))
340 public function removeAttribute($header, $name) argument
343 $lheader = strtolower($header);
344 if ($this->has($header))
354 public function listAttributes($header) argument
356 $header = strtolower($header);
357 if (array_key_exists($header, $this->attributes))
359 return $this->attributes[$header];