Class: SiteFuel::Processor::PHPProcessor
- Inherits:
-
HTMLProcessor
- Object
- AbstractProcessor
- AbstractStringBasedProcessor
- HTMLProcessor
- SiteFuel::Processor::PHPProcessor
- Defined in:
- lib/sitefuel/processors/PHPProcessor.rb
Overview
An alias for the HTMLProcessor; there is nothing PHP specific sitefuel can do at the moment.
Constant Summary
Constants inherited from HTMLProcessor
HTMLProcessor::ARROW_DOUBLE_LEFTRIGHT, HTMLProcessor::ARROW_DOUBLE_LEFTWARD, HTMLProcessor::ARROW_DOUBLE_RIGHTWARD, HTMLProcessor::ARROW_LEFTRIGHT, HTMLProcessor::ARROW_LEFTWARD, HTMLProcessor::ARROW_RIGHTWARD, HTMLProcessor::COPYRIGHT, HTMLProcessor::DOUBLE_QUOTE_CLOSE, HTMLProcessor::DOUBLE_QUOTE_OPEN, HTMLProcessor::ELLIPSIS, HTMLProcessor::EM_DASH, HTMLProcessor::EN_DASH, HTMLProcessor::MULTIPLICATION_SIGN, HTMLProcessor::REGISTERED, HTMLProcessor::SINGLE_QUOTE_CLOSE, HTMLProcessor::SINGLE_QUOTE_OPEN, HTMLProcessor::TEXTUAL_TAGS, HTMLProcessor::TEXTUAL_TAGS_FILTER, HTMLProcessor::TRADEMARK
Instance Attribute Summary
Attributes inherited from AbstractStringBasedProcessor
Attributes inherited from AbstractProcessor
#execution_list, #original_size, #processed_size, #resource_name
Class Method Summary collapse
-
.file_patterns ⇒ Object
PHP specific file patterns.
Methods inherited from HTMLProcessor
default_filterset, #filter_beautify_arrows, #filter_beautify_dashes, #filter_beautify_math, #filter_beautify_quotes, #filter_beautify_symbols, #filter_minify_javascript, #filter_minify_styles, #filter_whitespace, filterset_beautify, filterset_minify, #finish_filters, #setup_filters, #traverse
Methods inherited from AbstractStringBasedProcessor
filter_string, #generate, #generate_string, #open_file, #open_string, process_file, process_string, #processor_symbol, processor_type, #save
Methods inherited from AbstractProcessor
#add_filter, #add_filterset, #clear_filters, #create_file, default_filterset, #drop_filter, #execute, file_pattern_match?, filter?, #filter?, filters, filters_in_filterset, filterset?, filterset_ignore, filtersets, find_processors, #finish_filters, #initialize, processes_file?, processor_name, #processor_symbol, processor_type, #run_filter, #run_filterset, #save, #setup_filters
Methods included from ClassLogging
#debug, #error, #fatal, #info, #warn
Methods included from Configurable
#configuration_options, #configure, #ensure_configurable_option, #post_configuration, #pre_configuration, #set_configuration
Methods included from Logging
#debug, #error, #fatal, #info, #logger=, #warn
Constructor Details
This class inherits a constructor from SiteFuel::Processor::AbstractProcessor
Class Method Details
.file_patterns ⇒ Object
PHP specific file patterns
22 23 24 25 26 27 |
# File 'lib/sitefuel/processors/PHPProcessor.rb', line 22 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 |