public function get($key) {
        if (array_key_exists($key, $this->_fields)) {
            if (gettype($this->_fields['' . $key . '']) == 'object') {
                return $this->_fields['' . $key . '']->value;
            }
            else {
                return $this->_fields['' . $key . ''];
            }
        }
        else {
            throw new MissingEntityException('The field "' . $key . '" doesn\'t exist in ' . $this->_name);
        }
    }
public function get($key) {
        if (array_key_exists($key, $this->_fields)) {
            if (gettype($this->_fields['' . $key . '']) == 'object') {
                return $this->_fields['' . $key . '']->value;
            }
            else {
                return $this->_fields['' . $key . ''];
            }
        }
        else {
            throw new MissingEntityException('The field "' . $key . '" doesn\'t exist in ' . $this->_name);
        }
    }
public function get ( $ key ) { if ( array_key_exists ( $ key , $ this -> _fields ) ) { if ( gettype ( $ this -> _fields [ '' . $ key . '' ] ) == 'object' ) { return $ this -> _fields [ '' . $ key . '' ] -> value ; } else { return $ this -> _fields [ '' . $ key . '' ] ; } } else { throw new MissingEntityException ( 'The field "' . $ key . '" doesn\'t exist in ' . $ this -> _name ) ; } }
return a field value
@access public
@param $key string
@throws MissingEntityException
@return mixed integer,boolean,string,\Gcs\Framework\Core\Orm\Entity\Type\Type
@since 3.0
@package Gcs\Framework\Core\Orm\Entity
return a field value