public function &get($field, $default=null, $autoset=false)
    {
        if($this->exists($field))
        {
            return $this->__data[$field];
        }
        if($autoset===true)
        {
            $this->set($field, $default);
            return $this->get($field);
        }
        return $default;
    }
public function &get($field, $default=null, $autoset=false)
    {
        if($this->exists($field))
        {
            return $this->__data[$field];
        }
        if($autoset===true)
        {
            $this->set($field, $default);
            return $this->get($field);
        }
        return $default;
    }
public function & get ( $ field , $ default = null , $ autoset = false ) { if ( $ this -> exists ( $ field ) ) { return $ this -> __data [ $ field ] ; } if ( $ autoset === true ) { $ this -> set ( $ field , $ default ) ; return $ this -> get ( $ field ) ; } return $ default ; }
Get field by its name
@param mixed $field
@param mixed $default
@param bool $autoset
@return mixed
Get field by its name