PEAR_Size
[ class tree: PEAR_Size ] [ index: PEAR_Size ] [ all elements ]

Class: PEAR_Size_Output_Driver

Source Location: /PEAR_Size-0.1.2/Size/Size_Factory.php

Class Overview


An Output Driver is used to display information/text in a manner specific to that driver.


Author(s):

Version:

  • Release: 0.1.2

Copyright:

  • 2008 Ken Guest

Methods


Child classes:

PEAR_Size_Output_Text
Output info as pure text.
PEAR_Size_Output_Html
PEAR_Size_Output_html
PEAR_Size_Output_XML
Output info in XML format
PEAR_Size_Output_CSV
Output info in Comma Seperated Value style.

Inherited Variables

Inherited Methods


Class Details

[line 49]
An Output Driver is used to display information/text in a manner specific to that driver.


[ Top ]


Method Detail

display   [line 113]

void display( string $text)

display given text.
  • Access: public

Overridden in child classes as:

PEAR_Size_Output_Text::display()
display given text.
PEAR_Size_Output_Html::display()
display given text.

Parameters:

string   $text   —  text to be displayed

[ Top ]

generateReport   [line 128]

void generateReport( array $channel_stats, array $search_roles, array $grand_total, array $display_params)

generate the report
  • Access: public

Overridden in child classes as:

PEAR_Size_Output_Text::generateReport()
generate the report
PEAR_Size_Output_XML::generateReport()
generate the report
PEAR_Size_Output_CSV::generateReport()
generate the report

Parameters:

array   $channel_stats   —  contains statistics for each channel
array   $search_roles   —  roles searched for
array   $grand_total   —  entire total of disk space consumed by channel
array   $display_params   —  parameters relevant to display of report.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:19:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.