- /**
- * Load object data
- *
- * @deprecated
- * @param integer $modelId
- * @param null|string $field
- * @return $this
- */
- public function load($modelId, $field = null)
- {
- $this->_beforeLoad($modelId, $field);
- $this->_getResource()->load($this, $modelId, $field);
- $this->_afterLoad();
- $this->setOrigData();
- $this->_hasDataChanges = false;
- $this->updateStoredData();
- return $this;
- }