Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
feeds
Commits
17b4b7ee
Commit
17b4b7ee
authored
12 years ago
by
Chris Leppanen
Browse files
Options
Downloads
Patches
Plain Diff
Move static method to member method.
parent
48b76ced
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
plugins/FeedsFetcher.inc
+1
-1
1 addition, 1 deletion
plugins/FeedsFetcher.inc
plugins/FeedsParser.inc
+1
-1
1 addition, 1 deletion
plugins/FeedsParser.inc
plugins/FeedsPlugin.inc
+4
-1
4 additions, 1 deletion
plugins/FeedsPlugin.inc
plugins/FeedsProcessor.inc
+1
-1
1 addition, 1 deletion
plugins/FeedsProcessor.inc
with
7 additions
and
4 deletions
plugins/FeedsFetcher.inc
+
1
−
1
View file @
17b4b7ee
...
@@ -116,7 +116,7 @@ abstract class FeedsFetcher extends FeedsPlugin {
...
@@ -116,7 +116,7 @@ abstract class FeedsFetcher extends FeedsPlugin {
/**
/**
* Implements FeedsPlugin::pluginType().
* Implements FeedsPlugin::pluginType().
*/
*/
public
static
function
pluginType
()
{
public
function
pluginType
()
{
return
'fetcher'
;
return
'fetcher'
;
}
}
...
...
This diff is collapsed.
Click to expand it.
plugins/FeedsParser.inc
+
1
−
1
View file @
17b4b7ee
...
@@ -56,7 +56,7 @@ abstract class FeedsParser extends FeedsPlugin {
...
@@ -56,7 +56,7 @@ abstract class FeedsParser extends FeedsPlugin {
/**
/**
* Implements FeedsPlugin::pluginType().
* Implements FeedsPlugin::pluginType().
*/
*/
public
static
function
pluginType
()
{
public
function
pluginType
()
{
return
'parser'
;
return
'parser'
;
}
}
...
...
This diff is collapsed.
Click to expand it.
plugins/FeedsPlugin.inc
+
4
−
1
View file @
17b4b7ee
...
@@ -35,7 +35,7 @@ abstract class FeedsPlugin extends FeedsConfigurable implements FeedsSourceInter
...
@@ -35,7 +35,7 @@ abstract class FeedsPlugin extends FeedsConfigurable implements FeedsSourceInter
* @return string
* @return string
* One of either 'fetcher', 'parser', or 'processor'.
* One of either 'fetcher', 'parser', or 'processor'.
*/
*/
abstract
public
static
function
pluginType
();
abstract
public
function
pluginType
();
/**
/**
* Save changes to the configuration of this object.
* Save changes to the configuration of this object.
...
@@ -211,6 +211,9 @@ abstract class FeedsPlugin extends FeedsConfigurable implements FeedsSourceInter
...
@@ -211,6 +211,9 @@ abstract class FeedsPlugin extends FeedsConfigurable implements FeedsSourceInter
* Used when a plugin is missing.
* Used when a plugin is missing.
*/
*/
class
FeedsMissingPlugin
extends
FeedsPlugin
{
class
FeedsMissingPlugin
extends
FeedsPlugin
{
public
function
pluginType
()
{
return
'missing'
;
}
public
function
menuItem
()
{
public
function
menuItem
()
{
return
array
();
return
array
();
}
}
...
...
This diff is collapsed.
Click to expand it.
plugins/FeedsProcessor.inc
+
1
−
1
View file @
17b4b7ee
...
@@ -32,7 +32,7 @@ abstract class FeedsProcessor extends FeedsPlugin {
...
@@ -32,7 +32,7 @@ abstract class FeedsProcessor extends FeedsPlugin {
/**
/**
* Implements FeedsPlugin::pluginType().
* Implements FeedsPlugin::pluginType().
*/
*/
public
static
function
pluginType
()
{
public
function
pluginType
()
{
return
'processor'
;
return
'processor'
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment