protected function postprocess_result($result) { if ($this->settings['return_objects']) { $result = new Page($this->core, $result); } return parent::postprocess_result($result); }
function __construct($modulename, $core) { $this->modulename = $modulename; parent::__construct($core); }