You are here

public function Textimage::setTargetUri in Textimage 7.3

Set image destination URI.

Parameters

string $uri: A valid URI.

Return value

self this object

File

classes/Textimage.inc, line 269
Textimage - Textimage class.

Class

Textimage
@file Textimage - Textimage class.

Code

public function setTargetUri($uri) {
  if ($uri) {
    $this
      ->set('uri', $uri);
    $this
      ->set('caching', FALSE);
    $this
      ->set('forcedUri', TRUE);
  }
  return $this;
}