class FeedsExTestUi in Feeds extensible parsers 7
Same name and namespace in other branches
- 7.2 tests/FeedsExTestUi.inc \FeedsExTestUi
A minimal implementation of a parser for UI testing.
Hierarchy
- class \FeedsExBase extends \FeedsParser
- class \FeedsExTestUi
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FeedsExBase:: |
protected | property | The encoder used to convert encodings. | |
FeedsExBase:: |
protected | property | The class used as the text encoder. | 1 |
FeedsExBase:: |
protected | property | The object used to display messages to the user. | |
FeedsExBase:: |
protected | function | Allows subclasses to cleanup after parsing. | 3 |
FeedsExBase:: |
public | function | 1 | |
FeedsExBase:: |
public | function | 1 | |
FeedsExBase:: |
protected | function | Returns a form element for a specific column. | 1 |
FeedsExBase:: |
protected | function | Reuturns the list of table headers. | 1 |
FeedsExBase:: |
public | function | 1 | |
FeedsExBase:: |
protected | function | Renders our debug messages into a list. | |
FeedsExBase:: |
protected | function | Executes the source expressions. | |
FeedsExBase:: |
public | function | Returns the encoder. | |
FeedsExBase:: |
protected | function | Returns the configuration form table header. | |
FeedsExBase:: |
public | function | ||
FeedsExBase:: |
public | function | Returns the messenger. | |
FeedsExBase:: |
public | function | ||
FeedsExBase:: |
protected | function | Returns whether or not this parser uses a context query. | 2 |
FeedsExBase:: |
public | function | ||
FeedsExBase:: |
protected | function | Loads the necessary library. | 2 |
FeedsExBase:: |
protected | function | Logs errors. | |
FeedsExBase:: |
public | function | ||
FeedsExBase:: |
protected | function | Performs the actual parsing. | 2 |
FeedsExBase:: |
protected | function | Prepares the expressions for parsing. | |
FeedsExBase:: |
protected | function | Prepares the raw string for parsing. | |
FeedsExBase:: |
protected | function | Prepares the variable map used to substitution. | |
FeedsExBase:: |
protected | function | Prints errors to the screen. | |
FeedsExBase:: |
public | function | Sets the encoder. | |
FeedsExBase:: |
public | function | Sets the messenger to be used to display messages. | |
FeedsExBase:: |
protected | function | Allows subclasses to prepare for parsing. | 3 |
FeedsExBase:: |
public | function | ||
FeedsExBase:: |
public | function | ||
FeedsExBase:: |
public | function | ||
FeedsExBase:: |
public | function | ||
FeedsExBase:: |
protected | function | Starts internal error handling. | 3 |
FeedsExBase:: |
protected | function | Stops internal error handling. | 1 |
FeedsExTestUi:: |
protected | function |
Returns rows to be parsed. Overrides FeedsExBase:: |
|
FeedsExTestUi:: |
protected | function |
Executes a single source expression. Overrides FeedsExBase:: |
|
FeedsExTestUi:: |
protected | function |
Returns the errors after parsing. Overrides FeedsExBase:: |
|
FeedsExTestUi:: |
protected | function |
Validates an expression. Overrides FeedsExBase:: |