|
YAP
2.5
|
Public Member Functions | |
| CYap_TableView ($Lang) | |
| LoadFormats ($fmt) | |
| BeginTable () | |
| HeaderStart () | |
| HeaderCell ($Href, $Label, $offset=-1) | |
| HeaderClose () | |
| NewRow () | |
| Cell ($txt_in, $FieldName, $offset=-1, $fmt='NONE') | |
| SpecialCell ($link, $type, $offset=-1) | |
| AddRowCell ($link) | |
| EndTable () | |
| FlushCode () | |
| Out ($text) | |
Data Fields | |
| $CurrentCol | |
| $PendingRow | |
| $PendingHeader | |
| $EchoText | |
| $HtmlCode | |
| $Lang | |
| $colSpecial | |
| $formats | |
Definition at line 42 of file CYap_Table.php.
| AddRowCell | ( | $link | ) |
Add a new row that contains only one cell: the new row link
| string | $link | the link code to write into the cell public |
Definition at line 270 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 121 of file CYap_Table.php.
| Cell | ( | $txt_in, | |
| $FieldName, | |||
$offset = -1, |
|||
$fmt = 'NONE' |
|||
| ) |
Set the cell contents. First cell Fieldname: 'DETAIL', 'MODIFY' and 'DELETE' point the link to this functions
| string | $text | cell's text |
| string | $FieldName | Name of the field to be printed |
| integer | $offset | nth cell to set. default the next one. The first cell is 0 |
| 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 213 of file CYap_Table.php.
| CYap_TableView | ( | $Lang | ) |
Definition at line 90 of file CYap_Table.php.
| EndTable | ( | ) |
Definition at line 281 of file CYap_Table.php.
| FlushCode | ( | ) |
Definition at line 286 of file CYap_Table.php.
| HeaderCell | ( | $Href, | |
| $Label, | |||
$offset = -1 |
|||
| ) |
Set the header cell contents. First cell
| string | $Href | Page to call when the user click on the column's header |
| string | $Label | Column's label |
| integer | $offset | nth cell to set. default the next one. The first cell is 0 public |
Definition at line 152 of file CYap_Table.php.
| HeaderClose | ( | ) |
Close the table header (if any). After this function, the class may accept the table contents. public
Definition at line 172 of file CYap_Table.php.
| HeaderStart | ( | ) |
Start a new table header row if exists public
Definition at line 133 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 111 of file CYap_Table.php.
| NewRow | ( | ) |
Start a new table row and close the prevoius one if exists public
Definition at line 186 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 296 of file CYap_Table.php.
| SpecialCell | ( | $link, | |
| $type, | |||
$offset = -1 |
|||
| ) |
Definition at line 243 of file CYap_Table.php.
| $colSpecial |
Definition at line 81 of file CYap_Table.php.
| integer $CurrentCol |
| boolean $EchoText |
Should the class echoed the HTML code or cache it
Definition at line 66 of file CYap_Table.php.
| $formats |
Definition at line 88 of file CYap_Table.php.
| string $HtmlCode |
Text not echoed
Definition at line 71 of file CYap_Table.php.
| array $Lang |
Language text
Definition at line 76 of file CYap_Table.php.
| boolean $PendingHeader |
Do i have any pending table headr?
Definition at line 61 of file CYap_Table.php.
| boolean $PendingRow |
Do i have any pending row?
Definition at line 56 of file CYap_Table.php.