This creates and manages an instance of the napdf class, and creates the PDF file.
More...
List of all members.
Detailed Description
This creates and manages an instance of the napdf class, and creates the PDF file.
Constructor & Destructor Documentation
| booklet_napdf::__construct |
( |
$ |
in_http_vars | ) |
|
< The width, in inches, of each page
< The height, in inches, of each page.
< The measurement units (inches)
< The font we'll use
< The font size we'll use
< The orientation (portrait)
These are the sort keys, for sorting the meetings before display
< First, weekday
< Finally, the time the meeting starts
< Our week starts on Sunday (1)
These are the parameters that we send over to the root server, in order to get our meetings.
< Do a search
- Parameters:
-
| in_http_vars | The HTTP parameters we'd like to send to the server. |
Member Function Documentation
| booklet_napdf::AssemblePDF |
( |
| ) |
|
| booklet_napdf::DrawFormatPage |
( |
| ) |
[private] |
| booklet_napdf::DrawListPage |
( |
$ |
in_left | ) |
[private] |
- Parameters:
-
| in_left | If this is true, it is the left side. If false, it is the right side column. |
Referenced by AssemblePDF().
| booklet_napdf::Get_Special_Format_Text |
( |
$ |
inFormats | ) |
[private] |
| booklet_napdf::OutputPDF |
( |
| ) |
|
| booklet_napdf::RearrangeFormats |
( |
$ |
inFormats | ) |
[private] |
| static booklet_napdf::sort_cmp |
( |
$ |
a, |
|
|
$ |
b |
|
) |
| [static, private] |
| static booklet_napdf::sort_cmp_formats |
( |
$ |
a, |
|
|
$ |
b |
|
) |
| [static, private] |
| static booklet_napdf::sort_formats |
( |
$ |
in_format_data | ) |
[static, private] |
- Parameters:
-
| in_format_data | An array of format information |
Referenced by DrawFormatPage().
| static booklet_napdf::sort_meeting_data_callback |
( |
&$ |
in_a, |
|
|
&$ |
in_b |
|
) |
| [static] |
This is a static callback function to be used for sorting the multi-dimensional meeting_data array. It uses the sort_order_keys array to determine the sort.
- Returns:
- an integer. -1 if a < b, 0 if a == b, or 1 if a > b.
- Parameters:
-
| in_a | The first meeting array to compare |
| in_b | The second meeting array to compare |
| static booklet_napdf::translate_duration |
( |
$ |
in_time_string | ) |
[static, private] |
| static booklet_napdf::translate_time |
( |
$ |
in_time_string | ) |
[static, private] |
Member Data Documentation
| booklet_napdf::$formats = 0 |
| booklet_napdf::$pos = array ( 'start' => 1, 'end' => '', 'count' => 0, 'y' => 0, 'weekday' => 1 ) |
| booklet_napdf::$right_offset = 0 |
| booklet_napdf::$server = null |
| booklet_napdf::$special_formats = '' |
| booklet_napdf::$weekday_names = null |
The documentation for this class was generated from the following file: