CPageMgr CPageMgr(
object CDataStorage
&$DataMgr
)
|
|
Class constructor. It initalize all configuration varaibale
Parameters:
object CDataStorage |
&$DataMgr: |
Reference to the DataStorage istance |
API Tags:
void BeginReport(
string
$OutFile
)
|
|
Start to printout the report. OPen the output file, initialize some variable.
Parameters:
string |
$OutFile: |
output file name |
API Tags:
Redefined in descendants as:
Perform the requested job for ending the report.
Print the end report text, close the current page and the output file
API Tags:
Redefined in descendants as:
Function executed at the end of the xml parsing. I run the final configuration
checks and complete the configration data
API Tags:
Redefined in descendants as:
boolean MvAbsolutePos(
integer
$nRow
)
|
|
Move the currentline to nRow. It return TRUE on success,
FALSE otherwise
Parameters:
integer |
$nRow: |
New current line number |
API Tags:
Move to the last row before the bottom margin It return TRUE on success,
FALSE otherwise
API Tags:
boolean MvRelativePos(
integer
$nRow
)
|
|
Move the currentline up or down of nRow rows. It return TRUE on success,
FALSE otherwise
Parameters:
integer |
$nRow: |
Number of row to add (or subtract) from the current line |
API Tags:
Move to the first row after the top margin It return TRUE on success,
FALSE otherwise
API Tags:
void NewColumnSet(
string
$NewSet
)
|
|
Set new columnset. Each block may hve its own columnset. Before write the text, the
block passes its configuration. This configuration override the previous one, so I must write the previous text
Parameters:
string |
$NewSet: |
id of the new columnset to use |
API Tags:
Create an istance of the CFont class based on configuration file.
Parameters:
API Tags:
Redefined in descendants as:
void NewPage(
[mixed
$FromComposeRow = FALSE]
)
|
|
Begin a new page. Close the previous, if any, and printout the 'openpage' text if specified
API Tags:
Redefined in descendants as:
-
CPagePdf::NewPage()
: Begin a new page. Close the previous, if any, and printout the 'openpage' text if specified
-
CPagePrinter::NewPage()
: Begin a new page. Close the previous, if any, and printout the 'openpage' text if specified
-
CPagePs::NewPage()
: Begin a new page. Close the previous, if any, and printout the 'openpage' text if specified
Parse the configuration node for a new information about the layout
of the page
Parameters:
API Tags:
void PrintColumnsHeader(
)
|
|
loop over all columns inside the current columnset and print the column's header, if set
API Tags:
void WriteOut(
string
$txt, [string
$align = ''], [integer
$colPos = 0], [integer
$Column = 0], [string
$idfont = '']
)
|
|
Pass the text to the appropriate column. It returns a CUnit object containing
the text with format (alignment, font) according to the given parameters
Parameters:
string |
$txt: |
Text to write |
string |
$align: |
Text alignment, left, center, right |
integer |
$colPos: |
|
integer |
$Column: |
column where place the text |
string |
$idfont: |
Id of the selected font. If not set, the font defined for the column will be used |
API Tags:
void WriteOutFooterRow(
string
$txt, [string
$align = ''], [integer
$colPos = 0], [mixed
$idfont = '']
)
|
|
Print out the text row (used only for the closepage row)
Parameters:
string |
$txt: |
Text to write |
string |
$align: |
Text alignment, left, center, right |
integer |
$colPos: |
|
API Tags:
void WriteOutHeaderRow(
string
$txt, [string
$align = ''], [integer
$colPos = 0], [mixed
$idfont = '']
)
|
|
Print out the text row (used only for the closepage row)
Parameters:
string |
$txt: |
Text to write |
string |
$align: |
Text alignment, left, center, right |
integer |
$colPos: |
|
API Tags:
Print out the 'closereport' text
API Tags:
Print out the 'beginreport' text
API Tags:
Return True if the current PHP version is 5
False if is PHP4
API Tags: