a:66:{s:9:"#provides";s:33:"dojox.atom.widget.FeedEntryViewer";s:9:"#resource";s:30:"atom/widget/FeedEntryViewer.js";s:9:"#requires";a:6:{i:0;a:3:{i:0;s:6:"common";i:1;s:7:"dojo.fx";i:2;s:4:"dojo";}i:1;a:3:{i:0;s:6:"common";i:1;s:13:"dijit._Widget";i:2;s:5:"dijit";}i:2;a:3:{i:0;s:6:"common";i:1;s:16:"dijit._Templated";i:2;s:5:"dijit";}i:3;a:3:{i:0;s:6:"common";i:1;s:16:"dijit._Container";i:2;s:5:"dijit";}i:4;a:3:{i:0;s:6:"common";i:1;s:24:"dijit.layout.ContentPane";i:2;s:5:"dijit";}i:5;a:2:{i:0;s:6:"common";i:1;s:24:"dojox.atom.io.Connection";}}s:33:"dojox.atom.widget.FeedEntryViewer";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:13:"dijit._Widget";}s:4:"call";a:3:{i:0;s:13:"dijit._Widget";i:1;s:16:"dijit._Templated";i:2;s:16:"dijit._Container";}}s:6:"mixins";a:1:{s:9:"prototype";a:2:{i:0;s:26:"dijit._Templated.prototype";i:1;s:26:"dijit._Container.prototype";}}s:7:"summary";s:95:"An ATOM feed entry editor for publishing updated ATOM entries, or viewing non-editable entries.";s:11:"description";s:95:"An ATOM feed entry editor for publishing updated ATOM entries, or viewing non-editable entries.";s:9:"classlike";b:1;}s:53:"dojox.atom.widget.FeedEntryViewer.entrySelectionTopic";a:2:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:51:"dojox.atom.widget.FeedEntryViewer._validEntryFields";a:5:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:6:"Object";s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"private";b:1;s:7:"summary";s:0:"";}s:54:"dojox.atom.widget.FeedEntryViewer.displayEntrySections";a:3:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:55:"dojox.atom.widget.FeedEntryViewer._displayEntrySections";a:4:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"private";b:1;s:7:"summary";s:0:"";}s:44:"dojox.atom.widget.FeedEntryViewer.enableMenu";a:2:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:48:"dojox.atom.widget.FeedEntryViewer.enableMenuFade";a:2:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:56:"dojox.atom.widget.FeedEntryViewer._optionButtonDisplayed";a:4:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"private";b:1;s:7:"summary";s:0:"";}s:46:"dojox.atom.widget.FeedEntryViewer.templatePath";a:2:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:40:"dojox.atom.widget.FeedEntryViewer._entry";a:4:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"private";b:1;s:7:"summary";s:0:"";}s:39:"dojox.atom.widget.FeedEntryViewer._feed";a:4:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"private";b:1;s:7:"summary";s:0:"";}s:43:"dojox.atom.widget.FeedEntryViewer._editMode";a:3:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"private";b:1;s:7:"summary";s:0:"";}s:44:"dojox.atom.widget.FeedEntryViewer.postCreate";a:4:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:6:"source";s:832:" if(this.entrySelectionTopic !== ""){ this._subscriptions = [dojo.subscribe(this.entrySelectionTopic, this, "_handleEvent")]; } var _nlsResources = dojo.i18n.getLocalization("dojox.atom.widget", "FeedEntryViewer"); this.displayOptions.innerHTML = _nlsResources.displayOptions; this.feedEntryCheckBoxLabelTitle.innerHTML = _nlsResources.title; this.feedEntryCheckBoxLabelAuthors.innerHTML = _nlsResources.authors; this.feedEntryCheckBoxLabelContributors.innerHTML = _nlsResources.contributors; this.feedEntryCheckBoxLabelId.innerHTML = _nlsResources.id; this.close.innerHTML = _nlsResources.close; this.feedEntryCheckBoxLabelUpdated.innerHTML = _nlsResources.updated; this.feedEntryCheckBoxLabelSummary.innerHTML = _nlsResources.summary; this.feedEntryCheckBoxLabelContent.innerHTML = _nlsResources.content;";s:7:"summary";s:0:"";}s:41:"dojox.atom.widget.FeedEntryViewer.startup";a:4:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:6:"source";s:589:" if(this.displayEntrySections === ""){ this._displayEntrySections = ["title","authors","contributors","summary","content","id","updated"]; }else{ this._displayEntrySections = this.displayEntrySections.split(","); } this._setDisplaySectionsCheckboxes(); if(this.enableMenu){ dojo.style(this.feedEntryViewerMenu, 'display', ''); if(this.entryCheckBoxRow && this.entryCheckBoxRow2){ if(this.enableMenuFade){ dojo.fadeOut({node: this.entryCheckBoxRow,duration: 250}).play(); dojo.fadeOut({node: this.entryCheckBoxRow2,duration: 250}).play(); } } }";s:7:"summary";s:0:"";}s:39:"dojox.atom.widget.FeedEntryViewer.clear";a:5:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:6:"source";s:88:" this.destroyDescendants(); this._entry=null; this._feed=null; this.clearNodes();";s:7:"summary";s:42:"Function to clear the state of the widget.";s:11:"description";s:42:"Function to clear the state of the widget.";}s:44:"dojox.atom.widget.FeedEntryViewer.clearNodes";a:5:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:6:"source";s:661:" dojo.forEach([ "entryTitleRow", "entryAuthorRow", "entryContributorRow", "entrySummaryRow", "entryContentRow", "entryIdRow", "entryUpdatedRow" ], function(node){ dojo.style(this[node], "display", "none"); }, this); dojo.forEach([ "entryTitleNode", "entryTitleHeader", "entryAuthorHeader", "entryContributorHeader", "entryContributorNode", "entrySummaryHeader", "entrySummaryNode", "entryContentHeader", "entryContentNode", "entryIdNode", "entryIdHeader", "entryUpdatedHeader", "entryUpdatedNode" ], function(part){ while(this[part].firstChild){ dojo.destroy(this[part].firstChild); } } ,this);";s:7:"summary";s:75:"Function to clear all the display nodes for the ATOM entry from the viewer.";s:11:"description";s:75:"Function to clear all the display nodes for the ATOM entry from the viewer.";}s:42:"dojox.atom.widget.FeedEntryViewer.setEntry";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:69:"Instance of dojox.atom.io.model.Entry to display for reading/editing.";}s:4:"feed";a:1:{s:4:"type";s:6:"object";}s:14:"leaveMenuState";a:1:{s:4:"type";s:7:"boolean";}}s:6:"source";s:1573:" this.clear(); this._validEntryFields = {}; this._entry = entry; this._feed = feed; if(entry !== null){ // Handle the title. if(this.entryTitleHeader){ this.setTitleHeader(this.entryTitleHeader, entry); } if(this.entryTitleNode){ this.setTitle(this.entryTitleNode, this._editMode, entry); } if(this.entryAuthorHeader){ this.setAuthorsHeader(this.entryAuthorHeader, entry); } if(this.entryAuthorNode){ this.setAuthors(this.entryAuthorNode, this._editMode, entry); } if(this.entryContributorHeader){ this.setContributorsHeader(this.entryContributorHeader, entry); } if(this.entryContributorNode){ this.setContributors(this.entryContributorNode, this._editMode, entry); } if(this.entryIdHeader){ this.setIdHeader(this.entryIdHeader, entry); } if(this.entryIdNode){ this.setId(this.entryIdNode, this._editMode, entry); } if(this.entryUpdatedHeader){ this.setUpdatedHeader(this.entryUpdatedHeader, entry); } if(this.entryUpdatedNode){ this.setUpdated(this.entryUpdatedNode, this._editMode, entry); } if(this.entrySummaryHeader){ this.setSummaryHeader(this.entrySummaryHeader, entry); } if(this.entrySummaryNode){ this.setSummary(this.entrySummaryNode, this._editMode, entry); } if(this.entryContentHeader){ this.setContentHeader(this.entryContentHeader, entry); } if(this.entryContentNode){ this.setContent(this.entryContentNode, this._editMode, entry); } } this._displaySections();";s:7:"summary";s:55:"Function to set the current entry that is being edited.";s:11:"description";s:55:"Function to set the current entry that is being edited.";}s:48:"dojox.atom.widget.FeedEntryViewer.setTitleHeader";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:15:"titleHeaderNode";a:1:{s:4:"type";s:8:"DOM node";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:302:" if(entry.title && entry.title.value && entry.title.value !== null){ var _nlsResources = dojo.i18n.getLocalization("dojox.atom.widget", "FeedEntryViewer"); var titleHeader = new dojox.atom.widget.EntryHeader({title: _nlsResources.title}); titleHeaderNode.appendChild(titleHeader.domNode); }";s:7:"summary";s:84:"Function to set the contents of the title header node in the template to some value.";s:11:"description";s:315:"Function to set the contents of the title header node in the template to some value. This exists specifically so users can over-ride how the title data is filled out from an entry. titleAchorNode: The DOM node to attach the title data to. editMode: Boolean to indicate if the display should be in edit mode or not.";}s:42:"dojox.atom.widget.FeedEntryViewer.setTitle";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:15:"titleAnchorNode";a:1:{s:4:"type";s:0:"";}s:8:"editMode";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:57:"to indicate if the display should be in edit mode or not.";}s:5:"entry";a:2:{s:4:"type";s:3:"The";s:7:"summary";s:24:"Feed Entry to work with.";}}s:6:"source";s:543:" if(entry.title && entry.title.value && entry.title.value !== null){ if(entry.title.type == "text"){ var titleNode = document.createTextNode(entry.title.value); titleAnchorNode.appendChild(titleNode); } else { var titleViewNode = document.createElement("span"); var titleView = new dijit.layout.ContentPane({refreshOnShow: true, executeScripts: false}, titleViewNode); titleView.attr('content', entry.title.value); titleAnchorNode.appendChild(titleView.domNode); } this.setFieldValidity("title", true); }";s:7:"summary";s:92:"Function to set the contents of the title node in the template to some value from the entry.";s:11:"description";s:247:"Function to set the contents of the title node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry. titleAchorNode: The DOM node to attach the title data to.";}s:50:"dojox.atom.widget.FeedEntryViewer.setAuthorsHeader";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:16:"authorHeaderNode";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:57:"The DOM node to attach the author section header data to.";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:286:" if(entry.authors && entry.authors.length > 0){ var _nlsResources = dojo.i18n.getLocalization("dojox.atom.widget", "FeedEntryViewer"); var authorHeader = new dojox.atom.widget.EntryHeader({title: _nlsResources.authors}); authorHeaderNode.appendChild(authorHeader.domNode); }";s:7:"summary";s:120:"Function to set the title format for the authors section of the author row in the template to some value from the entry.";s:11:"description";s:217:"Function to set the title format for the authors section of the author row in the template to some value from the entry. This exists specifically so users can over-ride how the author data is filled out from an entry.";}s:44:"dojox.atom.widget.FeedEntryViewer.setAuthors";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:17:"authorsAnchorNode";a:1:{s:4:"type";s:8:"DOM node";}s:8:"editMode";a:2:{s:4:"type";s:7:"boolean";s:7:"summary";s:65:"Boolean to indicate if the display should be in edit mode or not.";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:710:" if(entry.authors && entry.authors.length > 0){ for (var i in entry.authors){ if(entry.authors[i].name){ var anchor = authorsAnchorNode; if(entry.authors[i].uri){ var link = document.createElement("a"); anchor.appendChild(link); link.href = entry.authors[i].uri; anchor = link; } var name = entry.authors[i].name; if(entry.authors[i].email){ name = name + " (" + entry.authors[i].email + ")"; } var authorNode = document.createTextNode(name); anchor.appendChild(authorNode); var breakNode = document.createElement("br"); authorsAnchorNode.appendChild(breakNode); this.setFieldValidity("authors", true); } } }";s:7:"summary";s:93:"Function to set the contents of the author node in the template to some value from the entry.";s:11:"description";s:251:"Function to set the contents of the author node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry. authorsAchorNode: The DOM node to attach the author data to.";}s:55:"dojox.atom.widget.FeedEntryViewer.setContributorsHeader";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:22:"contributorsHeaderNode";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:48:"The DOM node to attach the contributor title to.";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:317:" if(entry.contributors && entry.contributors.length > 0){ var _nlsResources = dojo.i18n.getLocalization("dojox.atom.widget", "FeedEntryViewer"); var contributorHeader = new dojox.atom.widget.EntryHeader({title: _nlsResources.contributors}); contributorsHeaderNode.appendChild(contributorHeader.domNode); }";s:7:"summary";s:105:"Function to set the contents of the contributor header node in the template to some value from the entry.";s:11:"description";s:201:"Function to set the contents of the contributor header node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry.";}s:49:"dojox.atom.widget.FeedEntryViewer.setContributors";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:22:"contributorsAnchorNode";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:47:"The DOM node to attach the contributor data to.";}s:8:"editMode";a:2:{s:4:"type";s:7:"boolean";s:7:"summary";s:65:"Boolean to indicate if the display should be in edit mode or not.";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:391:" if(entry.contributors && entry.contributors.length > 0){ for (var i in entry.contributors){ var contributorNode = document.createTextNode(entry.contributors[i].name); contributorsAnchorNode.appendChild(contributorNode); var breakNode = document.createElement("br"); contributorsAnchorNode.appendChild(breakNode); this.setFieldValidity("contributors", true); } }";s:7:"summary";s:98:"Function to set the contents of the contributor node in the template to some value from the entry.";s:11:"description";s:194:"Function to set the contents of the contributor node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry.";}s:45:"dojox.atom.widget.FeedEntryViewer.setIdHeader";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:12:"idHeaderNode";a:1:{s:4:"type";s:8:"DOM node";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:257:" if(entry.id && entry.id !== null){ var _nlsResources = dojo.i18n.getLocalization("dojox.atom.widget", "FeedEntryViewer"); var idHeader = new dojox.atom.widget.EntryHeader({title: _nlsResources.id}); idHeaderNode.appendChild(idHeader.domNode); }";s:7:"summary";s:90:"Function to set the contents of the ID node in the template to some value from the entry.";s:11:"description";s:239:"Function to set the contents of the ID node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry. idAnchorNode: The DOM node to attach the ID data to.";}s:39:"dojox.atom.widget.FeedEntryViewer.setId";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:12:"idAnchorNode";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:38:"The DOM node to attach the ID data to.";}s:8:"editMode";a:2:{s:4:"type";s:7:"boolean";s:7:"summary";s:65:"Boolean to indicate if the display should be in edit mode or not.";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:166:" if(entry.id && entry.id !== null){ var idNode = document.createTextNode(entry.id); idAnchorNode.appendChild(idNode); this.setFieldValidity("id", true); }";s:7:"summary";s:90:"Function to set the contents of the ID node in the template to some value from the entry.";s:11:"description";s:185:"Function to set the contents of the ID node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry.";}s:50:"dojox.atom.widget.FeedEntryViewer.setUpdatedHeader";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:17:"updatedHeaderNode";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:50:"The DOM node to attach the updated header data to.";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:287:" if(entry.updated && entry.updated !== null){ var _nlsResources = dojo.i18n.getLocalization("dojox.atom.widget", "FeedEntryViewer"); var updatedHeader = new dojox.atom.widget.EntryHeader({title: _nlsResources.updated}); updatedHeaderNode.appendChild(updatedHeader.domNode); }";s:7:"summary";s:101:"Function to set the contents of the updated header node in the template to some value from the entry.";s:11:"description";s:197:"Function to set the contents of the updated header node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry.";}s:44:"dojox.atom.widget.FeedEntryViewer.setUpdated";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:17:"updatedAnchorNode";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:43:"The DOM node to attach the udpated data to.";}s:8:"editMode";a:2:{s:4:"type";s:7:"boolean";s:7:"summary";s:65:"Boolean to indicate if the display should be in edit mode or not.";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:201:" if(entry.updated && entry.updated !== null){ var updatedNode = document.createTextNode(entry.updated); updatedAnchorNode.appendChild(updatedNode); this.setFieldValidity("updated", true); }";s:7:"summary";s:95:"Function to set the contents of the updated node in the template to some value from the entry.";s:11:"description";s:190:"Function to set the contents of the updated node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry.";}s:50:"dojox.atom.widget.FeedEntryViewer.setSummaryHeader";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:17:"summaryHeaderNode";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:44:"The DOM node to attach the summary title to.";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:316:" if(entry.summary && entry.summary.value && entry.summary.value !== null){ var _nlsResources = dojo.i18n.getLocalization("dojox.atom.widget", "FeedEntryViewer"); var summaryHeader = new dojox.atom.widget.EntryHeader({title: _nlsResources.summary}); summaryHeaderNode.appendChild(summaryHeader.domNode); }";s:7:"summary";s:95:"Function to set the contents of the summary node in the template to some value from the entry.";s:11:"description";s:190:"Function to set the contents of the summary node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry.";}s:44:"dojox.atom.widget.FeedEntryViewer.setSummary";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:17:"summaryAnchorNode";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:43:"The DOM node to attach the summary data to.";}s:8:"editMode";a:2:{s:4:"type";s:7:"boolean";s:7:"summary";s:65:"Boolean to indicate if the display should be in edit mode or not.";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:401:" if(entry.summary && entry.summary.value && entry.summary.value !== null){ var summaryViewNode = document.createElement("span"); var summaryView = new dijit.layout.ContentPane({refreshOnShow: true, executeScripts: false}, summaryViewNode); summaryView.attr('content', entry.summary.value); summaryAnchorNode.appendChild(summaryView.domNode); this.setFieldValidity("summary", true); }";s:7:"summary";s:95:"Function to set the contents of the summary node in the template to some value from the entry.";s:11:"description";s:190:"Function to set the contents of the summary node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry.";}s:50:"dojox.atom.widget.FeedEntryViewer.setContentHeader";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:17:"contentHeaderNode";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:43:"The DOM node to attach the content data to.";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:316:" if(entry.content && entry.content.value && entry.content.value !== null){ var _nlsResources = dojo.i18n.getLocalization("dojox.atom.widget", "FeedEntryViewer"); var contentHeader = new dojox.atom.widget.EntryHeader({title: _nlsResources.content}); contentHeaderNode.appendChild(contentHeader.domNode); }";s:7:"summary";s:94:"Function to set the contents of the content node in the template to some value from the entry.";s:11:"description";s:190:"Function to set the contents of the content node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry.";}s:44:"dojox.atom.widget.FeedEntryViewer.setContent";a:6:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:17:"contentAnchorNode";a:2:{s:4:"type";s:8:"DOM node";s:7:"summary";s:43:"The DOM node to attach the content data to.";}s:8:"editMode";a:2:{s:4:"type";s:7:"boolean";s:7:"summary";s:65:"Boolean to indicate if the display should be in edit mode or not.";}s:5:"entry";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:28:"The Feed Entry to work with.";}}s:6:"source";s:400:" if(entry.content && entry.content.value && entry.content.value !== null){ var contentViewNode = document.createElement("span"); var contentView = new dijit.layout.ContentPane({refreshOnShow: true, executeScripts: false},contentViewNode); contentView.attr('content', entry.content.value); contentAnchorNode.appendChild(contentView.domNode); this.setFieldValidity("content", true); }";s:7:"summary";s:94:"Function to set the contents of the content node in the template to some value from the entry.";s:11:"description";s:190:"Function to set the contents of the content node in the template to some value from the entry. This exists specifically so users can over-ride how the title data is filled out from an entry.";}s:50:"dojox.atom.widget.FeedEntryViewer._displaySections";a:7:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:6:"source";s:1327:" dojo.style(this.entryTitleRow, 'display', 'none'); dojo.style(this.entryAuthorRow, 'display', 'none'); dojo.style(this.entryContributorRow, 'display', 'none'); dojo.style(this.entrySummaryRow, 'display', 'none'); dojo.style(this.entryContentRow, 'display', 'none'); dojo.style(this.entryIdRow, 'display', 'none'); dojo.style(this.entryUpdatedRow, 'display', 'none'); for (var i in this._displayEntrySections){ var section = this._displayEntrySections[i].toLowerCase(); if(section === "title" && this.isFieldValid("title")){ dojo.style(this.entryTitleRow, 'display', ''); } if(section === "authors" && this.isFieldValid("authors")){ dojo.style(this.entryAuthorRow, 'display', ''); } if(section === "contributors" && this.isFieldValid("contributors")){ dojo.style(this.entryContributorRow, 'display', ''); } if(section === "summary" && this.isFieldValid("summary")){ dojo.style(this.entrySummaryRow, 'display', ''); } if(section === "content" && this.isFieldValid("content")){ dojo.style(this.entryContentRow, 'display', ''); } if(section === "id" && this.isFieldValid("id")){ dojo.style(this.entryIdRow, 'display', ''); } if(section === "updated" && this.isFieldValid("updated")){ dojo.style(this.entryUpdatedRow, 'display', ''); } }";s:7:"summary";s:81:"Internal function for determining which sections of the view to actually display.";s:11:"description";s:81:"Internal function for determining which sections of the view to actually display.";s:14:"return_summary";s:8:"Nothing.";s:7:"private";b:1;}s:52:"dojox.atom.widget.FeedEntryViewer.setDisplaySections";a:7:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:13:"sectionsArray";a:2:{s:4:"type";s:5:"array";s:7:"summary";s:62:"Array of string names that indicate which sections to display.";}}s:6:"source";s:224:" if(sectionsArray !== null){ this._displayEntrySections = sectionsArray; this._displaySections(); } else { this._displayEntrySections = ["title","authors","contributors","summary","content","id","updated"]; }";s:7:"summary";s:69:"Function for setting which sections of the entry should be displayed.";s:11:"description";s:69:"Function for setting which sections of the entry should be displayed.";s:14:"return_summary";s:8:"Nothing.";}s:63:"dojox.atom.widget.FeedEntryViewer._setDisplaySectionsCheckboxes";a:7:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:6:"source";s:360:" var items = ["title","authors","contributors","summary","content","id","updated"]; for(var i in items){ if(dojo.indexOf(this._displayEntrySections, items[i])==-1){ dojo.style(this["feedEntryCell"+items[i]], 'display', 'none'); }else{ this["feedEntryCheckBox"+items[i].substring(0,1).toUpperCase()+items[i].substring(1)].checked=true; } }";s:7:"summary";s:75:"Internal function for setting which checkboxes on the display are selected.";s:11:"description";s:75:"Internal function for setting which checkboxes on the display are selected.";s:14:"return_summary";s:8:"Nothing.";s:7:"private";b:1;}s:54:"dojox.atom.widget.FeedEntryViewer._readDisplaySections";a:7:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:6:"source";s:632:" var checkedList = []; if(this.feedEntryCheckBoxTitle.checked){ checkedList.push("title"); } if(this.feedEntryCheckBoxAuthors.checked){ checkedList.push("authors"); } if(this.feedEntryCheckBoxContributors.checked){ checkedList.push("contributors"); } if(this.feedEntryCheckBoxSummary.checked){ checkedList.push("summary"); } if(this.feedEntryCheckBoxContent.checked){ checkedList.push("content"); } if(this.feedEntryCheckBoxId.checked){ checkedList.push("id"); } if(this.feedEntryCheckBoxUpdated.checked){ checkedList.push("updated"); } this._displayEntrySections = checkedList;";s:7:"summary";s:108:"Internal function for reading what is currently checked for display and generating the display list from it.";s:11:"description";s:108:"Internal function for reading what is currently checked for display and generating the display list from it.";s:14:"return_summary";s:8:"Nothing.";s:7:"private";b:1;}s:49:"dojox.atom.widget.FeedEntryViewer._toggleCheckbox";a:8:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:8:"checkBox";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:47:"The checkbox object to toggle the selection on.";}}s:6:"source";s:151:" if(checkBox.checked){ checkBox.checked=false; } else { checkBox.checked=true; } this._readDisplaySections(); this._displaySections();";s:7:"summary";s:68:"Internal function for determining of a particular entry is editable.";s:11:"description";s:146:"Internal function for determining of a particular entry is editable. This is used for determining if the delete action should be displayed or not.";s:14:"return_summary";s:7:"Nothing";s:7:"private";b:1;}s:48:"dojox.atom.widget.FeedEntryViewer._toggleOptions";a:8:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:8:"checkBox";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:47:"The checkbox object to toggle the selection on.";}}s:6:"source";s:1660:" if(this.enableMenu){ var fade = null; var anim; var anim2; if(this._optionButtonDisplayed){ if(this.enableMenuFade){ anim = dojo.fadeOut({node: this.entryCheckBoxDisplayOptions,duration: 250}); dojo.connect(anim, "onEnd", this, function(){ dojo.style(this.entryCheckBoxDisplayOptions, 'display', 'none'); dojo.style(this.entryCheckBoxRow, 'display', ''); dojo.style(this.entryCheckBoxRow2, 'display', ''); dojo.fadeIn({node: this.entryCheckBoxRow, duration: 250}).play(); dojo.fadeIn({node: this.entryCheckBoxRow2, duration: 250}).play(); }); anim.play(); }else{ dojo.style(this.entryCheckBoxDisplayOptions, 'display', 'none'); dojo.style(this.entryCheckBoxRow, 'display', ''); dojo.style(this.entryCheckBoxRow2, 'display', ''); } this._optionButtonDisplayed=false; }else{ if(this.enableMenuFade){ anim = dojo.fadeOut({node: this.entryCheckBoxRow,duration: 250}); anim2 = dojo.fadeOut({node: this.entryCheckBoxRow2,duration: 250}); dojo.connect(anim, "onEnd", this, function(){ dojo.style(this.entryCheckBoxRow, 'display', 'none'); dojo.style(this.entryCheckBoxRow2, 'display', 'none'); dojo.style(this.entryCheckBoxDisplayOptions, 'display', ''); dojo.fadeIn({node: this.entryCheckBoxDisplayOptions, duration: 250}).play(); }); anim.play(); anim2.play(); }else{ dojo.style(this.entryCheckBoxRow, 'display', 'none'); dojo.style(this.entryCheckBoxRow2, 'display', 'none'); dojo.style(this.entryCheckBoxDisplayOptions, 'display', ''); } this._optionButtonDisplayed=true; } }";s:7:"summary";s:68:"Internal function for determining of a particular entry is editable.";s:11:"description";s:146:"Internal function for determining of a particular entry is editable. This is used for determining if the delete action should be displayed or not.";s:14:"return_summary";s:7:"Nothing";s:7:"private";b:1;}s:46:"dojox.atom.widget.FeedEntryViewer._handleEvent";a:8:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:19:"entrySelectionEvent";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:66:"The topic message containing the entry that was selected for view.";}}s:6:"source";s:339:" if(entrySelectionEvent.source != this){ if(entrySelectionEvent.action == "set" && entrySelectionEvent.entry){ this.setEntry(entrySelectionEvent.entry, entrySelectionEvent.feed); }else if(entrySelectionEvent.action == "delete" && entrySelectionEvent.entry && entrySelectionEvent.entry == this._entry){ this.clear(); } }";s:7:"summary";s:79:"Internal function for listening to a topic that will handle entry notification.";s:11:"description";s:79:"Internal function for listening to a topic that will handle entry notification.";s:14:"return_summary";s:8:"Nothing.";s:7:"private";b:1;}s:50:"dojox.atom.widget.FeedEntryViewer.setFieldValidity";a:7:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"field";a:2:{s:4:"type";s:6:"string";s:7:"summary";s:76:"The field name to set the valid parameter on. Such as 'content', 'id', etc.";}s:7:"isValid";a:2:{s:4:"type";s:7:"boolean";s:7:"summary";s:43:"Flag denoting if the field is valid or not.";}}s:6:"source";s:101:" if(field){ var lowerField = field.toLowerCase(); this._validEntryFields[field] = isValid; }";s:7:"summary";s:69:"Function to set whether a field in the view is valid and displayable.";s:11:"description";s:277:"Function to set whether a field in the view is valid and displayable. This is needed for over-riding of the set* functions and customization of how data is displayed in the attach point. So if custom implementations use their own display logic, they can still enable the field.";s:14:"return_summary";s:8:"Nothing.";}s:46:"dojox.atom.widget.FeedEntryViewer.isFieldValid";a:7:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"field";a:2:{s:4:"type";s:6:"string";s:7:"summary";s:76:"The field name to get the valid parameter of. Such as 'content', 'id', etc.";}}s:6:"source";s:53:" return this._validEntryFields[field.toLowerCase()];";s:7:"summary";s:57:"Function to return if a displayable field is valid or not";s:11:"description";s:57:"Function to return if a displayable field is valid or not";s:14:"return_summary";s:47:"boolean denoting if the field is valid and set.";}s:42:"dojox.atom.widget.FeedEntryViewer.getEntry";a:4:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:6:"source";s:21:" return this._entry;";s:7:"summary";s:0:"";}s:41:"dojox.atom.widget.FeedEntryViewer.getFeed";a:4:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:6:"source";s:21:" return this._feed;";s:7:"summary";s:0:"";}s:41:"dojox.atom.widget.FeedEntryViewer.destroy";a:4:{s:9:"prototype";s:33:"dojox.atom.widget.FeedEntryViewer";s:4:"type";s:8:"Function";s:6:"source";s:70:" this.clear(); dojo.forEach(this._subscriptions, dojo.unsubscribe);";s:7:"summary";s:0:"";}s:48:"dojox.atom.widget.FeedEntryViewer._subscriptions";a:3:{s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"private";b:1;s:7:"summary";s:0:"";}s:58:"dojox.atom.widget.FeedEntryViewer.displayOptions.innerHTML";a:2:{s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:71:"dojox.atom.widget.FeedEntryViewer.feedEntryCheckBoxLabelTitle.innerHTML";a:2:{s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:73:"dojox.atom.widget.FeedEntryViewer.feedEntryCheckBoxLabelAuthors.innerHTML";a:2:{s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:78:"dojox.atom.widget.FeedEntryViewer.feedEntryCheckBoxLabelContributors.innerHTML";a:2:{s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:68:"dojox.atom.widget.FeedEntryViewer.feedEntryCheckBoxLabelId.innerHTML";a:2:{s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:49:"dojox.atom.widget.FeedEntryViewer.close.innerHTML";a:2:{s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:73:"dojox.atom.widget.FeedEntryViewer.feedEntryCheckBoxLabelUpdated.innerHTML";a:2:{s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:73:"dojox.atom.widget.FeedEntryViewer.feedEntryCheckBoxLabelSummary.innerHTML";a:2:{s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:73:"dojox.atom.widget.FeedEntryViewer.feedEntryCheckBoxLabelContent.innerHTML";a:2:{s:8:"instance";s:33:"dojox.atom.widget.FeedEntryViewer";s:7:"summary";s:0:"";}s:29:"dojox.atom.widget.EntryHeader";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:13:"dijit._Widget";}s:4:"call";a:3:{i:0;s:13:"dijit._Widget";i:1;s:16:"dijit._Templated";i:2;s:16:"dijit._Container";}}s:6:"mixins";a:1:{s:9:"prototype";a:2:{i:0;s:26:"dijit._Templated.prototype";i:1;s:26:"dijit._Container.prototype";}}s:7:"summary";s:56:"Widget representing a header in a FeedEntryViewer/Editor";s:11:"description";s:56:"Widget representing a header in a FeedEntryViewer/Editor";s:9:"classlike";b:1;}s:35:"dojox.atom.widget.EntryHeader.title";a:3:{s:9:"prototype";s:29:"dojox.atom.widget.EntryHeader";s:8:"instance";s:29:"dojox.atom.widget.EntryHeader";s:7:"summary";s:0:"";}s:42:"dojox.atom.widget.EntryHeader.templatePath";a:2:{s:9:"prototype";s:29:"dojox.atom.widget.EntryHeader";s:7:"summary";s:0:"";}s:40:"dojox.atom.widget.EntryHeader.postCreate";a:4:{s:9:"prototype";s:29:"dojox.atom.widget.EntryHeader";s:4:"type";s:8:"Function";s:6:"source";s:23:" this.setListHeader();";s:7:"summary";s:0:"";}s:43:"dojox.atom.widget.EntryHeader.setListHeader";a:5:{s:9:"prototype";s:29:"dojox.atom.widget.EntryHeader";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"title";a:1:{s:4:"type";s:6:"string";}}s:6:"source";s:155:" this.clear(); if(title){ this.title = title; } var textNode = document.createTextNode(this.title); this.entryHeaderNode.appendChild(textNode);";s:7:"summary";s:0:"";}s:35:"dojox.atom.widget.EntryHeader.clear";a:4:{s:9:"prototype";s:29:"dojox.atom.widget.EntryHeader";s:4:"type";s:8:"Function";s:6:"source";s:213:" this.destroyDescendants(); if(this.entryHeaderNode){ for (var i = 0; i < this.entryHeaderNode.childNodes.length; i++){ this.entryHeaderNode.removeChild(this.entryHeaderNode.childNodes[i]); } }";s:7:"summary";s:0:"";}s:37:"dojox.atom.widget.EntryHeader.destroy";a:4:{s:9:"prototype";s:29:"dojox.atom.widget.EntryHeader";s:4:"type";s:8:"Function";s:6:"source";s:15:" this.clear();";s:7:"summary";s:0:"";}s:17:"dojox.atom.widget";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:10:"dojox.atom";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}