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
08efad3c
Commit
08efad3c
authored
15 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
Improve documentation.
parent
c1cbe130
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/FeedsSource.inc
+5
-7
5 additions, 7 deletions
includes/FeedsSource.inc
with
5 additions
and
7 deletions
includes/FeedsSource.inc
+
5
−
7
View file @
08efad3c
...
...
@@ -61,10 +61,10 @@ interface FeedsSourceInterface {
* therefore a FeedsImporter never holds a pointer to a FeedsSource object, nor
* does it hold any other information for a particular FeedsSource object.
*
* FeedsPlugin
s that
implement
FeedsSourceInterface and return TRUE on
*
hasSourceConfig() can define default values and forms that allow fo
r
*
configuration of the FeedsSource. For an example, see FeedsFetcher and
*
FeedsHTTPFetch
er.
*
Classes extending
FeedsPlugin
can
implement
a sourceForm to expose
*
configuration for a FeedsSource object. This is for instance how FeedsFetche
r
*
exposes a text field for a feed URL or how FeedsCSVParser exposes a select
*
field for choosing between colon or semicolon delimit
er
s
.
*
* It is important that a FeedsPlugin does not directly hold information about
* a source but leave all storage up to FeedsSource. An instance of a
...
...
@@ -72,9 +72,7 @@ interface FeedsSourceInterface {
* instance of a FeedsSource class exists once per feed_nid to be imported.
*
* As with FeedsImporter, the idea with FeedsSource is that it can be used
* without actually saving the object to the database (
*
* @todo Test whether FeedsSource can be used without saving it.
* without actually saving the object to the database.
*/
class
FeedsSource
extends
FeedsConfigurable
{
...
...
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