You are here

public function Textimage::setCaching in Textimage 7.3

Set caching.

Parameters

bool $caching: TRUE if caching is required for this Textimage.

Return value

self this object

File

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

Class

Textimage
@file Textimage - Textimage class.

Code

public function setCaching($caching) {

  // If destination URI has been forced, this setting is not effective.
  if (!$this->forcedUri) {
    $this
      ->set('caching', $caching);
  }
  return $this;
}