private function fetchLoadValues(): bool
    {
        $row = $this->result()->fetchRow();
        if (false === $row) {
            $this->originalValues = null;
            $this->values = [];
            return false;
        }
        $this->originalValues = $this->setValuesFromDatafields($row);
        $this->values = $this->originalValues;
        return true;
    }
private function fetchLoadValues(): bool
    {
        $row = $this->result()->fetchRow();
        if (false === $row) {
            $this->originalValues = null;
            $this->values = [];
            return false;
        }
        $this->originalValues = $this->setValuesFromDatafields($row);
        $this->values = $this->originalValues;
        return true;
    }
private function fetchLoadValues ( ) : bool { $ row = $ this -> result ( ) -> fetchRow ( ) ; if ( false === $ row ) { $ this -> originalValues = null ; $ this -> values = [ ] ; return false ; } $ this -> originalValues = $ this -> setValuesFromDatafields ( $ row ) ; $ this -> values = $ this -> originalValues ; return true ; }
Try to load values fetching a new row
Return true if success
Return false if no row was fetched, also put values to an empty array
@return bool
Try to load values fetching a new row Return true if success Return false if no row was fetched also put values to an empty array