public function get_file_parser_spec() { $spec = is_file($this->get_resource_dir() . 'results-definition.xml') ? $this->get_resource_dir() . 'results-definition.xml' : false; if (!$spec) { $extends = $this->get_test_extension(); if (!empty($extends)) { $test_profile = new pts_test_profile($extends); $spec = $test_profile->get_file_parser_spec(); } } return $spec; }