You are here

class FeedsExTestUi in Feeds extensible parsers 7.2

Same name and namespace in other branches
  1. 7 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::$isMultibyte protected property Whether the current system handles mb_* functions.
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
FeedsExBase::convertEncoding protected function Converts a string to UTF-8. 1
FeedsExBase::debug protected function Renders our debug messages into a list.
FeedsExBase::delegateParsing protected function Delegates parsing to the subclass.
FeedsExBase::detectEncoding protected function Detects the encoding of a string.
FeedsExBase::executeSources protected function Executes the source expressions.
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::prepareExpressions protected function Prepares the expressions for parsing.
FeedsExBase::prepareVariables protected function Prepares the variable map used to substitution.
FeedsExBase::printErrors protected function Prints errors to the screen.
FeedsExBase::setMessenger public function Sets the messenger to be used to display messages.
FeedsExBase::setMultibyte public function Sets the multibyte handling.
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. 1
FeedsExBase::stopErrorHandling protected function Stops internal error handling. 1
FeedsExBase::__construct protected function 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