public function readMapped($name)
    {
        if (!$this->hasMapping($name) && isset($this->mappings[$name])) {
            $this->addMapping($name, $this->mappings[$name]);
        }
        $value = $this->readAttribute($name);

        $value = $this->resolveMapping($name, $value);

        return $value;
    }
public function readMapped($name)
    {
        if (!$this->hasMapping($name) && isset($this->mappings[$name])) {
            $this->addMapping($name, $this->mappings[$name]);
        }
        $value = $this->readAttribute($name);

        $value = $this->resolveMapping($name, $value);

        return $value;
    }
public function readMapped ( $ name ) { if ( ! $ this -> hasMapping ( $ name ) && isset ( $ this -> mappings [ $ name ] ) ) { $ this -> addMapping ( $ name , $ this -> mappings [ $ name ] ) ; } $ value = $ this -> readAttribute ( $ name ) ; $ value = $ this -> resolveMapping ( $ name , $ value ) ; return $ value ; }
Returns mapped value of attribute

@param string $name
@return mixed
Returns mapped value of attribute