Predefined page for use in frame 1
author | Timo A. Hummel |
---|
__toString() : string
inherited_from | \cHTML::__toString() |
---|---|
inherited_from | \cPage::__toString() |
string
Generated markup_setContent($content)
inherited_from | \cHTML::_setContent() |
---|---|
inherited_from | \cPage::_setContent() |
string/object String with the content or an object to render.
addRequiredScript($script)
inherited_from | \cHTML::addRequiredScript() |
---|---|
inherited_from | \cPage::addRequiredScript() |
addScript($name, $script)
inherited_from | \cPage::addScript() |
---|
string Script identifier
string Script code
advanceID()
This function is useful if you need to use HTML elements in a loop, but don't want to re-create new objects each time.
inherited_from | \cHTML::advanceID() |
---|---|
inherited_from | \cPage::advanceID() |
attachEventDefinition($sName, $sEvent, $sCode)
Example to attach an onClick handler: setEventDefinition("foo", "onClick", "alert('foo');");
inherited_from | \cHTML::attachEventDefinition() |
---|---|
inherited_from | \cPage::attachEventDefinition() |
string defines the name of the event
string defines the event (e.g. onClick)
string defines the code
attachStyleDefinition($sName, $sDefinition) : string
This function is not restricted to a single style, e.g. you can set multiple style definitions as-is to the handler.
$example->attachStyle("myIdentifier", "border: 1px solid black; white-space: nowrap"); $example->attachStyle("myIdentifier2", "padding: 0px");
Results in:
style="border: 1px solid black; white-space: nowrap; padding: 0px;"
inherited_from | \cHTML::attachStyleDefinition() |
---|---|
inherited_from | \cPage::attachStyleDefinition() |
string Name for a style definition
string Definition for the given entity
string
filled SGML closing skeletoncHTML()
inherited_from | \cHTML::cHTML() |
---|---|
inherited_from | \cPage::cHTML() |
cPage(\none $object)
inherited_from | \cPage::cPage() |
---|
\none
cPageLeftTop($showCloser)
boolean True if the closer should be shown (default)
fillCloseSkeleton() : string
inherited_from | \cHTML::fillCloseSkeleton() |
---|---|
inherited_from | \cPage::fillCloseSkeleton() |
string
filled SGML closer skeletonfillSkeleton($attributes) : string
fillSkeleton fills the SGML opener tag with the specified attributes. Attributes need to be passed in the stringyfied variant.
inherited_from | \cHTML::fillSkeleton() |
---|---|
inherited_from | \cPage::fillSkeleton() |
string Attributes to set
string
filled SGML opener skeletongetID() : string
inherited_from | \cHTML::getID() |
---|---|
inherited_from | \cPage::getID() |
string
current IDrender(\none $print) : string
\none
string
Rendered HTMLsetAlt($alt)
Sets the "alt" and "title" tags. Usually, "alt" is used for accessibility and "title" for mouse overs.
To set the text for all browsers for mouse over, set "alt" and "title". IE behaves incorrectly and shows "alt" on mouse over. Mozilla browsers only show "title" as mouse over.
inherited_from | \cHTML::setAlt() |
---|---|
inherited_from | \cPage::setAlt() |
string Text to set as the "alt" attribute
setAttribute($sAttributeName, $sValue)
inherited_from | \cHTML::setAttribute() |
---|---|
inherited_from | \cPage::setAttribute() |
string Name of the attribute
string Value of the attribute
setClass($class)
inherited_from | \cHTML::setClass() |
---|---|
inherited_from | \cPage::setClass() |
string Text to set as the "alt" attribute
setContent($content)
inherited_from | \cPage::setContent() |
---|
mixed Object with a render method or a string containing the content
setContentlessTag($contentlessTag)
inherited_from | \cHTML::setContentlessTag() |
---|---|
inherited_from | \cPage::setContentlessTag() |
setEncoding($encoding)
inherited_from | \cPage::setEncoding() |
---|
setEvent($event, $action)
example: $item->setEvent("change","document.forms[0].submit");
inherited_from | \cHTML::setEvent() |
---|---|
inherited_from | \cPage::setEvent() |
string Type of the event
string Function or action to call (JavaScript Code)
setExtra($extra)
inherited_from | \cPage::setExtra() |
---|
setGenerateXHTML(bool $value)
inherited_from | \cHTML::setGenerateXHTML() |
---|---|
inherited_from | \cPage::setGenerateXHTML() |
bool
setID($id)
inherited_from | \cHTML::setID() |
---|---|
inherited_from | \cPage::setID() |
setMargin($margin)
inherited_from | \cPage::setMargin() |
---|
int Margin width
setMarkScript($item)
inherited_from | \cPage::setMarkScript() |
---|
setMessageBox()
inherited_from | \cPage::setMessageBox() |
---|
setReload(\none $location)
inherited_from | \cPage::setReload() |
---|
\none
setStyle($style)
inherited_from | \cHTML::setStyle() |
---|---|
inherited_from | \cPage::setStyle() |
setStyleDefinition($entity, $definition) : string
inherited_from | \cHTML::setStyleDefinition() |
---|---|
inherited_from | \cPage::setStyleDefinition() |
string Entity to define
string Definition for the given entity
string
filled SGML closing skeletonsetSubnav($append, $marea)
Should be set on the first page only.
inherited_from | \cPage::setSubnav() |
---|
URL to append
showCloser($show)
boolean True if the closer should be shown (default)
toHTML()
inherited_from | \cHTML::toHTML() |
---|---|
inherited_from | \cPage::toHTML() |
unsetEvent($event)
example: $item->unsetEvent("change");
inherited_from | \cHTML::unsetEvent() |
---|---|
inherited_from | \cPage::unsetEvent() |
string Type of the event
$_aEventDefinitions
inherited_from | \cHTML::$$_aEventDefinitions |
---|---|
inherited_from | \cPage::$$_aEventDefinitions |
$_aStyleDefinitions
inherited_from | \cHTML::$$_aStyleDefinitions |
---|---|
inherited_from | \cPage::$$_aStyleDefinitions |
$_content : string
access | private |
---|---|
inherited_from | \cPage::$$_content |
$_contentlessTag : boolean
access | private |
---|---|
inherited_from | \cHTML::$$_contentlessTag |
inherited_from | \cPage::$$_contentlessTag |
$_encoding : string
access | private |
---|---|
inherited_from | \cPage::$$_encoding |
$_margin : int
access | private |
---|---|
inherited_from | \cPage::$$_margin |
$_requiredScripts : array
access | private |
---|---|
inherited_from | \cHTML::$$_requiredScripts |
inherited_from | \cPage::$$_requiredScripts |
$_scripts : array
access | private |
---|---|
inherited_from | \cPage::$$_scripts |
$_skeleton_close : string
access | private |
---|---|
inherited_from | \cHTML::$$_skeleton_close |
inherited_from | \cPage::$$_skeleton_close |
$_skeleton_open : string
access | private |
---|---|
inherited_from | \cHTML::$$_skeleton_open |
inherited_from | \cPage::$$_skeleton_open |
$_skeleton_single : string
access | private |
---|---|
inherited_from | \cHTML::$$_skeleton_single |
inherited_from | \cPage::$$_skeleton_single |
$_styledefs : string
access | private |
---|---|
inherited_from | \cHTML::$$_styledefs |
inherited_from | \cPage::$$_styledefs |
$_tag : string
access | private |
---|---|
inherited_from | \cHTML::$$_tag |
inherited_from | \cPage::$$_tag |
$extra : string
access | private |
---|---|
inherited_from | \cPage::$$extra |