summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Ryan2011-04-09 15:17:24 (GMT)
committer Mike Ryan2011-04-09 15:17:24 (GMT)
commit75d5029aaec98f837eb8a35eae134037a9dfd637 (patch)
tree989dd9656e749e0c43a660694af0cd15f22b0e76
parent552d9ae3de32f12fadb14acc3f7188d7881f3736 (diff)
Issue #1118480 by mikeryan: Document _name arguments to file fields
-rw-r--r--CHANGELOG.txt1
-rw-r--r--plugins/destinations/fields.inc6
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index a6ec25b..b7f99d9 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -7,6 +7,7 @@ Features and enhancements
- #1101592 - Replace --itemlimit with --limit, supporting time limits as well.
Bug fixes
+- #1118480 - Document _name arguments to file fields.
- #1108700 - Remove obsolete references to prepare().
- #1107546 - Check file presence with is_file() instead of file_exists().
- #1097136 - Replace list_number with list_integer and list_float in set of
diff --git a/plugins/destinations/fields.inc b/plugins/destinations/fields.inc
index 1983ee4..b28d353 100644
--- a/plugins/destinations/fields.inc
+++ b/plugins/destinations/fields.inc
@@ -413,11 +413,15 @@ class MigrateFileFieldHandler extends MigrateFieldHandler {
* @param language
* Language of the text (defaults to destination language)
* @param source_alt_name
+ * Name of source field containing alt value for the file.
* @param source_title_name
+ * Name of source field containing title value for the file.
* @param source_description_name
+ * Name of source field containing description value for the file.
* @param source_display_name
+ * Name of source field containing display value for the file.
* @param separator
- *
+ * String separating values within the incoming value.
*/
static function arguments($source_path = NULL, $file_function = 'file_copy', $file_replace = FILE_EXISTS_RENAME, $language = NULL, $source_alt_name = NULL, $source_title_name = NULL, $source_description_name = NULL, $source_display_name = NULL, $separator = NULL) {
return get_defined_vars();