private function _setSqlRecord($sqlArr)
    {
        foreach ($this->varValue as $key => $field) {
            if ($field->column || $field->sqlExpression) {
                $field->setValue($sqlArr[$field->index]);
            }
        }
        if (isset($this->varValue["Id"]))
            $this->varValue["Id"]->setValue($this->getKeyValue());
    }
private function _setSqlRecord($sqlArr)
    {
        foreach ($this->varValue as $key => $field) {
            if ($field->column || $field->sqlExpression) {
                $field->setValue($sqlArr[$field->index]);
            }
        }
        if (isset($this->varValue["Id"]))
            $this->varValue["Id"]->setValue($this->getKeyValue());
    }
private function _setSqlRecord ( $ sqlArr ) { foreach ( $ this -> varValue as $ key => $ field ) { if ( $ field -> column || $ field -> sqlExpression ) { $ field -> setValue ( $ sqlArr [ $ field -> index ] ) ; } } if ( isset ( $ this -> varValue [ "Id" ] ) ) $ this -> varValue [ "Id" ] -> setValue ( $ this -> getKeyValue ( ) ) ; }
Set sql record array to internal data

@param array $sqlArr indexed-value array from sql result
@return avoid
Set sql record array to internal data