You are here

public function ImageAPIOptimizeProcessorBinary::getFullPathToBinary in Image Optimize (or ImageAPI Optimize) 7.2

10 calls to ImageAPIOptimizeProcessorBinary::getFullPathToBinary()
ImageAPIOptimizeProcessorAdvDef::process in plugins/imageapi_optimize/ImageAPIOptimizeProcessorAdvDef.inc
ImageAPIOptimizeProcessorAdvPng::process in plugins/imageapi_optimize/ImageAPIOptimizeProcessorAdvPng.inc
ImageAPIOptimizeProcessorBinary::getDescription in plugins/imageapi_optimize/ImageAPIOptimizeProcessorBinary.inc
ImageAPIOptimizeProcessorJfifRemove::process in plugins/imageapi_optimize/ImageAPIOptimizeProcessorJfifRemove.inc
ImageAPIOptimizeProcessorJpegOptim::process in plugins/imageapi_optimize/ImageAPIOptimizeProcessorJpegOptim.inc

... See full list

File

plugins/imageapi_optimize/ImageAPIOptimizeProcessorBinary.inc, line 23

Class

ImageAPIOptimizeProcessorBinary

Code

public function getFullPathToBinary() {
  if ($this
    ->getManualExecutablePath()) {
    return $this
      ->findExecutablePath($this
      ->getManualExecutablePath());
  }
  elseif ($this
    ->findExecutablePath()) {
    return $this
      ->findExecutablePath();
  }
}