class Kaltura::KalturaConfigurableDistributionProfile

Attributes

field_config_array[RW]
item_xpaths_to_extend[RW]
use_category_entries[RW]

When checking custom XSLT conditions using the fieldConfigArray - address only categories associated with the entry via the categoryEntry object

Public Instance Methods

from_xml(xml_element) click to toggle source
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 1091
def from_xml(xml_element)
        super
        if xml_element.elements['fieldConfigArray'] != nil
                self.field_config_array = KalturaClientBase.object_from_xml(xml_element.elements['fieldConfigArray'], 'KalturaDistributionFieldConfig')
        end
        if xml_element.elements['itemXpathsToExtend'] != nil
                self.item_xpaths_to_extend = KalturaClientBase.object_from_xml(xml_element.elements['itemXpathsToExtend'], 'KalturaExtendingItemMrssParameter')
        end
        if xml_element.elements['useCategoryEntries'] != nil
                self.use_category_entries = xml_element.elements['useCategoryEntries'].text
        end
end
use_category_entries=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 1087
def use_category_entries=(val)
        @use_category_entries = to_b(val)
end