I am getting order details through sales/order
by using load(order_id)
. But load does not give the data, but loadIncrementById()
returns the order data.
What is the difference between these load()
and loadIncrementById()
?and which situation these are used?
Is all model can be extracted by using these methods?
load
andloadByIncrementId
?