Sha256: fd5516f6d29fc45ed07cff30078fa8305a2c467cf70f7f69a5dea5c491b971bf
Contents?: true
Size: 762 Bytes
Versions: 2
Compression:
Stored size: 762 Bytes
Contents
# # File:: PHPProcessor.rb # Author:: wkm # Copyright:: 2009 # License:: GPL # # Defines a PHPProcessor class; but it's really a very lightweight alias # around the HTMLProcessor # module SiteFuel module Processor require 'sitefuel/processors/HTMLProcessor' # An alias for the HTMLProcessor; there is nothing PHP specific # sitefuel can do at the moment. class PHPProcessor < HTMLProcessor # PHP specific file patterns def self.file_patterns # it doesn't really make sense to handle phps files, so we're leaving # them alone. It might make sense to have a dummy empty processor for # the files so it's clear we recognize them. ['.php', '.phtml', '.php5'] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sitefuel-0.0.0b | lib/sitefuel/processors/PHPProcessor.rb |
sitefuel-0.0.0a | lib/sitefuel/processors/PHPProcessor.rb |