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
a1d8f565
Commit
a1d8f565
authored
15 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
Improve comments on batching functions.
parent
475305c0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
includes/FeedsImporter.inc
+2
-2
2 additions, 2 deletions
includes/FeedsImporter.inc
includes/FeedsSource.inc
+8
-0
8 additions, 0 deletions
includes/FeedsSource.inc
with
10 additions
and
2 deletions
includes/FeedsImporter.inc
+
2
−
2
View file @
a1d8f565
...
...
@@ -68,8 +68,8 @@ class FeedsImporter extends FeedsConfigurable {
* given, internal processor settings will be used.
*
* @return
* FEEDS_BATCH_COMPLETE if
complete, a float between 0 and 1 indicating
*
progress otherwise
.
* FEEDS_BATCH_COMPLETE if
the expiry process finished. A decimal between
*
0.0 and 0.9 periodic if expiry is still in progress
.
*
* @throws
* Throws Exception if an error occurs when expiring items.
...
...
This diff is collapsed.
Click to expand it.
includes/FeedsSource.inc
+
8
−
0
View file @
a1d8f565
...
...
@@ -116,6 +116,10 @@ class FeedsSource extends FeedsConfigurable {
* Lock a source before importing by using FeedsSource::lock(), after
* importing, release with FeedsSource::release().
*
* @return
* FEEDS_BATCH_COMPLETE if the import process finished. A decimal between
* 0.0 and 0.9 periodic if import is still in progress.
*
* @throws
* Throws Exception if an error occurs when importing.
*/
...
...
@@ -143,6 +147,10 @@ class FeedsSource extends FeedsConfigurable {
/**
* Remove all items from a feed.
*
* @return
* FEEDS_BATCH_COMPLETE if the clearing process finished. A decimal between
* 0.0 and 0.9 periodic if clearing is still in progress.
*
* @throws
* Throws Exception if an error occurs when clearing.
*/
...
...
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