YAP
2.5
|
Public Member Functions | |
CYap_DetailView ($Lang) | |
LoadFormats ($fmt) | |
BeginTable () | |
HeaderStart () | |
Cell ($label='', $txt_in='', $FieldName, $fmt='NONE') | |
EndTable () | |
FlushCode () | |
Out ($text) | |
Data Fields | |
$CurrentCol | |
$PendingRow | |
$PendingHeader | |
$EchoText | |
$HtmlCode | |
$Lang | |
$formats | |
Definition at line 310 of file CYap_Table.php.
BeginTable | ( | ) |
Shows the open table tag, and initialise the module to print the the table contents public
Definition at line 383 of file CYap_Table.php.
Cell | ( | $label = '' , |
|
$txt_in = '' , |
|||
$FieldName, | |||
$fmt = 'NONE' |
|||
) |
Set the cell contents. First cell
string | $text | cell's text |
integer | $offset | nth cell to set. default the next one. The first cell is 0 |
string | $FieldName | Name of the field to be printed |
format | name. It is the index of $formats and it set the format to use to show the cell contents Cyap::_ManageFormats() build the array public |
Definition at line 420 of file CYap_Table.php.
CYap_DetailView | ( | $Lang | ) |
Class initializer
string | $lang | language selection |
Definition at line 356 of file CYap_Table.php.
EndTable | ( | ) |
Show out the html tags to close the table public
Definition at line 436 of file CYap_Table.php.
FlushCode | ( | ) |
Flush the code. If $this->EchoText is set to false, the class append the text to $this->HtmlCode. Call this function to show out $this->HtmlCode public
Definition at line 449 of file CYap_Table.php.
HeaderStart | ( | ) |
Start a new table header row if exists public
Definition at line 395 of file CYap_Table.php.
LoadFormats | ( | $fmt | ) |
Load the formats used to display the fields. The formats are loaded from yap's configuration file.
$fmt | array it contains the formats command. The array is build by CYap::_ManageFormats |
Definition at line 373 of file CYap_Table.php.
Out | ( | $text | ) |
Check according to the class set if echo the HTML code or not
string | $text | private |
Definition at line 459 of file CYap_Table.php.
integer $CurrentCol |
boolean $EchoText |
Should the class echoed the HTML code or cache it
Definition at line 334 of file CYap_Table.php.
$formats |
Definition at line 351 of file CYap_Table.php.
string $HtmlCode |
Text not echoed
Definition at line 339 of file CYap_Table.php.
array $Lang |
Language text
Definition at line 344 of file CYap_Table.php.
boolean $PendingHeader |
Do i have any pending table headr?
Definition at line 329 of file CYap_Table.php.
boolean $PendingRow |
Do i have any pending row?
Definition at line 324 of file CYap_Table.php.