contentbox.models.media

Class CFContentMediaProvider

lucee.Component
    extended by contentbox.models.media.BaseProvider
      extended by contentbox.models.media.CFContentMediaProvider

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Deliver file via cfcontent

Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any requestService


    • access = public
    • returntype = any
    • inject = coldbox:requestService
    true false
    Constructor Summary
    init()
          Constructor.
    Method Summary
    any deliverMedia(any mediaPath)
         Deliver the media.
    string getRequestService()
    any setRequestService(any requestService)
     
    Methods inherited from class contentbox.models.media.BaseProvider
    getCbfs, getDescription, getDisplayName, getLog, getMediaService, getName, getPublicURL, getRealMediaPath, getTemplateCache, mediaExists, setCbfs, setDescription, setDisplayName, setLog, setMediaService, setName, setTemplateCache
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    requestService

    property any requestService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - coldbox:requestService
    serializable - true

    Method Detail

    deliverMedia

    public any deliverMedia(any mediaPath)

    Deliver the media

    Parameters:
    mediaPath - the media path to deliver back to the user

    getRequestService

    public string getRequestService()


    setRequestService

    public any setRequestService(any requestService)

    Parameters:
    requestService