src/aria/pageEngine/PageEngine.js
function (pageConfig, contentId) {
            var outputContent = [];
            var content = pageConfig.contents.placeholderContents
                    ? pageConfig.contents.placeholderContents[contentId]
                    : null;
            if (!content) {
                return outputContent;
            }
            if (!ariaUtilsType.isArray(content)) {
                content = [content];
            }
            for (var i = 0, length = content.length; i < length; i++) {
                outputContent = outputContent.concat(this.processContent(content[i]));
            }
            return outputContent;
        }
function (pageConfig, contentId) {
            var outputContent = [];
            var content = pageConfig.contents.placeholderContents
                    ? pageConfig.contents.placeholderContents[contentId]
                    : null;
            if (!content) {
                return outputContent;
            }
            if (!ariaUtilsType.isArray(content)) {
                content = [content];
            }
            for (var i = 0, length = content.length; i < length; i++) {
                outputContent = outputContent.concat(this.processContent(content[i]));
            }
            return outputContent;
        }
function ( pageConfig , contentId ) { var outputContent = [ ] ; var content = pageConfig . contents . placeholderContents ? pageConfig . contents . placeholderContents [ contentId ] : null ; if ( ! content ) { return outputContent ; } if ( ! ariaUtilsType . isArray ( content ) ) { content = [ content ] ; } for ( var i = 0 , length = content . length ; i < length ; i ++ ) { outputContent = outputContent . concat ( this . processContent ( content [ i ] ) ) ; } return outputContent ; }
Retrieve the contents corresponding to a certain contentId from the page definition
@param {aria.pageEngine.CfgBeans:PageDefinition} pageConfig
@param {String} contentId
@return {Array} Array of strings corresponding to processed content
@protected
Retrieve the contents corresponding to a certain contentId from the page definition