protected function convert($data)
    {
        foreach ($data[0] as $key => $value) {
            if (!$this->_kept && !$this->_stashed) {
                $this->$key = $value;
                $this->setKey($key, $value);
            } else {
                if ($this->_kept) {
                    $this->_keptData[$key] = $value;
                }
                if ($this->_stashed) {
                    $this->_stashedData[$key] = $value;
                }
            }

            $this->data[$key] = $value;
        }
    }
protected function convert($data)
    {
        foreach ($data[0] as $key => $value) {
            if (!$this->_kept && !$this->_stashed) {
                $this->$key = $value;
                $this->setKey($key, $value);
            } else {
                if ($this->_kept) {
                    $this->_keptData[$key] = $value;
                }
                if ($this->_stashed) {
                    $this->_stashedData[$key] = $value;
                }
            }

            $this->data[$key] = $value;
        }
    }
protected function convert ( $ data ) { foreach ( $ data [ 0 ] as $ key => $ value ) { if ( ! $ this -> _kept && ! $ this -> _stashed ) { $ this -> $ key = $ value ; $ this -> setKey ( $ key , $ value ) ; } else { if ( $ this -> _kept ) { $ this -> _keptData [ $ key ] = $ value ; } if ( $ this -> _stashed ) { $ this -> _stashedData [ $ key ] = $ value ; } } $ this -> data [ $ key ] = $ value ; } }
make data array colmuns as property
in case of hidden data property was true
data will be stored in hidden data
instead ofas property.

@param array $data

@return null
make data array colmuns as property in case of hidden data property was true data will be stored in hidden data instead ofas property .