CYap_DetailView CYap_DetailView(
mixed
$Lang, string
$lang
)
|
|
Class initializer
Parameters:
|
string |
$lang: |
language selection |
Shows the open table tag, and initialise the module to print the
the table contents
API Tags:
void Cell(
[mixed
$label = ''], [mixed
$txt_in = ''], string
$FieldName, [format
$fmt = 'NONE'], string
$text, integer
$offset
)
|
|
Set the cell contents. First cell
Parameters:
|
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 |
$fmt: |
name. It is the index of $formats and it set the format to use to show the cell contents |
API Tags:
| Access: | public |
| Uses: | Cyap::_ManageFormats() - build the array |
Show out the html tags to close the table
API Tags:
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
API Tags:
Start a new table header row
if exists
API Tags:
void LoadFormats(
$fmt
$fmt
)
|
|
Load the formats used to display the fields. The formats are loaded from yap's configuration file.
Parameters:
|
$fmt |
$fmt: |
array it contains the formats command. The array is build by CYap::_ManageFormats |
API Tags:
| Access: | public |
| See: | Cyap::_ManageFormats() |
Information Tags:
Check according to the class set if
echo the HTML code or not
Parameters:
API Tags: