private function getSent($orderId)
    {
        //Getting connection
        $connection  = $this->_resource->getConnection();
        //Getting full table name
        $tableName = $this->_resource->getTableName('pagseguro_orders');
        //Update sales_order_grid query
        $mapsDeleteQuery = "SELECT sent FROM {$tableName} WHERE order_id={$orderId}";
        return $connection->query($mapsDeleteQuery)->fetch();
    }
private function getSent($orderId)
    {
        //Getting connection
        $connection  = $this->_resource->getConnection();
        //Getting full table name
        $tableName = $this->_resource->getTableName('pagseguro_orders');
        //Update sales_order_grid query
        $mapsDeleteQuery = "SELECT sent FROM {$tableName} WHERE order_id={$orderId}";
        return $connection->query($mapsDeleteQuery)->fetch();
    }
private function getSent ( $ orderId ) { //Getting connection $ connection = $ this -> _resource -> getConnection ( ) ; //Getting full table name $ tableName = $ this -> _resource -> getTableName ( 'pagseguro_orders' ) ; //Update sales_order_grid query $ mapsDeleteQuery = "SELECT sent FROM {$tableName} WHERE order_id={$orderId}" ; return $ connection -> query ( $ mapsDeleteQuery ) -> fetch ( ) ; }
Get quantity of email was sent

@param int $orderId
@return array
Get quantity of email was sent