public function QPACssEventHandler::__construct in QueryPath 7.2
Same name and namespace in other branches
- 6 qpa/qpa.classes.inc \QPACssEventHandler::__construct()
- 7.3 qpa/qpa.classes.inc \QPACssEventHandler::__construct()
File
- qpa/
qpa.classes.inc, line 16 - qpa.classes
Class
- QPACssEventHandler
- qpa.classes
Code
public function __construct($form) {
if (!is_array($form)) {
throw new Exception('Expected form in constructor.');
}
// This is the form array
$this->form = $form;
// Matches is a numerically indexed array
$this->matches[] = $form;
}