public function parse_value($value) {

        if (empty($this->resources)) {
            $this->resources = $this->get_resources();
        }
        if (!empty($this->resources)) {
            foreach ($this->resources as $resource) {
                $value = $resource->parse_value($value);
            }
        }

        return $value;

    }
public function parse_value($value) {

        if (empty($this->resources)) {
            $this->resources = $this->get_resources();
        }
        if (!empty($this->resources)) {
            foreach ($this->resources as $resource) {
                $value = $resource->parse_value($value);
            }
        }

        return $value;

    }
public function parse_value ( $ value ) { if ( empty ( $ this -> resources ) ) { $ this -> resources = $ this -> get_resources ( ) ; } if ( ! empty ( $ this -> resources ) ) { foreach ( $ this -> resources as $ resource ) { $ value = $ resource -> parse_value ( $ value ) ; } } return $ value ; }
Parse a string for custom substitution parameter variables supported by this service's resources.

@param string $value  Value to be parsed

@return string
Parse a string for custom substitution parameter variables supported by this service s resources .