protected function _checkForFiles($method_template, $key, $value) {
    if (!array_key_exists($method_template, self::$_possible_files)
      || !in_array($key, self::$_possible_files[$method_template])
    ) {
      return false;
    }
    $data = $this->_buildBinaryBody($value);
    if ($data === $value) {
      return false;
    }
    return $data;
  }
protected function _checkForFiles($method_template, $key, $value) {
    if (!array_key_exists($method_template, self::$_possible_files)
      || !in_array($key, self::$_possible_files[$method_template])
    ) {
      return false;
    }
    $data = $this->_buildBinaryBody($value);
    if ($data === $value) {
      return false;
    }
    return $data;
  }
protected function _checkForFiles ( $ method_template , $ key , $ value ) { if ( ! array_key_exists ( $ method_template , self :: $ _possible_files ) || ! in_array ( $ key , self :: $ _possible_files [ $ method_template ] ) ) { return false ; } $ data = $ this -> _buildBinaryBody ( $ value ) ; if ( $ data === $ value ) { return false ; } return $ data ; }
Check for files

@param string $method_template The method template to call
@param string $key             The parameter name
@param string $value           The possible file name or URL

@return mixed
Check for files