You are here

class FeedsExTestUi in Feeds extensible parsers 7

Same name and namespace in other branches
  1. 7.2 tests/FeedsExTestUi.inc \FeedsExTestUi

A minimal implementation of a parser for UI testing.

Hierarchy

Expanded class hierarchy of FeedsExTestUi

2 string references to 'FeedsExTestUi'
FeedsExUi::setUp in src/Tests/FeedsExUi.test
feeds_ex_test_feeds_plugins in tests/feeds_ex_test.module
Implements hook_feeds_plugins().

File

tests/FeedsExTestUi.inc, line 11
Contains FeedsExTestUi.

View source
class FeedsExTestUi extends FeedsExBase {

  /**
   * {@inheritdoc}
   */
  protected function executeContext(FeedsSource $source, FeedsFetcherResult $fetcher_result) {
    return array();
  }

  /**
   * {@inheritdoc}
   */
  protected function executeSourceExpression($machine_name, $expression, $row) {
  }

  /**
   * {@inheritdoc}
   */
  protected function validateExpression(&$expression) {
  }

  /**
   * {@inheritdoc}
   */
  protected function getErrors() {
    return array();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FeedsExBase::$encoder protected property The encoder used to convert encodings.
FeedsExBase::$encoderClass protected property The class used as the text encoder. 1
FeedsExBase::$messenger protected property The object used to display messages to the user.
FeedsExBase::cleanUp protected function Allows subclasses to cleanup after parsing. 3
FeedsExBase::configDefaults public function 1
FeedsExBase::configForm public function 1
FeedsExBase::configFormTableColumn protected function Returns a form element for a specific column. 1
FeedsExBase::configFormTableHeader protected function Reuturns the list of table headers. 1
FeedsExBase::configFormValidate public function 1
FeedsExBase::debug protected function Renders our debug messages into a list.
FeedsExBase::executeSources protected function Executes the source expressions.
FeedsExBase::getEncoder public function Returns the encoder.
FeedsExBase::getFormHeader protected function Returns the configuration form table header.
FeedsExBase::getMappingSources public function
FeedsExBase::getMessenger public function Returns the messenger.
FeedsExBase::hasConfigForm public function
FeedsExBase::hasConfigurableContext protected function Returns whether or not this parser uses a context query. 2
FeedsExBase::hasSourceConfig public function
FeedsExBase::loadLibrary protected function Loads the necessary library. 2
FeedsExBase::logErrors protected function Logs errors.
FeedsExBase::parse public function
FeedsExBase::parseItems protected function Performs the actual parsing. 2
FeedsExBase::prepareExpressions protected function Prepares the expressions for parsing.
FeedsExBase::prepareRaw protected function Prepares the raw string for parsing.
FeedsExBase::prepareVariables protected function Prepares the variable map used to substitution.
FeedsExBase::printErrors protected function Prints errors to the screen.
FeedsExBase::setEncoder public function Sets the encoder.
FeedsExBase::setMessenger public function Sets the messenger to be used to display messages.
FeedsExBase::setUp protected function Allows subclasses to prepare for parsing. 3
FeedsExBase::sourceDefaults public function
FeedsExBase::sourceForm public function
FeedsExBase::sourceFormValidate public function
FeedsExBase::sourceSave public function
FeedsExBase::startErrorHandling protected function Starts internal error handling. 3
FeedsExBase::stopErrorHandling protected function Stops internal error handling. 1
FeedsExTestUi::executeContext protected function Returns rows to be parsed. Overrides FeedsExBase::executeContext
FeedsExTestUi::executeSourceExpression protected function Executes a single source expression. Overrides FeedsExBase::executeSourceExpression
FeedsExTestUi::getErrors protected function Returns the errors after parsing. Overrides FeedsExBase::getErrors
FeedsExTestUi::validateExpression protected function Validates an expression. Overrides FeedsExBase::validateExpression