Data Fields | Protected Member Functions

printableList Class Reference

Inheritance diagram for printableList:
Inheritance graph
[legend]

Data Fields

 $page_x = 8.5
 The width, in inches, of each page.
 $page_y = 11
 The height, in inches, of each page.
 $units = 'in'
 The measurement units (inches).
 $orientation = 'P'
 $sort_keys = array ()
 These are the sort keys, for sorting the meetings before display.
 $out_http_vars = array ()
 These are the parameters that we send over to the root server, in order to get our meetings.
 $napdf_instance = null
 This contains the instance of napdf that we use to extract our data from the server, and to hold onto it.
 $font = 'Times'
 The font we'll use.
 $font_size = 9
 The font size we'll use.

Protected Member Functions

 __construct ($in_http_vars, $in_lang_search=null)
 The constructor for this class does a lot. It creates the instance of the napdf class, gets the data from the server, then sorts it. When the constructor is done, the data is ready to be assembled into a PDF.

Detailed Description

This is the base class for use by specialized printing classes.

Definition at line 20 of file printableList.class.php.


Constructor & Destructor Documentation

__construct ( in_http_vars,
in_lang_search = null 
) [protected]

The constructor for this class does a lot. It creates the instance of the napdf class, gets the data from the server, then sorts it. When the constructor is done, the data is ready to be assembled into a PDF.

If the napdf object does not successfully get data from the server, then it is set to null.

Parameters:
in_http_vars The HTTP parameters we'd like to send to the server.
in_lang_search An array of language enums, used to extract the correct format codes.

Definition at line 41 of file printableList.class.php.

References napdf::MakeNAPDF().

    {
        $this->napdf_instance =& napdf::MakeNAPDF ( $this->page_x, $this->page_y, $this->out_http_vars, $this->units, $this->orientation, $this->sort_keys, $in_lang_search );
        if ( !($this->napdf_instance instanceof napdf) )
            {
            $this->napdf_instance = null;
            }
    }


Field Documentation

$font = 'Times'

The font we'll use.

Definition at line 32 of file printableList.class.php.

$font_size = 9
$napdf_instance = null

This contains the instance of napdf that we use to extract our data from the server, and to hold onto it.

Definition at line 31 of file printableList.class.php.

$orientation = 'P'

The orientation (portrait)

Definition at line 25 of file printableList.class.php.

$out_http_vars = array ()

These are the parameters that we send over to the root server, in order to get our meetings.

Definition at line 29 of file printableList.class.php.

$page_x = 8.5

The width, in inches, of each page.

Definition at line 22 of file printableList.class.php.

$page_y = 11

The height, in inches, of each page.

Definition at line 23 of file printableList.class.php.

$sort_keys = array ()
$units = 'in'

The measurement units (inches).

Definition at line 24 of file printableList.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations