protected static function parseOrder(array $rawOrder) {

        $dtOrder = new DataTablesOrder();

        if (false === static::isValidRawOrder($rawOrder)) {
            return $dtOrder;
        }

        $dtOrder->setColumn(intval($rawOrder[DataTablesOrderInterface::DATATABLES_PARAMETER_COLUMN]));
        $dtOrder->setDir($rawOrder[DataTablesOrderInterface::DATATABLES_PARAMETER_DIR]);

        return $dtOrder;
    }
protected static function parseOrder(array $rawOrder) {

        $dtOrder = new DataTablesOrder();

        if (false === static::isValidRawOrder($rawOrder)) {
            return $dtOrder;
        }

        $dtOrder->setColumn(intval($rawOrder[DataTablesOrderInterface::DATATABLES_PARAMETER_COLUMN]));
        $dtOrder->setDir($rawOrder[DataTablesOrderInterface::DATATABLES_PARAMETER_DIR]);

        return $dtOrder;
    }
protected static function parseOrder ( array $ rawOrder ) { $ dtOrder = new DataTablesOrder ( ) ; if ( false === static :: isValidRawOrder ( $ rawOrder ) ) { return $ dtOrder ; } $ dtOrder -> setColumn ( intval ( $ rawOrder [ DataTablesOrderInterface :: DATATABLES_PARAMETER_COLUMN ] ) ) ; $ dtOrder -> setDir ( $ rawOrder [ DataTablesOrderInterface :: DATATABLES_PARAMETER_DIR ] ) ; return $ dtOrder ; }
Parse a raw order.

@param array $rawOrder The raw order.
@return DataTablesOrderInterface Returns the order.
Parse a raw order .