src/Filter/TimestampImage.php
public function input($filename, $content)
    {
        $this->_filename = $filename;
        $content = preg_replace_callback($this->_backgroundPattern, array($this, '_replace'), $content);
        $content = preg_replace_callback($this->_backgroundImagePattern, array($this, '_replace'), $content);
        return $content;
    }
public function input($filename, $content)
    {
        $this->_filename = $filename;
        $content = preg_replace_callback($this->_backgroundPattern, array($this, '_replace'), $content);
        $content = preg_replace_callback($this->_backgroundImagePattern, array($this, '_replace'), $content);
        return $content;
    }
public function input ( $ filename , $ content ) { $ this -> _filename = $ filename ; $ content = preg_replace_callback ( $ this -> _backgroundPattern , array ( $ this , '_replace' ) , $ content ) ; $ content = preg_replace_callback ( $ this -> _backgroundImagePattern , array ( $ this , '_replace' ) , $ content ) ; return $ content ; }
Input filter. Locates CSS background images relative to the
filename and gets the filemtime for the images.

@param string $filename The file being processed
@param string $content The file content
@return The content with images timestamped.
Input filter . Locates CSS background images relative to the filename and gets the filemtime for the images .