|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
gui
GUI class to help render the final HTML.
Based on switching between two different rendering modes (special / content).
Constructor Summary | |
gui(var $title,
var $img_dir,
var $cssfile,
var $content_desc,
var $tb)
|
Method Summary | |
unknown |
_content_end()
Finalize current content. |
unknown |
_content_start()
. |
unknown |
_document_end()
|
unknown |
_document_start()
|
unknown |
_open_head()
|
unknown |
_separator()
|
unknown |
_special_end()
|
unknown |
_special_start()
|
unknown |
content(var $tb)
Switch to 'content' section of a document. |
unknown |
end()
Finalize rendering of the document. |
unknown |
get_body_attr()
Return string with default body attributes. |
unknown |
get_image(var $name,
var $alt,
var $attr)
Return image anchor. |
unknown |
get_table_attr()
Return string with default table attributes. |
unknown |
glue(var $w,
var $h)
Insert invisible image of specified width/height. |
unknown |
heading(var $msg)
Create a heading from given string. |
unknown |
menu_begin(var $values,
var $class,
var $special,
var $sepclass)
Start menu rendering - creates first menu boxes from given values. |
unknown |
menu_end()
Finalize menu rendering. |
unknown |
menu_next(var $values)
Menu rendering function - creates another menu boxes from given values. |
unknown |
menu(var $values,
var $class,
var $special,
var $sepclass)
Menu rendering function. |
unknown |
separator()
Create a separator in currently active section (special/content) |
unknown |
special(var $tb)
Switch to 'special' section of a document. |
unknown |
start(var $tb)
Start rendering of a document. |
Constructor Detail |
public gui(var $title, var $img_dir, var $cssfile, var $content_desc, var $tb)
$cssfile
- Default Value: "style.css"$content_desc
- Default Value: ""$tb
- Default Value: "0"Method Detail |
public unknown _open_head()
public unknown _document_start()
public unknown _document_end()
public unknown _special_start()
public unknown _special_end()
public unknown _separator()
public unknown _content_start()
public unknown _content_end()
public unknown separator()
public unknown glue(var $w, var $h)
public unknown heading(var $msg)
public unknown menu(var $values, var $class, var $special, var $sepclass)
menu_begin
and menu_end
functions.$values
- The array of items for the menu table.$class
- Name of the css class to use with table items.$special
- Associative array of items with special meaning. The items from $values
which are as any key value in $special will be replaced with corresponding value from $special.$sepclass
- Name of the css class to use with table special items.$special
- Default Value: ""$sepclass
- Default Value: ""public unknown menu_next(var $values)
$values
- The array of items for the menu table.public unknown menu_begin(var $values, var $class, var $special, var $sepclass)
$values
- The array of items for the menu table.$special
- Default Value: ""$sepclass
- Default Value: ""public unknown menu_end()
public unknown start(var $tb)
public unknown special(var $tb)
$tb
- Default Value: ""public unknown content(var $tb)
$tb
- Default Value: ""public unknown end()
public unknown get_table_attr()
public unknown get_body_attr()
public unknown get_image(var $name, var $alt, var $attr)
$attr
- Default Value: ""
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |