public function reload()
    {
        $this->data = (array)$this->db->select($this->table, array($this->primaryKey => $this->get($this->primaryKey)));
        $this->changedData = array();
        $this->isChanged = false;
        $this->triggerCallback('afterLoad');
        return $this;
    }
public function reload()
    {
        $this->data = (array)$this->db->select($this->table, array($this->primaryKey => $this->get($this->primaryKey)));
        $this->changedData = array();
        $this->isChanged = false;
        $this->triggerCallback('afterLoad');
        return $this;
    }
public function reload ( ) { $ this -> data = ( array ) $ this -> db -> select ( $ this -> table , array ( $ this -> primaryKey => $ this -> get ( $ this -> primaryKey ) ) ) ; $ this -> changedData = array ( ) ; $ this -> isChanged = false ; $ this -> triggerCallback ( 'afterLoad' ) ; return $ this ; }
Reload the record data from database

@return $this
Reload the record data from database