This creates and manages an instance of the napdf class, and creates the PDF file. More...
Public Member Functions | |
| __construct ($in_http_vars) | |
| AssemblePDF () | |
| OutputPDF () | |
Static Public Member Functions | |
| static | sort_meeting_data_callback (&$in_a, &$in_b) |
| 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. | |
Public Attributes | |
| $weekday_names = null | |
| $pos = array ( 'start' => 1, 'end' => '', 'count' => 0, 'y' => 0, 'weekday' => 1 ) | |
| $right_offset = 0 | |
| $formats = 0 | |
| $special_formats = '' | |
| $server = null | |
Private Member Functions | |
| DrawFormatPage () | |
| DrawListPage () | |
| Get_Special_Format_Text ($inFormats) | |
| RearrangeFormats ($inFormats) | |
Static Private Member Functions | |
| static | sort_cmp_formats ($a, $b) |
| static | sort_formats ($in_format_data) |
| static | sort_cmp ($a, $b) |
| static | translate_time ($in_time_string) |
| static | translate_duration ($in_time_string) |
This creates and manages an instance of the napdf class, and creates the PDF file.
| listprint_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
| in_http_vars | The HTTP parameters we'd like to send to the server. |
| listprint_napdf::AssemblePDF | ( | ) |
Implements IPrintableList.
| listprint_napdf::DrawFormatPage | ( | ) | [private] |
Referenced by AssemblePDF().
| listprint_napdf::DrawListPage | ( | ) | [private] |
Referenced by AssemblePDF().
| listprint_napdf::Get_Special_Format_Text | ( | $ | inFormats | ) | [private] |
Referenced by DrawListPage().
| listprint_napdf::OutputPDF | ( | ) |
Implements IPrintableList.
| listprint_napdf::RearrangeFormats | ( | $ | inFormats | ) | [private] |
| static listprint_napdf::sort_cmp | ( | $ | a, |
| $ | b | ||
| ) | [static, private] |
| static listprint_napdf::sort_cmp_formats | ( | $ | a, |
| $ | b | ||
| ) | [static, private] |
| static listprint_napdf::sort_formats | ( | $ | in_format_data | ) | [static, private] |
| in_format_data | An array of format information |
Referenced by DrawFormatPage().
| static listprint_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.
| in_a | The first meeting array to compare |
| in_b | The second meeting array to compare |
| static listprint_napdf::translate_duration | ( | $ | in_time_string | ) | [static, private] |
| static listprint_napdf::translate_time | ( | $ | in_time_string | ) | [static, private] |
Referenced by DrawListPage().
| listprint_napdf::$formats = 0 |
Referenced by DrawFormatPage().
| listprint_napdf::$pos = array ( 'start' => 1, 'end' => '', 'count' => 0, 'y' => 0, 'weekday' => 1 ) |
| listprint_napdf::$right_offset = 0 |
| listprint_napdf::$server = null |
| listprint_napdf::$special_formats = '' |
| listprint_napdf::$weekday_names = null |
1.7.4