private function __buildDatasourcePooledParamList($datasources)
    {
        if (!is_array($datasources) || empty($datasources)) {
            return array();
        }

        $list = array();

        foreach ($datasources as $handle) {
            $rootelement = str_replace('_', '-', $handle);
            $list[] = '$ds-' . $rootelement;
        }

        return $list;
    }
private function __buildDatasourcePooledParamList($datasources)
    {
        if (!is_array($datasources) || empty($datasources)) {
            return array();
        }

        $list = array();

        foreach ($datasources as $handle) {
            $rootelement = str_replace('_', '-', $handle);
            $list[] = '$ds-' . $rootelement;
        }

        return $list;
    }
private function __buildDatasourcePooledParamList ( $ datasources ) { if ( ! is_array ( $ datasources ) || empty ( $ datasources ) ) { return array ( ) ; } $ list = array ( ) ; foreach ( $ datasources as $ handle ) { $ rootelement = str_replace ( '_' , '-' , $ handle ) ; $ list [ ] = '$ds-' . $ rootelement ; } return $ list ; }
Given an array of datasource dependancies, this function will translate
each of them to be a valid datasource handle.

@param array $datasources
The datasource dependencies
@return array
An array of the handlised datasources
Given an array of datasource dependancies this function will translate each of them to be a valid datasource handle .