class FeedsMissingPlugin in Feeds 7.2
Same name and namespace in other branches
- 6 plugins/FeedsPlugin.inc \FeedsMissingPlugin
- 7 plugins/FeedsPlugin.inc \FeedsMissingPlugin
Used when a plugin is missing.
Hierarchy
- class \FeedsConfigurable
- class \FeedsPlugin implements FeedsSourceInterface
- class \FeedsMissingPlugin
- class \FeedsPlugin implements FeedsSourceInterface
Expanded class hierarchy of FeedsMissingPlugin
2 string references to 'FeedsMissingPlugin'
- feeds_plugin in ./
feeds.module - Gets an instance of a class for a given plugin and id.
- _feeds_feeds_plugins in ./
feeds.plugins.inc - Break out for feeds_feed_plugins().
File
- plugins/
FeedsPlugin.inc, line 308 - Definition of FeedsPlugin class.
View source
class FeedsMissingPlugin extends FeedsPlugin {
/**
* {@inheritdoc}
*/
public function pluginType() {
return 'missing';
}
/**
* {@inheritdoc}
*/
public function save() {
}
/**
* Fetcher methods.
*/
public function fetch(FeedsSource $source) {
return new FeedsFetcherResult('');
}
/**
* {@inheritdoc}
*/
public function clear(FeedsSource $source) {
}
/**
* {@inheritdoc}
*/
public function request($feed_nid = 0) {
drupal_access_denied();
}
/**
* {@inheritdoc}
*/
public function menuItem() {
return array();
}
/**
* {@inheritdoc}
*/
public function subscribe(FeedsSource $source) {
}
/**
* {@inheritdoc}
*/
public function unsubscribe(FeedsSource $source) {
}
/**
* {@inheritdoc}
*/
public function importPeriod(FeedsSource $source) {
}
/**
* Parser methods.
*/
public function parse(FeedsSource $source, FeedsFetcherResult $fetcher_result) {
return new FeedsParserResult();
}
/**
* {@inheritdoc}
*/
public function getMappingSources() {
return array();
}
/**
* Processor methods.
*/
public function process(FeedsSource $source, FeedsParserResult $parser_result) {
}
/**
* {@inheritdoc}
*/
public function entityType() {
}
/**
* {@inheritdoc}
*/
public function bundle() {
}
/**
* {@inheritdoc}
*/
public function bundleOptions() {
return array();
}
/**
* {@inheritdoc}
*/
public function getLimit() {
return 0;
}
/**
* {@inheritdoc}
*/
public function getMappings() {
return array();
}
/**
* {@inheritdoc}
*/
public function getMappingTargets() {
return array();
}
/**
* {@inheritdoc}
*/
public function expire(FeedsSource $source, $time = NULL) {
}
/**
* {@inheritdoc}
*/
public function itemCount(FeedsSource $source) {
return 0;
}
/**
* {@inheritdoc}
*/
public function expiryTime() {
return FEEDS_EXPIRE_NEVER;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FeedsConfigurable:: |
protected | property | Holds the actual configuration information. | |
FeedsConfigurable:: |
protected | property | CTools export enabled status of this object. | |
FeedsConfigurable:: |
protected | property | CTools export type of this object. | |
FeedsConfigurable:: |
protected | property | An unique identifier for the configuration. | |
FeedsConfigurable:: |
public | function | Similar to setConfig but adds to existing configuration. | |
FeedsConfigurable:: |
public | function | Returns configuration form for this object. | 6 |
FeedsConfigurable:: |
public | function | Submission handler for configForm(). | 2 |
FeedsConfigurable:: |
public | function | Validation handler for configForm(). | 3 |
FeedsConfigurable:: |
public | function | Copy a configuration. | 1 |
FeedsConfigurable:: |
public | function | Determine whether this object is persistent. | 1 |
FeedsConfigurable:: |
public | function | Determines whether this object is persistent and enabled. | 1 |
FeedsConfigurable:: |
public | function | Implements getConfig(). | 1 |
FeedsConfigurable:: |
public | function | Returns whether or not the configurable has a config form. | |
FeedsConfigurable:: |
public | function | Determine whether this object is enabled. | |
FeedsConfigurable:: |
public | function | Set configuration. | |
FeedsConfigurable:: |
public | function | Validates the configuration. | 2 |
FeedsConfigurable:: |
public | function | Overrides magic method __get(). | |
FeedsConfigurable:: |
public | function | Override magic method __isset(). This is needed due to overriding __get(). | |
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | Fetcher methods. | |
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | Parser methods. | |
FeedsMissingPlugin:: |
public | function |
Returns the type of plugin. Overrides FeedsPlugin:: |
|
FeedsMissingPlugin:: |
public | function | Processor methods. | |
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function |
Save changes to the configuration of this object.
Delegate saving to parent (= Feed) which will collect
information from this object by way of getConfig() and store it. Overrides FeedsPlugin:: |
|
FeedsMissingPlugin:: |
public | function | ||
FeedsMissingPlugin:: |
public | function | ||
FeedsPlugin:: |
protected | property | The plugin definition. | |
FeedsPlugin:: |
public static | function | Get all available plugins. | |
FeedsPlugin:: |
public static | function | Gets all available plugins of a particular type. | |
FeedsPlugin:: |
public static | function | Determines whether given plugin is derived from given base plugin. | |
FeedsPlugin:: |
public | function |
Overrides FeedsConfigurable::configDefaults(). Overrides FeedsConfigurable:: |
4 |
FeedsPlugin:: |
public | function |
Implements FeedsConfigurable::dependencies(). Overrides FeedsConfigurable:: |
1 |
FeedsPlugin:: |
public | function |
Returns TRUE if $this->sourceForm() returns a form. Overrides FeedsSourceInterface:: |
|
FeedsPlugin:: |
public static | function |
Instantiates a FeedsPlugin object. Overrides FeedsConfigurable:: |
|
FeedsPlugin:: |
public static | function | Loads on-behalf implementations from mappers/ directory. | |
FeedsPlugin:: |
public | function | Returns the plugin definition. | |
FeedsPlugin:: |
protected | function | Sets the plugin definition. | |
FeedsPlugin:: |
public | function |
Implements FeedsSourceInterface::sourceDefaults(). Overrides FeedsSourceInterface:: |
1 |
FeedsPlugin:: |
public | function |
A source is being deleted. Overrides FeedsSourceInterface:: |
2 |
FeedsPlugin:: |
public | function |
Callback methods, exposes source form. Overrides FeedsSourceInterface:: |
3 |
FeedsPlugin:: |
public | function |
Validation handler for sourceForm. Overrides FeedsSourceInterface:: |
2 |
FeedsPlugin:: |
public | function |
A source is being saved. Overrides FeedsSourceInterface:: |
2 |
FeedsPlugin:: |
public static | function | Determines the type of a plugin. | |
FeedsPlugin:: |
protected | function |
Constructs a FeedsPlugin object. Overrides FeedsConfigurable:: |