protected function getResultTable($results)
    {
        $resultSet = 1;
        $resultTable     = \MUtil_Html::create()->array();
        foreach ($results as $result) {
            if (is_string($result)) {
                $this->addMessage($result);
            } else {
                $resultRow = $resultTable->echo($result, sprintf($this->_('Result set %s.'), $resultSet++));
                $resultRow->class = 'browser';
            }
        }
        return $resultTable;
    }
protected function getResultTable($results)
    {
        $resultSet = 1;
        $resultTable     = \MUtil_Html::create()->array();
        foreach ($results as $result) {
            if (is_string($result)) {
                $this->addMessage($result);
            } else {
                $resultRow = $resultTable->echo($result, sprintf($this->_('Result set %s.'), $resultSet++));
                $resultRow->class = 'browser';
            }
        }
        return $resultTable;
    }
protected function getResultTable ( $ results ) { $ resultSet = 1 ; $ resultTable = \ MUtil_Html :: create ( ) -> array ( ) ; foreach ( $ results as $ result ) { if ( is_string ( $ result ) ) { $ this -> addMessage ( $ result ) ; } else { $ resultRow = $ resultTable -> echo ( $ result , sprintf ( $ this -> _ ( 'Result set %s.' ) , $ resultSet ++ ) ) ; $ resultRow -> class = 'browser' ; } } return $ resultTable ; }
Return an array attribute with the current resultset

@return \MUtil_Html_ArrayAttribute
Return an array attribute with the current resultset