public function execute(array &$param_pool = null)
 {
     $result = new XMLElement($this->dsParamROOTELEMENT);
     try {
         $result = parent::execute($param_pool);
     } catch (FrontendPageNotFoundException $e) {
         // Work around. This ensures the 404 page is displayed and
         // is not picked up by the default catch() statement below
         FrontendPageNotFoundExceptionHandler::render($e);
     } catch (Exception $e) {
         $result->appendChild(new XMLElement('error', $e->getMessage() . ' on ' . $e->getLine() . ' of file ' . $e->getFile()));
         return $result;
     }
     if ($this->_force_empty_result) {
         $result = $this->emptyXMLSet();
     }
     return $result;
 }
 public function execute(array &$param_pool = null)
 {
     $result = new XMLElement($this->dsParamROOTELEMENT);
     if (isset($_GET['page'])) {
         $this->dsParamSTARTPAGE = $_GET['page'];
     }
     $this->dsParamLIMIT = Symphony::Configuration()->get('re-index-per-page', 'search_index');
     try {
         $result = parent::execute($param_pool);
     } catch (FrontendPageNotFoundException $e) {
         // Work around. This ensures the 404 page is displayed and
         // is not picked up by the default catch() statement below
         FrontendPageNotFoundExceptionHandler::render($e);
     } catch (Exception $e) {
         $result->appendChild(new XMLElement('error', $e->getMessage() . ' on ' . $e->getLine() . ' of file ' . $e->getFile()));
         return $result;
     }
     if ($this->_force_empty_result) {
         $result = $this->emptyXMLSet();
     }
     return $result;
 }
 public function __construct($env = NULL, $process_params = true)
 {
     parent::__construct($env, $process_params);
 }
<?php

$sectionDS = new SectionDatasource(array(), false);
$sectionDS->setSource($this->getSource());
$classParams = get_object_vars($this);
foreach ($classParams as $key => $value) {
    $sectionDS->{$key} = $value;
}
$result = $sectionDS->execute($param_pool);
return $result;
 public function __construct($env = NULL, $process_params = true)
 {
     parent::__construct($env, $process_params);
     $this->_dependencies = array();
 }