contentbox.models.exporters

Class DataExporter

lucee.Component
    extended by contentbox.models.exporters.BaseExporter
      extended by contentbox.models.exporters.DataExporter
All Implemented Interfaces:
ICBExporter

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Exporter for Data-based content

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any content
          The records this exporter will export.

    • access = public
    • returntype = any
    true false
    Constructor Summary
    init()
          Constructor.
    Method Summary
    string getContent()
    numeric getTotal()
         Gets "total" based on content type.
    any setContent(any content)
    array validate()
         Custom validator for this exporter.
     
    Methods inherited from class contentbox.models.exporters.BaseExporter
    getAllowedFormats, getDisplayName, getFileName, getFormat, getLog, getName, getPriority, isValid, setAllowedFormats, setDisplayName, setFileName, setFormat, setLog, setName, setPriority
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    content

    property any content

    The records this exporter will export

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    Method Detail

    getContent

    public string getContent()


    getTotal

    public numeric getTotal()

    Gets "total" based on content type

    Specified by:
    getTotal in interface ICBExporter

    setContent

    public any setContent(any content)

    Parameters:
    content

    validate

    public array validate()

    Custom validator for this exporter...any rules can be applied

    Specified by:
    validate in interface ICBExporter