You are here

public function HttpResponseHeadersRule::hasPages in HTTP Response Headers 7

Checks whether pages is set.

Return value

bool TRUE if set, FALSE otherwise.

File

includes/http_response_headers.rule.inc, line 374
Class definitions for the HTTP response headers rule.

Class

HttpResponseHeadersRule
Defines HttpResponseHeadersRule

Code

public function hasPages() {
  return !empty($this->pages);
}