public function offsetGet($prop)
    {
        $prop = $this->getRealPropertyName($prop);
        return isset($this->{$prop}) ? $this->{$prop}->value : null;
    }
public function offsetGet($prop)
    {
        $prop = $this->getRealPropertyName($prop);
        return isset($this->{$prop}) ? $this->{$prop}->value : null;
    }
public function offsetGet ( $ prop ) { $ prop = $ this -> getRealPropertyName ( $ prop ) ; return isset ( $ this -> { $ prop } ) ? $ this -> { $ prop } -> value : null ; }
Get property by name
@param string Property name
@return mixed
Get property by name