You are here

public function EmapiMedia::set_uri in Embedded Media Field 6.3

2 calls to EmapiMedia::set_uri()
EmapiMedia::parse in emapi/includes/emapi.class.media.inc
EmapiMedia::__construct in emapi/includes/emapi.class.media.inc

File

emapi/includes/emapi.class.media.inc, line 70
Base Embedded Media Object, to be extended by individual providers.

Class

EmapiMedia
@file Base Embedded Media Object, to be extended by individual providers.

Code

public function set_uri($value) {
  if ($id = $this
    ->extract_value($value)) {
    $this
      ->set_value($id);
  }
  return $this
    ->set('uri', $value);
}